mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
CComponentsForm: add members to set or get selected items
Origin commit data
------------------
Branch: ni/coolstream
Commit: ec7d5772f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-25 (Mon, 25 Aug 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -117,6 +117,12 @@ class CComponentsForm : public CComponentsItem
|
||||
virtual void paintPage(const u_int8_t& page_number, bool do_save_bg = CC_SAVE_SCREEN_NO);
|
||||
///set width of scrollbar
|
||||
virtual void setScrollBarWidth(const int& scrollbar_width){w_sb = scrollbar_width;};
|
||||
///returns id of select item, return value as int, returns -1: if is nothing selected
|
||||
virtual int getSelectedItem();
|
||||
///select a definied item, parameter1 as size_t
|
||||
virtual void setSelectedItem(size_t item_id);
|
||||
///select a definied item, parameter1 as CComponentsItem*
|
||||
virtual void setSelectedItem(CComponentsItem* cc_item);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user