#include <VExitBox.h>
Public Member Functions | |
VExitBox (int, int, int, float *, float *, float *) | |
void | draw () |
void | inside (int, int) |
bool | isInside (int, int) |
~VExitBox (void) | |
Private Attributes | |
float * | color1 |
float * | color2 |
int | x |
int | y |
int | width |
bool | ins |
float * | alpha |
Definition at line 7 of file VExitBox.h.
VExitBox::VExitBox | ( | int | , | |
int | , | |||
int | , | |||
float * | , | |||
float * | , | |||
float * | ||||
) |
Konstruktor
x | x Position der Exitbox | |
y | y Position der Exitbox | |
width | Breite der Exitbox | |
color1 | normale Farbe | |
color2 | highlight Farbe (für Mouseover) | |
alpha | aktueller alpha Wert (für Blending) |
Definition at line 6 of file VExitBox.cpp.
References ins.
VExitBox::~VExitBox | ( | void | ) |
Definition at line 38 of file VExitBox.cpp.
void VExitBox::draw | ( | ) |
Definition at line 17 of file VExitBox.cpp.
References V2Ddraw::drawRect(), ins, width, x, and y.
Referenced by VTransferFunctionElement::draw(), and VSliceElement::draw().
void VExitBox::inside | ( | int | , | |
int | ||||
) |
Definition at line 30 of file VExitBox.cpp.
References ins, width, x, and y.
Referenced by VTransferFunctionElement::motion(), and VSliceElement::motion().
bool VExitBox::isInside | ( | int | , | |
int | ||||
) |
float* VExitBox::color1 [private] |
normale Farbe
Definition at line 10 of file VExitBox.h.
float* VExitBox::color2 [private] |
highlight Farbe
Definition at line 12 of file VExitBox.h.
int VExitBox::x [private] |
int VExitBox::y [private] |
int VExitBox::width [private] |
bool VExitBox::ins [private] |
float* VExitBox::alpha [private] |
Definition at line 17 of file VExitBox.h.