#include <ColorPickerWindow.hpp>
List of all members.
Static Public Member Functions |
static void | glutDisplay (void) |
| Displays color picker window.
|
static void | glutIdle (void) |
| Updates the logical components of the color picker (setting the current color for transfer function)
|
static void | glutInit (int parent_id) |
| Initializes color picker.
|
static void | glutKeyboard (unsigned char key, int x, int y) |
| Processes keyboard input for color picker window.
|
static void | glutMotion (int x, int y) |
| Processes movement of mouse.
|
static void | glutMouse (int button, int state, int x, int y) |
| Processes clicks with the mouse.
|
static void | glutReshape (int w, int h) |
| Processes resizing for the color picker window.
|
Static Protected Attributes |
static int | window_id = 0 |
Member Function Documentation
void ColorPickerWindow::glutDisplay |
( |
void |
) |
[static] |
Displays color picker window.
void ColorPickerWindow::glutIdle |
( |
void |
) |
[static] |
Updates the logical components of the color picker (setting the current color for transfer function)
void ColorPickerWindow::glutInit |
( |
int |
parent_id ) |
[static] |
Initializes color picker.
- Parameters:
-
parent_id | Window ID of parent window. |
void ColorPickerWindow::glutKeyboard |
( |
unsigned char |
key, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| [static] |
Processes keyboard input for color picker window.
- Parameters:
-
key | The key. |
x | The x coordinate. |
y | The y coordinate. |
void ColorPickerWindow::glutMotion |
( |
int |
x, |
|
|
int |
y |
|
) |
| [static] |
Processes movement of mouse.
- Parameters:
-
x | The x coordinate. |
y | The y coordinate. |
void ColorPickerWindow::glutMouse |
( |
int |
button, |
|
|
int |
state, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| [static] |
Processes clicks with the mouse.
- Parameters:
-
button | The pressed button. |
state | The state of the button (GLUT_DOWN, GLUT_UP). |
x | The x coordinate. |
y | The y coordinate. |
void ColorPickerWindow::glutReshape |
( |
int |
w, |
|
|
int |
h |
|
) |
| [static] |
Processes resizing for the color picker window.
- Parameters:
-
Member Data Documentation
The documentation for this class was generated from the following files: