![]() |
The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
|
#include <AboutGLDisplay.h>
Classes | |
| struct | GLOptions |
Public Member Functions | |
| GLOptions & | gloptions () |
| void | setProjection () const |
| void | setClientArea (int clientWidth_, int clientHeight_) |
| void | redraw () const |
| void | startMotion (DWORD time, int button, int x, int y) |
| void | stopMotion (DWORD time, int button, int x, int y) |
| void | trackMotion (DWORD time, int x, int y) |
| AboutGLDisplay (HDC hDC_, int clientWidth_, int clientHeight_) | |
| virtual | ~AboutGLDisplay () |
Public Attributes | |
| GLfloat | xOffset |
| GLfloat | yOffset |
Static Public Attributes | |
| static const GLfloat | X_OFFSET_STEP = 5 |
| static const GLfloat | Y_OFFSET_STEP = 5 |
Definition at line 17 of file AboutGLDisplay.h.
| AboutGLDisplay::AboutGLDisplay | ( | HDC | hDC_, |
| int | clientWidth_, | ||
| int | clientHeight_ | ||
| ) |
constructs the About GL display class on a given DC, with client area
| hDC_ | |
| clientWidth_ | |
| clientHeight_ |
Definition at line 45 of file AboutGLDisplay.cpp.
|
virtual |
Definition at line 67 of file AboutGLDisplay.cpp.
| AboutGLDisplay::GLOptions & AboutGLDisplay::gloptions | ( | ) |
returns the GL options in force for the next repaint
Definition at line 76 of file AboutGLDisplay.cpp.
Referenced by TfrmAbout::FormKeyPress().
| void AboutGLDisplay::redraw | ( | void | ) | const |
draws the current scene
Definition at line 652 of file AboutGLDisplay.cpp.
| void AboutGLDisplay::setClientArea | ( | int | clientWidth_, |
| int | clientHeight_ | ||
| ) |
sets the client area - clients use when this has changed
| clientWidth_ | |
| clientHeight_ |
Definition at line 81 of file AboutGLDisplay.cpp.
| void AboutGLDisplay::setProjection | ( | void | ) | const |
re-asserts the projection - use when the size or projection desired is updated
Definition at line 566 of file AboutGLDisplay.cpp.
| void AboutGLDisplay::startMotion | ( | DWORD | time, |
| int | button, | ||
| int | x, | ||
| int | y | ||
| ) |
starts a mouse move
| time | |
| button | |
| x | |
| y |
Definition at line 791 of file AboutGLDisplay.cpp.
Referenced by TfrmAbout::FormMouseDown().
| void AboutGLDisplay::stopMotion | ( | DWORD | time, |
| int | button, | ||
| int | x, | ||
| int | y | ||
| ) |
ends a mouse move
| time | |
| button | |
| x | |
| y |
Definition at line 808 of file AboutGLDisplay.cpp.
Referenced by TfrmAbout::FormMouseUp().
| void AboutGLDisplay::trackMotion | ( | DWORD | time, |
| int | x, | ||
| int | y | ||
| ) |
invoke for mouse tracking
| time | |
| x | |
| y |
Definition at line 828 of file AboutGLDisplay.cpp.
Referenced by TfrmAbout::FormMouseMove().
|
static |
X offset step for adjustment
Definition at line 229 of file AboutGLDisplay.h.
Referenced by TfrmAbout::FormKeyPress().
| GLfloat AboutGLDisplay::xOffset |
X offset for the viewport
Definition at line 221 of file AboutGLDisplay.h.
Referenced by TfrmAbout::FormKeyPress(), and redraw().
|
static |
Y offset step for adjustment
Definition at line 233 of file AboutGLDisplay.h.
Referenced by TfrmAbout::FormKeyPress().
| GLfloat AboutGLDisplay::yOffset |
Y offset for the viewport
Definition at line 225 of file AboutGLDisplay.h.
Referenced by TfrmAbout::FormKeyPress(), and redraw().