ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <scrollbar.h>

Inheritance diagram for GUI::ScrollBarWidget:
Collaboration diagram for GUI::ScrollBarWidget:

List of all members.

Public Member Functions

 ScrollBarWidget (GuiObject *boss, int x, int y, int w, int h)
void handleMouseDown (int x, int y, int button, int clickCount)
void handleMouseUp (int x, int y, int button, int clickCount)
void handleMouseWheel (int x, int y, int direction)
void handleMouseMoved (int x, int y, int button)
void handleMouseEntered (int button)
void handleMouseLeft (int button)
void handleTickle ()
bool wantsFocus ()
void recalc ()
void checkBounds (int old_pos)

Public Attributes

int _numEntries
int _entriesPerPage
int _currentPos
int _singleStep

Protected Types

enum  Part {
  kNoPart, kUpArrowPart, kDownArrowPart, kSliderPart,
  kPageUpPart, kPageDownPart
}
enum  { kRepeatInitialDelay = 500, kRepeatDelay = 100 }

Protected Member Functions

void drawWidget ()

Protected Attributes

Part _part
int _sliderHeight
int _sliderPos
Part _draggingPart
int _sliderDeltaMouseDownPos
uint32 _repeatTimer

Detailed Description

Definition at line 35 of file scrollbar.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
kRepeatInitialDelay 
kRepeatDelay 

Definition at line 53 of file scrollbar.h.

enum GUI::ScrollBarWidget::Part [protected]
Enumerator:
kNoPart 
kUpArrowPart 
kDownArrowPart 
kSliderPart 
kPageUpPart 
kPageDownPart 

Definition at line 37 of file scrollbar.h.


Constructor & Destructor Documentation

GUI::ScrollBarWidget::ScrollBarWidget ( GuiObject boss,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 35 of file scrollbar.cpp.


Member Function Documentation

void GUI::ScrollBarWidget::checkBounds ( int  old_pos  ) 

Definition at line 161 of file scrollbar.cpp.

void GUI::ScrollBarWidget::drawWidget (  )  [protected]

Definition at line 192 of file scrollbar.cpp.

void GUI::ScrollBarWidget::handleMouseDown ( int  x,
int  y,
int  button,
int  clickCount 
)

Definition at line 55 of file scrollbar.cpp.

void GUI::ScrollBarWidget::handleMouseEntered ( int  button  )  [inline]

Definition at line 72 of file scrollbar.h.

void GUI::ScrollBarWidget::handleMouseLeft ( int  button  )  [inline]

Definition at line 73 of file scrollbar.h.

void GUI::ScrollBarWidget::handleMouseMoved ( int  x,
int  y,
int  button 
)

Definition at line 106 of file scrollbar.cpp.

void GUI::ScrollBarWidget::handleMouseUp ( int  x,
int  y,
int  button,
int  clickCount 
)

Definition at line 85 of file scrollbar.cpp.

void GUI::ScrollBarWidget::handleMouseWheel ( int  x,
int  y,
int  direction 
)

Definition at line 90 of file scrollbar.cpp.

void GUI::ScrollBarWidget::handleTickle (  ) 

Definition at line 143 of file scrollbar.cpp.

void GUI::ScrollBarWidget::recalc (  ) 

Definition at line 174 of file scrollbar.cpp.

bool GUI::ScrollBarWidget::wantsFocus (  )  [inline]

Definition at line 75 of file scrollbar.h.


Member Data Documentation

Definition at line 62 of file scrollbar.h.

Definition at line 50 of file scrollbar.h.

Definition at line 61 of file scrollbar.h.

Definition at line 60 of file scrollbar.h.

Definition at line 46 of file scrollbar.h.

Definition at line 57 of file scrollbar.h.

Definition at line 63 of file scrollbar.h.

Definition at line 51 of file scrollbar.h.

Definition at line 47 of file scrollbar.h.

Definition at line 48 of file scrollbar.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 14 2019 05:04:39 for ResidualVM by doxygen 1.7.1
curved edge   curved edge