shawnlawson/ofxCocoaWindowNibless
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
ofxCocoaWindowNibless DESCRIPTION ----------- Inspired from Memo's original ofxCocoaWindow. I didn't want to use Nib files, wanted to be as close to using the GLUT windowing as possible, and needed something that was compatible with OF 007 and GLEW. ADDING TO A PROJECT ------------------ 1 Add ofxCocoaWindowNibless to addons folder 2 Add CoreVideo.framework 3 Rename any file with Objective-C headers or code will need to be renamed to be Objective-C++ compatible. .cpp to .mm 4 Window handle must be passed to testApp if we want to unlink update rate from draw frame rate ofRunApp( new testApp(&cocoaWindow) ); FUTURE ------ Multi-window with shared GL Context resources. Scrollwheel. Handle OF_FULLSCREEN on launch. Better handling of window titles. Drag and Drop. KNOWN PROBLEMS -------------- ofSetWindowPosition() when called from setup() seems to have no effect. Possibly other window related things in setup() will not work.
About
Nibless cocoa windows for openframeworks
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published