#include <VSlider.h>
Public Member Functions | |
VSlider (float, int, int, int, int, float *) | |
~VSlider (void) | |
void | render () |
bool | isInside (int, int) |
void | pressed (int, int) |
void | drag (int, int) |
void | released (int, int) |
float * | getValue () |
void | setValue (float) |
Private Attributes | |
float | value |
Vector2< float > | begin |
Vector2< float > | end |
int | offset |
float * | alpha |
Vector3< float > | color |
Vector2< float > | fromPoint |
Definition at line 7 of file VSlider.h.
VSlider::VSlider | ( | float | , | |
int | , | |||
int | , | |||
int | , | |||
int | , | |||
float * | ||||
) |
VSlider::~VSlider | ( | void | ) |
Definition at line 20 of file VSlider.cpp.
void VSlider::render | ( | ) |
bool VSlider::isInside | ( | int | , | |
int | ||||
) |
void VSlider::pressed | ( | int | , | |
int | ||||
) |
Definition at line 63 of file VSlider.cpp.
References fromPoint.
Referenced by VSliceElement::pressed().
void VSlider::drag | ( | int | , | |
int | ||||
) |
void VSlider::released | ( | int | , | |
int | ||||
) |
Definition at line 92 of file VSlider.cpp.
References fromPoint.
Referenced by VSliceElement::released().
float * VSlider::getValue | ( | ) |
Liefert den Pointer auf den Slidervalue zurück
Definition at line 59 of file VSlider.cpp.
References value.
Referenced by VSliceElement::getSliderValue(), and VSliceElement::released().
void VSlider::setValue | ( | float | ) |
Setzt einen neuen Slidervalue
Definition at line 87 of file VSlider.cpp.
References value.
Referenced by VSliceElement::released().
float VSlider::value [private] |
aktuelle Position des Sliders ([0,1])
Definition at line 10 of file VSlider.h.
Referenced by drag(), getValue(), setValue(), and VSlider().
Vector2<float> VSlider::begin [private] |
Vector2<float> VSlider::end [private] |
int VSlider::offset [private] |
Länge des Bedienelements
Definition at line 16 of file VSlider.h.
Referenced by isInside(), and VSlider().
float* VSlider::alpha [private] |
Vector3<float> VSlider::color [private] |
Vector2<float> VSlider::fromPoint [private] |
Anfangspunkt des Draggings
Definition at line 20 of file VSlider.h.
Referenced by drag(), pressed(), and released().