Public Member Functions | |
| ProgressBar (Window *pParent, const Rect rFrame, unsigned int nWindowLayoutFlags) | |
| void | Paint (const Rect &rDirty) |
| void | SetMin (int iMin) |
| void | SetMax (int iMax) |
| void | Set (int iValue) |
| int | Get () |
| int | GetMin () |
| int | GetMax () |
| virtual void | MouseDown (const InputEvent &nInputEvent) |
| virtual void | MouseMove (const InputEvent &nInputEvent) |
| virtual void | OnClicked (const InputEvent &nInputEvent, int iPos) |
Public Attributes | |
| signal2< const InputEvent &, int > | Clicked |
Classes | |
| class | Private |
| void ProgressBar::Paint | ( | const Rect & | rDirty | ) | [virtual] |
Paint window content
| rDirty | - Dirty rectangular region which has to be redrawn. Prior entering this function the painters clip region is automatically set to this dirty region. |
Reimplemented from SkyGI::Window.
| void ProgressBar::SetMin | ( | int | iMin | ) |
| void ProgressBar::SetMax | ( | int | iMax | ) |
| void ProgressBar::Set | ( | int | iValue | ) |
| int ProgressBar::Get | ( | ) |
| int ProgressBar::GetMin | ( | ) |
| int ProgressBar::GetMax | ( | ) |
| void ProgressBar::MouseDown | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse pressed
| nButton | - MouseButton which was pressed | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse press occured | |
| nInputEvent | - INPUT_EVENT_MOUSE_PRESS for a single and INPUTE_EVENT_MOUSE_DOUBLECLICK for a doubleclick |
Reimplemented from SkyGI::Window.
| void ProgressBar::MouseMove | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse move
| pNewPosition | - Current mouse cursor position | |
| pOldPosition | - Old mouse cursor position | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse move occured |
Reimplemented from SkyGI::Window.
| void ProgressBar::OnClicked | ( | const InputEvent & | nInputEvent, | |
| int | iPos | |||
| ) | [virtual] |
| signal2<const InputEvent&, int> SkyGI::ProgressBar::Clicked |
1.5.1-p1