mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-10 23:28:28 +02:00
cc_frm_scrollbar: add getScrollBarData() function ...
to calculate total pages and current page for CComponentsScrollBar
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 3e9e73cb3c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
Origin message was:
------------------
- cc_frm_scrollbar: add getScrollBarData() function ...
to calculate total pages and current page for CComponentsScrollBar
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -145,6 +145,8 @@ class CComponentsScrollBar : public CComponentsFrmChain
|
||||
void disableVisualize(){enableVisualize(false);}
|
||||
};
|
||||
|
||||
void getScrollBarData(int *total_pages, int *current_page, int total_items, int items_per_page, int selected_item);
|
||||
|
||||
/**Small and easy to apply scrollbar paint methode without expilcit object declaration
|
||||
* @return void
|
||||
*
|
||||
|
Reference in New Issue
Block a user