15 upButton(guiSystem->addButton(0, h-15, w, 15,
"")),
16 downButton(guiSystem->addButton(0, 0, w, 15,
"")),
17 slideButton(guiSystem->addButton(0, 20, w, 20,
"")),
18 mouseMoveListenerId(0),
75 static_cast<EventListener::Function>(listenerFunction));
100 float posChange = y /
h;
107 sliderPosition = (position > 1) ? 1 : ((position < 0) ? 0 : position);
116 sliderLength = (length > 1) ? 1 : ((length < 0) ? 0 : length);