|
MyGUI 3.4.3
|
widget description should be here. More...
#include <MyGUI_ScrollBar.h>

Public Types | |
| typedef RTTIBase | Base |
| typedef ScrollBar | RTTIBase |
Public Types inherited from MyGUI::Widget | |
| typedef RTTIBase | Base |
| typedef Widget | RTTIBase |
Public Types inherited from MyGUI::IObject | |
| typedef IObject | RTTIBase |
Static Public Member Functions | |
| static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::Widget | |
| static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::IObject | |
| static std::string_view | getClassTypeName () |
Protected Attributes | |
| Button * | mWidgetStart {nullptr} |
| Button * | mWidgetEnd {nullptr} |
| Button * | mWidgetTrack {nullptr} |
| Widget * | mWidgetFirstPart {nullptr} |
| Widget * | mWidgetSecondPart {nullptr} |
| IntPoint | mPreActionOffset |
| size_t | mSkinRangeStart {0} |
| size_t | mSkinRangeEnd {0} |
| size_t | mScrollRange {0} |
| size_t | mScrollPosition {0} |
| size_t | mScrollPage {0} |
| size_t | mScrollViewPage {0} |
| size_t | mScrollWheelPage {0} |
| bool | mEnableRepeat {true} |
| float | mRepeatTriggerTime {0.f} |
| float | mRepeatStepTime {0.f} |
| int | mMinTrackSize {0} |
| bool | mMoveToClick {false} |
| bool | mVerticalAlignment {true} |
Protected Attributes inherited from MyGUI::ICroppedRectangle | |
| IntRect | mMargin |
| IntCoord | mCoord |
| IntPoint | mAbsolutePosition |
| bool | mIsMargin {false} |
| ICroppedRectangle * | mCroppedParent {nullptr} |
widget description should be here.
Definition at line 23 of file MyGUI_ScrollBar.h.
Definition at line 25 of file MyGUI_ScrollBar.h.
Definition at line 25 of file MyGUI_ScrollBar.h.
|
inlinestatic |
Definition at line 25 of file MyGUI_ScrollBar.h.
| int MyGUI::ScrollBar::getLineSize | ( | ) | const |
Get size in pixels of area where scroll moves
Definition at line 423 of file MyGUI_ScrollBar.cpp.
| int MyGUI::ScrollBar::getMinTrackSize | ( | ) | const |
Get minimal track size
Definition at line 635 of file MyGUI_ScrollBar.cpp.
| bool MyGUI::ScrollBar::getMoveToClick | ( | ) | const |
Get move to click mode flag
Definition at line 645 of file MyGUI_ScrollBar.cpp.
| bool MyGUI::ScrollBar::getRepeatEnabled | ( | ) | const |
Get whether Repeat mode is enabled
Definition at line 407 of file MyGUI_ScrollBar.cpp.
Get how much time between scrollbar button repeats.
Definition at line 397 of file MyGUI_ScrollBar.cpp.
Get time that buttons need to be pressed down to start repeating.
Definition at line 392 of file MyGUI_ScrollBar.cpp.
| size_t MyGUI::ScrollBar::getScrollPage | ( | ) | const |
Get scroll page
Definition at line 606 of file MyGUI_ScrollBar.cpp.
| size_t MyGUI::ScrollBar::getScrollPosition | ( | ) | const |
Get scroll position (value from 0 to range - 1)
Definition at line 596 of file MyGUI_ScrollBar.cpp.
| size_t MyGUI::ScrollBar::getScrollRange | ( | ) | const |
Get scroll range
Definition at line 591 of file MyGUI_ScrollBar.cpp.
| size_t MyGUI::ScrollBar::getScrollViewPage | ( | ) | const |
Get scroll view page
Definition at line 616 of file MyGUI_ScrollBar.cpp.
| size_t MyGUI::ScrollBar::getScrollWheelPage | ( | ) | const |
Get scroll view page
Definition at line 625 of file MyGUI_ScrollBar.cpp.
|
protected |
Definition at line 650 of file MyGUI_ScrollBar.cpp.
| int MyGUI::ScrollBar::getTrackSize | ( | ) | const |
Get size of track in pixels
Definition at line 412 of file MyGUI_ScrollBar.cpp.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::VScroll, and MyGUI::HScroll.
Definition at line 25 of file MyGUI_ScrollBar.h.
| bool MyGUI::ScrollBar::getVerticalAlignment | ( | ) | const |
Get vertical alignment grid mode flag
Definition at line 668 of file MyGUI_ScrollBar.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 18 of file MyGUI_ScrollBar.cpp.
Compare with selected type
Definition at line 25 of file MyGUI_ScrollBar.h.
Compare with selected type
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::VScroll, and MyGUI::HScroll.
Definition at line 25 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 317 of file MyGUI_ScrollBar.cpp.
|
protected |
Definition at line 255 of file MyGUI_ScrollBar.cpp.
|
protected |
Definition at line 311 of file MyGUI_ScrollBar.cpp.
Definition at line 435 of file MyGUI_ScrollBar.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 428 of file MyGUI_ScrollBar.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 359 of file MyGUI_ScrollBar.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 172 of file MyGUI_Widget.cpp.
See Widget::setCoord(const IntCoord& _coord)
Definition at line 179 of file MyGUI_Widget.cpp.
Set minimal track size (used for setTrackSize)
Definition at line 630 of file MyGUI_ScrollBar.cpp.
Enable or disable move to click mode.
Move to click mode: Tracker moves to cursor when pressed on scroll line.
Disabled (false) by default.
Definition at line 640 of file MyGUI_ScrollBar.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 347 of file MyGUI_ScrollBar.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 168 of file MyGUI_Widget.cpp.
See Widget::setPosition(const IntPoint& _pos)
Definition at line 175 of file MyGUI_Widget.cpp.
|
overrideprotectedvirtual |
@wproperty{ScrollBar, RepeatStepTime, float) The time between each repeat step once repeating has started.
Reimplemented from MyGUI::Widget.
Definition at line 540 of file MyGUI_ScrollBar.cpp.
Set whether clicks on scrollbar buttons should be repeated at set intervals as long as the mouse button is pressed down. Enabled (true) by default.
Definition at line 402 of file MyGUI_ScrollBar.cpp.
Set how much time between scrollbar button repeats.
Definition at line 387 of file MyGUI_ScrollBar.cpp.
Set time that buttons need to be pressed down to start repeating.
Definition at line 382 of file MyGUI_ScrollBar.cpp.
Set scroll page
| _value | Tracker step when buttons pressed |
Definition at line 601 of file MyGUI_ScrollBar.cpp.
Set scroll position (value from 0 to range - 1)
Definition at line 335 of file MyGUI_ScrollBar.cpp.
Set scroll range
Definition at line 325 of file MyGUI_ScrollBar.cpp.
Set scroll view page
| _value | Tracker step when pressed on scroll line |
Definition at line 611 of file MyGUI_ScrollBar.cpp.
Set scroll view page
| _value | Tracker step when mouse wheel scrolled |
Definition at line 621 of file MyGUI_ScrollBar.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 352 of file MyGUI_ScrollBar.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 170 of file MyGUI_Widget.cpp.
See Widget::setSize(const IntSize& _size)
Definition at line 177 of file MyGUI_Widget.cpp.
Set size of track in pixels
| _value | in pixels, if less than MinTrackSize, MinTrackSize used |
Definition at line 366 of file MyGUI_ScrollBar.cpp.
Set vertical alignment grid mode
Definition at line 661 of file MyGUI_ScrollBar.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 93 of file MyGUI_ScrollBar.cpp.
Definition at line 187 of file MyGUI_ScrollBar.cpp.
|
protected |
Definition at line 104 of file MyGUI_ScrollBar.cpp.
| EventHandle_ScrollBarPtrSizeT MyGUI::ScrollBar::eventScrollChangePosition |
Event : scroll tracker position changed.
signature : void method(MyGUI::ScrollBar* _sender, size_t _position)
| _sender | widget that called this event |
| _position | - new tracker position |
Definition at line 123 of file MyGUI_ScrollBar.h.
Definition at line 172 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 176 of file MyGUI_ScrollBar.h.
Definition at line 177 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 160 of file MyGUI_ScrollBar.h.
Definition at line 174 of file MyGUI_ScrollBar.h.
Definition at line 173 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 168 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 167 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 166 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 169 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 170 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 164 of file MyGUI_ScrollBar.h.
|
protected |
Definition at line 163 of file MyGUI_ScrollBar.h.
Definition at line 179 of file MyGUI_ScrollBar.h.
Definition at line 153 of file MyGUI_ScrollBar.h.
Definition at line 156 of file MyGUI_ScrollBar.h.
Definition at line 157 of file MyGUI_ScrollBar.h.
Definition at line 152 of file MyGUI_ScrollBar.h.
Definition at line 154 of file MyGUI_ScrollBar.h.