Drag[en]gine Script Module DragonScript
1.23
|
Action slide up action. More...
Public Member Functions | |
ActionSlideUp | new (Slider slider) |
ActionSlideUp | new (Slider slider, bool isWheelAction) |
Public Member Functions inherited from Dragengine.Gui.Slider.ActionSlide | |
void | dispose () |
Dispose of widget. More... | |
void | doLayout () |
Layout widget. More... | |
int | getKnobOffset () |
Knob offset along orientation axis. More... | |
Point | getKnobPosition (int value) |
Knob position matching model value. More... | |
int | getKnobValue (Point position) |
Closest model value matching knob position. More... | |
RangeModel | getModel () |
Range model. More... | |
Orientation | getOrientation () |
Orientation. More... | |
bool | getReverseWheel () |
Reverse wheel direction. More... | |
bool | getShowTicks () |
Show ticks. More... | |
RectArea | getSlideArea () |
Slide area in pixels. More... | |
int | getSliderSize () |
Slider size along non-orientation axis. More... | |
float | getSmallTickCountRatio () |
Percentage of small ticks to show per large tick. More... | |
int | getTickSize () |
Tick size along orientation axis. More... | |
Widget | getWidgetBar () |
Bar widget. More... | |
Widget | getWidgetKnob () |
Knob widget. More... | |
ActionSlide | new (Orientation orientation) |
Create slide widget. More... | |
void | onAction (ActionEvent event) |
Run action. More... | |
void | onButtonPress (MouseEvent event) |
void | onButtonRelease (MouseEvent event) |
void | onDesignerChanged () |
Designer changed. More... | |
void | onGuiThemeChanged () |
void | onResize (WidgetEvent event) |
Size changed. More... | |
void | rangeChanged (RangeModel rangeModel) |
void | repositionKnob () |
Reposition knob to match current model value. More... | |
void | setEnabled (bool enabled) |
Set if widget is enabled. More... | |
void | setModel (RangeModel model) |
Set range model. More... | |
void | setOrientation (Orientation orientation) |
Set orientation. More... | |
void | setReverseWheel (bool reverseWheel) |
Set reverse wheel direction. More... | |
void | setShowTicks (bool showTicks) |
Set show ticks. More... | |
void | setSmallTickCountRatio (float ratio) |
Set percentage of small ticks to show per large tick. More... | |
void | valueChanged (RangeModel rangeModel) |
Public Member Functions inherited from Dragengine.Gui.Events.DefaultActionListener | |
DefaultActionListener | new () |
Create default action listener. More... | |
Protected Member Functions | |
bool | increaseValue () |
Protected Member Functions inherited from Dragengine.Gui.Slider.ActionSlide | |
void | createContent () |
WidgetDesigner | getDesignerFromTheme () |
Get designer from gui theme. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Dragengine.Gui.Slider.ActionSlide | |
bool | pIsWheelAction |
Slider | pSlider |
Action slide up action.
|
protected |
Reimplemented from Dragengine.Gui.Slider.ActionSlide.
ActionSlideUp Dragengine.Gui.Slider.ActionSlide.ActionSlideUp.new | ( | Slider | slider | ) |
Reimplemented from Dragengine.Gui.Slider.ActionSlide.
ActionSlideUp Dragengine.Gui.Slider.ActionSlide.ActionSlideUp.new | ( | Slider | slider, |
bool | isWheelAction | ||
) |
Reimplemented from Dragengine.Gui.Slider.ActionSlide.