Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::drawerbase::scroll::metrics_type Struct Reference

Public Types

using size_type = std::size_t
 

Public Member Functions

 metrics_type ()
 

Public Attributes

size_type peak
 the whole total More...
 
size_type range
 how many is shown on a page, that is, How many to scroll after click on first or second More...
 
size_type step
 how many to scroll by click in forward or backward More...
 
size_type value
 current offset calculated from the very beginning More...
 
buttons what
 
bool pressed
 
size_type scroll_length
 the length in pixels of the central button show how many of the total (peak) is shown (range) More...
 
int scroll_pos
 in pixels, and correspond to the offset from the very beginning (value) More...
 
int scroll_mouse_offset
 

Member Typedef Documentation

Constructor & Destructor Documentation

nana::drawerbase::scroll::metrics_type::metrics_type ( )

Member Data Documentation

size_type nana::drawerbase::scroll::metrics_type::peak

the whole total

bool nana::drawerbase::scroll::metrics_type::pressed
size_type nana::drawerbase::scroll::metrics_type::range

how many is shown on a page, that is, How many to scroll after click on first or second

size_type nana::drawerbase::scroll::metrics_type::scroll_length

the length in pixels of the central button show how many of the total (peak) is shown (range)

int nana::drawerbase::scroll::metrics_type::scroll_mouse_offset
int nana::drawerbase::scroll::metrics_type::scroll_pos

in pixels, and correspond to the offset from the very beginning (value)

size_type nana::drawerbase::scroll::metrics_type::step

how many to scroll by click in forward or backward

size_type nana::drawerbase::scroll::metrics_type::value

current offset calculated from the very beginning

buttons nana::drawerbase::scroll::metrics_type::what