mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
cc_base.h: make private initVarBasic and initVarItem, they are is called from constructors
This commit is contained in:
@@ -45,6 +45,8 @@ class CComponents
|
||||
private:
|
||||
///pixel buffer handling, returns pixel buffer depends of given parameters
|
||||
fb_pixel_t* getScreen(int ax, int ay, int dx, int dy);
|
||||
///initialize of basic attributes, no parameters required
|
||||
void initVarBasic();
|
||||
|
||||
protected:
|
||||
///object: framebuffer object, usable in all sub classes
|
||||
@@ -97,8 +99,6 @@ class CComponents
|
||||
///mode: true=allows painting of item, see also allowPaint()
|
||||
bool cc_allow_paint;
|
||||
|
||||
///initialize of basic attributes, no parameters required
|
||||
void initVarBasic();
|
||||
///rendering of framebuffer elements at once,
|
||||
///elements are contained in v_fbdata, presumes added frambuffer elements with paintInit(),
|
||||
///parameter do_save_bg=true, saves background of element to pixel buffer, this can be restore with hide()
|
||||
@@ -216,6 +216,9 @@ class CComponents
|
||||
|
||||
class CComponentsItem : public CComponents
|
||||
{
|
||||
private:
|
||||
///initialize all required attributes
|
||||
void initVarItem();
|
||||
protected:
|
||||
///property: define of item type, see cc_types.h for possible types
|
||||
int cc_item_type;
|
||||
@@ -242,8 +245,6 @@ class CComponentsItem : public CComponents
|
||||
///an item will be hide or overpainted with other methods, or it's embedded (bound) in a parent form.
|
||||
void paintInit(bool do_save_bg);
|
||||
|
||||
///initialize all required attributes
|
||||
void initVarItem();
|
||||
|
||||
public:
|
||||
CComponentsItem();
|
||||
|
Reference in New Issue
Block a user