mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
bedit: declare internal vars as protected
Access to internal member vars should be done via methods and funtions.
This commit is contained in:
@@ -31,14 +31,8 @@ class CBEGlobals
|
|||||||
protected:
|
protected:
|
||||||
CComponentsDetailsLine *dline;
|
CComponentsDetailsLine *dline;
|
||||||
CComponentsInfoBox *ibox;
|
CComponentsInfoBox *ibox;
|
||||||
|
CComponentsHeader header;
|
||||||
virtual std::string getInfoText(int index) = 0;
|
CComponentsFooter footer;
|
||||||
void paintDetails(int pos, int current);
|
|
||||||
void killDetails();
|
|
||||||
|
|
||||||
public:
|
|
||||||
CBEGlobals();
|
|
||||||
virtual ~CBEGlobals();
|
|
||||||
|
|
||||||
CFrameBuffer *frameBuffer;
|
CFrameBuffer *frameBuffer;
|
||||||
|
|
||||||
@@ -53,19 +47,23 @@ class CBEGlobals
|
|||||||
int footer_height;
|
int footer_height;
|
||||||
int info_height;
|
int info_height;
|
||||||
|
|
||||||
CComponentsHeader header;
|
|
||||||
CComponentsFooter footer;
|
|
||||||
|
|
||||||
unsigned int items_count;
|
|
||||||
|
|
||||||
Font *item_font;
|
Font *item_font;
|
||||||
Font *info_font;
|
Font *info_font;
|
||||||
|
|
||||||
int action_icon_width;
|
int action_icon_width;
|
||||||
int status_icon_width;
|
int status_icon_width;
|
||||||
|
|
||||||
|
unsigned int items_count;
|
||||||
int timeout;
|
int timeout;
|
||||||
|
|
||||||
|
virtual std::string getInfoText(int index) = 0;
|
||||||
|
void paintDetails(int pos, int current);
|
||||||
|
void killDetails();
|
||||||
|
|
||||||
|
public:
|
||||||
|
CBEGlobals();
|
||||||
|
virtual ~CBEGlobals();
|
||||||
|
|
||||||
void hide();
|
void hide();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user