Ewl_Scrollpane_Scroll_Info_Base Struct Reference
[Ewl_Scrollpane: A Scrollable Viewing Area]
#include <ewl_scrollpane.h>
Detailed Description
Enables a scrollpane to be scrolled with kinetic behaviour.Data Fields | |
unsigned char | active:1 |
unsigned char | clicked:1 |
double | dampen |
void * | extra |
int | fps |
double | vmax |
double | vmin |
Field Documentation
unsigned char Ewl_Scrollpane_Scroll_Info_Base::active |
If the pane is currently moving
unsigned char Ewl_Scrollpane_Scroll_Info_Base::clicked |
If the mouse is currently clicked or not
Frictional variable
Referenced by ewl_scrollpane_kinetic_dampen_get(), ewl_scrollpane_kinetic_dampen_set(), and ewl_scrollpane_kinetic_scrolling_set().
Additional information
Referenced by ewl_scrollpane_kinetic_scrolling_set().
Number of recalculations per second
Referenced by ewl_scrollpane_kinetic_fps_get(), ewl_scrollpane_kinetic_fps_set(), and ewl_scrollpane_kinetic_scrolling_set().
Maximum speed in pixels
Referenced by ewl_scrollpane_kinetic_max_velocity_get(), ewl_scrollpane_kinetic_max_velocity_set(), and ewl_scrollpane_kinetic_scrolling_set().
Minimum speed in pixels
Referenced by ewl_scrollpane_kinetic_min_velocity_get(), ewl_scrollpane_kinetic_min_velocity_set(), and ewl_scrollpane_kinetic_scrolling_set().
The documentation for this struct was generated from the following file:
- lib/ewl_scrollpane.h