mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 11:12:40 +01:00
Slider percentage scrolling
parent
e58a806f00
commit
fc61d1ae94
@ -1,4 +1,5 @@
|
||||
|
||||
|
||||
This is a multifunctional user interface library, especially designed and optimized for low-performance computers. You can realize all of your most perverted fantasies using it: from regular buttons, sliders and charts to complex animated interfaces. Extreme performance of the library is achieved by using double buffering and complex color grouping and processing algorithms.
|
||||
|
||||
MineOS and every its application is created using this library:
|
||||
@ -714,6 +715,8 @@ This object has following properties:
|
||||
| *float* | .**value** | Current slider value variable |
|
||||
| *boolean* | .**roundValues** | This property will **visually** round silder values |
|
||||
| *callback-function* | .**onValueChanged**() | This function will be called after slider value changing |
|
||||
| *float* [0.0, 1.0] | .**scrollSensivity** | Determines how big part of content must be scrolled using mouse wheel. Note that property works as percentage, not pixels. The default value is **0.05** |
|
||||
| *callback-function* | .**onScroll**() | This function will be called after value changing by mouse wheel |
|
||||
|
||||
Example of implementation:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user