Slider control
More...
|
void | SetRange (int min, int max) |
| Sets the range of the slider More...
|
|
| Slider (Dialog parent) |
| Create new button instance More...
|
|
override bool | ContainsPoint (Point pt) |
| Does the control contain this point? More...
|
|
int | ValueFromPosition (int x) |
| Gets a value from a position More...
|
|
override bool | HandleMouse (WindowMessage msg, Point pt, IntPtr wParam, IntPtr lParam) |
| Handle mouse input input More...
|
|
override bool | HandleKeyboard (WindowMessage msg, IntPtr wParam, IntPtr lParam) |
| Handle keyboard input More...
|
|
override void | Render (Device device, float elapsedTime) |
| Render the slider More...
|
|
override string | ToString () |
|
virtual void | OnInitialize () |
| Initialize the control More...
|
|
virtual bool | MsgProc (IntPtr hWnd, WindowMessage msg, IntPtr wParam, IntPtr lParam) |
| Message Handler More...
|
|
virtual void | OnFocusIn () |
| Called when control gets focus More...
|
|
virtual void | OnFocusOut () |
| Called when control loses focus More...
|
|
virtual void | OnMouseEnter () |
| Called when mouse goes over the control More...
|
|
virtual void | OnMouseExit () |
| Called when mouse leaves the control More...
|
|
virtual void | OnHotKey () |
| Called when the control's hotkey is hit More...
|
|
virtual void | SetLocation (int x, int y) |
| Called to set control's location More...
|
|
virtual void | SetSize (int w, int h) |
| Called to set control's size More...
|
|
virtual void | Refresh () |
| Refreshes the control More...
|
|
|
int | currentValue |
|
int | maxValue |
|
int | minValue |
|
int | dragX |
|
int | dragOffset |
|
int | buttonX |
|
bool | isPressed |
|
Rectangle | buttonRect |
|
Dialog | parentDialog |
|
object | localUserData |
|
bool | visible = true |
|
bool | isMouseOver |
|
bool | hasFocus |
|
int | controlId |
|
ControlType | ctrlType |
|
Keys | ctrlHotKey |
|
bool | enabled = true |
|
Rectangle | boundingBox |
|
int | controlX |
|
List< Element > | elementList = new List<Element>() |
|
|
EventHandler | Changed |
|
EventHandler | MouseEnter |
|
◆ Slider()
OmegaGUI.Render.Slider.Slider |
( |
Dialog |
parent | ) |
|
|
inline |
Create new button instance
◆ ContainsPoint()
override bool OmegaGUI.Render.Slider.ContainsPoint |
( |
Point |
pt | ) |
|
|
inlinevirtual |
◆ HandleKeyboard()
override bool OmegaGUI.Render.Slider.HandleKeyboard |
( |
WindowMessage |
msg, |
|
|
IntPtr |
wParam, |
|
|
IntPtr |
lParam |
|
) |
| |
|
inlinevirtual |
◆ HandleMouse()
override bool OmegaGUI.Render.Slider.HandleMouse |
( |
WindowMessage |
msg, |
|
|
Point |
pt, |
|
|
IntPtr |
wParam, |
|
|
IntPtr |
lParam |
|
) |
| |
|
inlinevirtual |
◆ RaiseChanged()
void OmegaGUI.Render.Slider.RaiseChanged |
( |
Slider |
sender, |
|
|
bool |
wasTriggeredByUser |
|
) |
| |
|
inlineprotected |
Current value of the slider
◆ Render()
override void OmegaGUI.Render.Slider.Render |
( |
Device |
device, |
|
|
float |
elapsedTime |
|
) |
| |
|
inlinevirtual |
◆ SetRange()
void OmegaGUI.Render.Slider.SetRange |
( |
int |
min, |
|
|
int |
max |
|
) |
| |
|
inline |
Sets the range of the slider
◆ SetValueInternal()
void OmegaGUI.Render.Slider.SetValueInternal |
( |
int |
newValue, |
|
|
bool |
fromInput |
|
) |
| |
|
inlineprotected |
Sets the value internally and fires the event if needed
◆ UpdateRectangles()
override void OmegaGUI.Render.Slider.UpdateRectangles |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ ValueFromPosition()
int OmegaGUI.Render.Slider.ValueFromPosition |
( |
int |
x | ) |
|
|
inline |
Gets a value from a position
◆ CanHaveFocus
override bool OmegaGUI.Render.Slider.CanHaveFocus => true |
Slider's can always have focus
◆ Value
int OmegaGUI.Render.Slider.Value |
|
getset |
Current value of the slider
The documentation for this class was generated from the following file:
- OmegaGUI/Render/Slider.cs