22 #ifndef NANCY_UI_SCROLLBAR_H 23 #define NANCY_UI_SCROLLBAR_H 25 #include "engines/nancy/renderobject.h" 35 int wheelScrollPixels(
int visibleHeight);
39 float wheelScrollStep(
int visibleHeight,
int contentHeight);
43 bool scrollWithMouseWheel(NancyInput &input,
const Common::Rect &hotspot,
float &scrollPos,
float step);
56 float getPos()
const {
return _currentPosition; }
62 void setPosition(
float pos);
63 void calculatePosition();
69 float _currentPosition;
77 #endif // NANCY_UI_SCROLLBAR_H Definition: managed_surface.h:51
Definition: soundequalizerpuzzle.h:27
Definition: renderobject.h:36
Definition: actionmanager.h:32