This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
#include <ofBaseApp.h>

Public Member Functions | |
ofBaseApp () | |
virtual | ~ofBaseApp () |
virtual void | setup () |
virtual void | update () |
virtual void | draw () |
virtual void | exit () |
virtual void | windowResized (int w, int h) |
virtual void | keyPressed (int key) |
virtual void | keyReleased (int key) |
virtual void | mouseMoved (int x, int y) |
Called on the active window when the mouse is moved. | |
virtual void | mouseDragged (int x, int y, int button) |
Called on the active window when the mouse is dragged, i.e. moved with a button pressed. | |
virtual void | mousePressed (int x, int y, int button) |
Called on the active window when a mouse button is pressed. | |
virtual void | mouseReleased (int x, int y, int button) |
Called on the active window when a mouse button is released. | |
virtual void | mouseScrolled (int x, int y, float scrollX, float scrollY) |
Called on the active window when the mouse wheel is scrolled. | |
virtual void | mouseEntered (int x, int y) |
Called on the active window when the mouse cursor enters the window area. | |
virtual void | mouseExited (int x, int y) |
Called on the active window when the mouse cursor leaves the window area. | |
virtual void | dragEvent (ofDragInfo dragInfo) |
virtual void | gotMessage (ofMessage msg) |
virtual void | setup (ofEventArgs &args) |
virtual void | update (ofEventArgs &args) |
virtual void | draw (ofEventArgs &args) |
virtual void | exit (ofEventArgs &args) |
virtual void | windowResized (ofResizeEventArgs &resize) |
virtual void | keyPressed (ofKeyEventArgs &key) |
virtual void | keyReleased (ofKeyEventArgs &key) |
virtual void | mouseMoved (ofMouseEventArgs &mouse) |
virtual void | mouseDragged (ofMouseEventArgs &mouse) |
virtual void | mousePressed (ofMouseEventArgs &mouse) |
virtual void | mouseReleased (ofMouseEventArgs &mouse) |
virtual void | mouseScrolled (ofMouseEventArgs &mouse) |
virtual void | mouseEntered (ofMouseEventArgs &mouse) |
virtual void | mouseExited (ofMouseEventArgs &mouse) |
virtual void | dragged (ofDragInfo &drag) |
virtual void | messageReceived (ofMessage &message) |
virtual void | touchDown (int x, int y, int id) |
virtual void | touchMoved (int x, int y, int id) |
virtual void | touchUp (int x, int y, int id) |
virtual void | touchDoubleTap (int x, int y, int id) |
virtual void | touchCancelled (int x, int y, int id) |
virtual void | touchDown (ofTouchEventArgs &touch) |
virtual void | touchMoved (ofTouchEventArgs &touch) |
virtual void | touchUp (ofTouchEventArgs &touch) |
virtual void | touchDoubleTap (ofTouchEventArgs &touch) |
virtual void | touchCancelled (ofTouchEventArgs &touch) |
![]() | |
virtual | ~ofBaseSoundInput () |
Destroy the ofBaseSoundInput. | |
virtual void | audioIn (ofSoundBuffer &buffer) |
Receive an audio buffer. | |
virtual void | audioIn (float *input, int bufferSize, int nChannels, int deviceID, long unsigned long tickCount) |
virtual void | audioIn (float *input, int bufferSize, int nChannels) |
virtual void | audioReceived (float *input, int bufferSize, int nChannels) |
![]() | |
virtual | ~ofBaseSoundOutput () |
Destroy the ofBaseSoundOutput. | |
virtual void | audioOut (ofSoundBuffer &buffer) |
Output an audio buffer. | |
virtual void | audioOut (float *output, int bufferSize, int nChannels, int deviceID, long unsigned long tickCount) |
virtual void | audioOut (float *output, int bufferSize, int nChannels) |
virtual void | audioRequested (float *output, int bufferSize, int nChannels) |
Public Attributes | |
int | mouseX |
int | mouseY |
Constructor & Destructor Documentation
◆ ofBaseApp()
ofBaseApp::ofBaseApp | ( | ) |
◆ ~ofBaseApp()
|
virtual |
Member Function Documentation
◆ dragEvent()
|
virtual |
◆ dragged()
|
virtual |
◆ draw() [1/2]
|
virtual |
◆ draw() [2/2]
|
virtual |
◆ exit() [1/2]
|
virtual |
◆ exit() [2/2]
|
virtual |
◆ gotMessage()
|
virtual |
◆ keyPressed() [1/2]
|
virtual |
◆ keyPressed() [2/2]
|
virtual |
◆ keyReleased() [1/2]
|
virtual |
◆ keyReleased() [2/2]
|
virtual |
◆ messageReceived()
|
virtual |
◆ mouseDragged() [1/2]
|
virtual |
Called on the active window when the mouse is dragged, i.e. moved with a button pressed.
◆ mouseDragged() [2/2]
|
virtual |
◆ mouseEntered() [1/2]
|
virtual |
Called on the active window when the mouse cursor enters the window area.
Note that the mouse coordinates are the last known x/y before the event occurred, i.e. from the previous frame
◆ mouseEntered() [2/2]
|
virtual |
◆ mouseExited() [1/2]
|
virtual |
Called on the active window when the mouse cursor leaves the window area.
Note that the mouse coordinates are the last known x/y before the event occurred, i.e. from the previous frame
◆ mouseExited() [2/2]
|
virtual |
◆ mouseMoved() [1/2]
|
virtual |
Called on the active window when the mouse is moved.
◆ mouseMoved() [2/2]
|
virtual |
◆ mousePressed() [1/2]
|
virtual |
Called on the active window when a mouse button is pressed.
◆ mousePressed() [2/2]
|
virtual |
◆ mouseReleased() [1/2]
|
virtual |
Called on the active window when a mouse button is released.
◆ mouseReleased() [2/2]
|
virtual |
◆ mouseScrolled() [1/2]
|
virtual |
Called on the active window when the mouse wheel is scrolled.
◆ mouseScrolled() [2/2]
|
virtual |
◆ setup() [1/2]
|
virtual |
◆ setup() [2/2]
|
virtual |
◆ touchCancelled() [1/2]
|
virtual |
◆ touchCancelled() [2/2]
|
virtual |
◆ touchDoubleTap() [1/2]
|
virtual |
◆ touchDoubleTap() [2/2]
|
virtual |
◆ touchDown() [1/2]
|
virtual |
◆ touchDown() [2/2]
|
virtual |
◆ touchMoved() [1/2]
|
virtual |
◆ touchMoved() [2/2]
|
virtual |
◆ touchUp() [1/2]
|
virtual |
◆ touchUp() [2/2]
|
virtual |
◆ update() [1/2]
|
virtual |
◆ update() [2/2]
|
virtual |
◆ windowResized() [1/2]
|
virtual |
◆ windowResized() [2/2]
|
virtual |
Member Data Documentation
◆ mouseX
int ofBaseApp::mouseX |
◆ mouseY
int ofBaseApp::mouseY |
The documentation for this class was generated from the following files:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/app/ofBaseApp.h
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/app/ofBaseApp.cpp