#include <VSliceElement.h>
Inheritance diagram for VSliceElement:

Public Member Functions | |
| VSliceElement (int *, int *, unsigned int *, int *) | |
| ~VSliceElement (void) | |
| void | motion (int, int) |
| void | released (int, int) |
| void | pressed (int, int) |
| void | drag (int, int) |
| void | render (void) |
| void | draw (void) |
| bool | isInside (int, int) |
| float * | getSliderValue () |
Private Attributes | |
| VExitBox * | exit |
| VSlider * | slider |
| float * | bg |
| VTexture * | tex |
| int * | sliceNo |
| int | count |
| int | slice |
| bool | dragging |
Definition at line 14 of file VSliceElement.h.
| VSliceElement::VSliceElement | ( | int * | , | |
| int * | , | |||
| unsigned int * | , | |||
| int * | ||||
| ) |
Konstruktor
| width | Breite des Fensters | |
| height | Höhe des Fensters | |
| fps | Pointer auf fps Wert |
Definition at line 10 of file VSliceElement.cpp.
References bg, count, dragging, exit, slice, sliceNo, slider, tex, GUIelement::x, and GUIelement::y.
| VSliceElement::~VSliceElement | ( | void | ) |
| void VSliceElement::motion | ( | int | , | |
| int | ||||
| ) | [virtual] |
Maus Schnittstelle. Passive Bewegung.
| x | x Koordinate der Maus | |
| y | y Koordinate der Maus |
Reimplemented from GUIelement.
Definition at line 45 of file VSliceElement.cpp.
References exit, and VExitBox::inside().
| void VSliceElement::released | ( | int | , | |
| int | ||||
| ) | [virtual] |
Maus Schnittstelle. Auslassen der linken Taste.
| x | x Koordinate der Maus | |
| y | y Koordinate der Maus |
Reimplemented from GUIelement.
Definition at line 98 of file VSliceElement.cpp.
References dragging, exit, f, VSlider::getValue(), VExitBox::isInside(), VSlider::released(), VSlider::setValue(), slice, and slider.
| void VSliceElement::pressed | ( | int | , | |
| int | ||||
| ) | [virtual] |
Maus Schnittstelle. Drücken der linken Taste.
| x | x Koordinate der Maus | |
| y | y Koordinate der Maus |
Reimplemented from GUIelement.
Definition at line 121 of file VSliceElement.cpp.
References count, VSlider::pressed(), slice, sliceNo, and slider.
| void VSliceElement::drag | ( | int | , | |
| int | ||||
| ) | [virtual] |
Maus Schnittstelle. Aktive Bewegung (mit gedrückter Maustaste).
| x | x Koordinate der Maus | |
| y | y Koordinate der Maus |
Reimplemented from GUIelement.
Definition at line 128 of file VSliceElement.cpp.
References dragging.
| void VSliceElement::render | ( | void | ) | [virtual] |
Zeichnet das GUI Element.
Reimplemented from GUIelement.
Definition at line 49 of file VSliceElement.cpp.
References GUIelement::alpha, bg, draw(), and GUIelement::setActive().
| void VSliceElement::draw | ( | void | ) |
Definition at line 76 of file VSliceElement.cpp.
References bg, VTexture::bind(), count, VExitBox::draw(), V2Ddraw::drawBox(), exit, VSlider::render(), sliceNo, slider, and tex.
Referenced by render().
| bool VSliceElement::isInside | ( | int | , | |
| int | ||||
| ) | [virtual] |
Testet ob Punkt innerhalb des GUI Elements ist.
| x | x Koordinate | |
| y | y Koordinate |
Reimplemented from GUIelement.
Definition at line 134 of file VSliceElement.cpp.
References GUIelement::width, GUIelement::x, and GUIelement::y.
| float * VSliceElement::getSliderValue | ( | ) |
Liefert den Pointer auf den Slidervalue ([0,1]) zurück.
Definition at line 138 of file VSliceElement.cpp.
References VSlider::getValue(), and slider.
VExitBox* VSliceElement::exit [private] |
Definition at line 17 of file VSliceElement.h.
Referenced by draw(), motion(), released(), VSliceElement(), and ~VSliceElement().
VSlider* VSliceElement::slider [private] |
Definition at line 18 of file VSliceElement.h.
Referenced by draw(), getSliderValue(), pressed(), released(), VSliceElement(), and ~VSliceElement().
float* VSliceElement::bg [private] |
Definition at line 19 of file VSliceElement.h.
Referenced by draw(), render(), VSliceElement(), and ~VSliceElement().
VTexture* VSliceElement::tex [private] |
Textur für die Pfeile
Definition at line 21 of file VSliceElement.h.
Referenced by draw(), and VSliceElement().
int* VSliceElement::sliceNo [private] |
Definition at line 22 of file VSliceElement.h.
Referenced by draw(), pressed(), VSliceElement(), and ~VSliceElement().
int VSliceElement::count [private] |
Definition at line 23 of file VSliceElement.h.
Referenced by draw(), pressed(), and VSliceElement().
int VSliceElement::slice [private] |
Definition at line 24 of file VSliceElement.h.
Referenced by pressed(), released(), and VSliceElement().
bool VSliceElement::dragging [private] |
Definition at line 25 of file VSliceElement.h.
Referenced by drag(), released(), and VSliceElement().
1.5.1-p1