Skip to content

Native windows/mac functions for openFrameworks

License

Notifications You must be signed in to change notification settings

TetsuakiBaba/ofxNative

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

ofxNative

Native functions for openFrameworks

Overview

✓  = Implemented
✓? = Implemented, could/should work, but untested
✗  = Missing (implemented, but does nothing... calling it won't hurt)
Method Description Windows OSX
showFile(string path) Reveals a file in explorer/finder
openFile(string path) Opens a file with the default application
setMinimumWindowSize(GLFWWindow & window, int w, int h) Sets the minimum size of a window
setWindowAlwaysOnTop(GLFWWindow & window, bool onTop) Toggles "float on top" for a window
maximizeWindow(GLFWWindow & window) Maximizes the window
setThreadName(const string & name) Sets the name of the current thread. Note:Renaming other threads would be possible in Windows, but not in OSX
canShowConsole() Checks if there is a attached system console that can be shown/hidden
getConsoleVisible() Returns true if the console is visible
setConsoleVisible(bool show) Shows/Hides the windows system console. This requires the linker flag subsystem:console
getSystemDataFolder() Returns a location in a global folder (Application-Support on OSX, %APPDATA% on windows)

Contributing

When adding methods/implementations make sure to update this documentation as well.

License

MIT License

About

Native windows/mac functions for openFrameworks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 69.4%
  • Objective-C++ 30.6%