class methods
- ofAppGLFWWindow()
- ~ofAppGLFWWindow()
- allowsMultiWindow()
- close()
- disableSetupScreen()
- doesLoop()
- draw()
- enableSetupScreen()
- events()
- finishRender()
- getClipboardString()
- getGLFWWindow()
- getGLXContext()
- getHeight()
- getOrientation()
- getPixelScreenCoordScale()
- getScreenSize()
- getSettings()
- getWidth()
- getWindowContext()
- getWindowMode()
- getWindowPosition()
- getWindowShouldClose()
- getWindowSize()
- getX11Display()
- getX11Window()
- getX11XIC()
- hideCursor()
- iconify()
- isWindowActive()
- isWindowIconified()
- isWindowResizeable()
- listMonitors()
- listVideoModes()
- loop()
- makeCurrent()
- needsPolling()
- operator=()
- pollEvents()
- renderer()
- setClipboardString()
- setFullscreen()
- setOrientation()
- setVerticalSync()
- setWindowPosition()
- setWindowShape()
- setWindowShouldClose()
- setWindowTitle()
- setup()
- showCursor()
- startRender()
- swapBuffers()
- toggleFullscreen()
- update()
Extends
This class extends others, you can call their methods on an instance of ofAppGLFWWindow too:
This is the base class for the GLFW renderer that you can optionally use with openFrameworks. We've moved away from GLUT and towards GLFW for our windowing system. You probably won't deal with this a great deal (hopefully).
getHeight()
int ofAppGLFWWindow::getHeight()
Gets the height of the current window and is mirrored in the ofGetScreenHeight() method.
getScreenSize()
glm::vec2 ofAppGLFWWindow::getScreenSize()
Gets the height of the current window and is mirrored in the ofGetWindowSize() method.
getWidth()
int ofAppGLFWWindow::getWidth()
Gets the height of the current window and is mirrored in the ofGetScreenWidth() method.
getWindowMode()
ofWindowMode ofAppGLFWWindow::getWindowMode()
Returns one of the following: OF_FULLSCREEN or OF_WINDOW.
getWindowPosition()
glm::vec2 ofAppGLFWWindow::getWindowPosition()
This returns the location of the window relative to the deivce that it's being displayed on.
Last updated 토요일, 17 8월 2024 20:46:58 UTC - 99bfb4fd7929e233b87b05758efc36f91505592e
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue