mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
CComponentsFooter: add member paintButtons()
This is a nearly methode similar with the older button handler find
in gui/widget/buttons.h, some parameters are different,
but require minimalized input.
This member sets some basic parameters and will paint
concurrently on execute, explicit call of paint() is not required.
This should simplify the implementation of the footer class.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 18f13b0062
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-11 (Sun, 11 May 2014)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -98,6 +98,20 @@ class CComponentsFooter : public CComponentsHeader
|
||||
|
||||
///returns pointer to internal button container
|
||||
CComponentsFrmChain* getButtonChainObject(){return chain;};
|
||||
|
||||
///this is a nearly methode similar with the older button handler find in gui/widget/buttons.h, some parameters are different, but require minimalized input
|
||||
///this member sets some basic parameters and will paint concurrently on execute, explicit call of paint() is not required
|
||||
void paintButtons( const int& x_pos,
|
||||
const int& y_pos,
|
||||
const int& w,
|
||||
const int& h,
|
||||
const size_t& label_count,
|
||||
const struct button_label * const content,
|
||||
const int& label_width = 0,
|
||||
const int& context_buttons = 0,
|
||||
Font* font = NULL,
|
||||
bool do_save_bg = CC_SAVE_SCREEN_NO
|
||||
);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user