diff --git a/GUI-API.md b/GUI-API.md index 3dd24c4..0949abb 100644 --- a/GUI-API.md +++ b/GUI-API.md @@ -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: