Public Member Functions | |
| scrollable_wnd () | |
| void | total_size (unsigned cx, unsigned cy) |
| SIZE | total_size () const |
| void | line_scrolling_size (int cx, int cy) |
| SIZE | line_scrolling_size () const |
| void | page_factor (float xFactor, float yFactor) |
| float | page_factor_x () const |
| float | page_factor_y () const |
| void | wheel_factor (float yFactor) |
| float | wheel_factor () const |
| void | scroll_pos (unsigned x, unsigned y) |
| POINT | scroll_pos () const |
|
|
c'tor
|
|
|
Returns the line scrolling size.
|
|
||||||||||||
|
Sets the amount by which the window will be scrolled by "line" . If you pass negative values, a scroll to right will actually a scroll to the left; a scroll to the top will scroll to the bottom!
|
|
||||||||||||
|
Sets the factor by which the window is scrolled by "page" . If the user does a page-scroll, the amount of scrolling will be calculated by multiplying the line scrolling size with the corresponding factor
|
|
|
Returns the horizontal page-scroll-factor.
|
|
|
Returns the vertical page-scroll-factor.
|
|
|
Returns the current scrolling position.
|
|
||||||||||||
|
Scrolls the window to position (x | y).
|
|
|
Returns the total size of the window.
|
|
||||||||||||
|
Sets the total size of the window . If the client area of the window is smaller than the total size the scrollbars will be shown to scroll to the invisible parts of the window.
|
|
|
Returns the mouse-wheel-scroll-factor.
|
|
|
Sets the factor by which the window is scrolled by "mouse-wheel" . If the user does a mouse-wheel-scroll, the amount of scrolling will be calculated by multiplying the line scrolling size with this factor
|
1.3.9.1