mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
bedit: declare internal vars as protected
Access to internal member vars should be done via methods and funtions.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 53293ba49d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-10-12 (Thu, 12 Oct 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -31,14 +31,8 @@ class CBEGlobals
|
||||
protected:
|
||||
CComponentsDetailsLine *dline;
|
||||
CComponentsInfoBox *ibox;
|
||||
|
||||
virtual std::string getInfoText(int index) = 0;
|
||||
void paintDetails(int pos, int current);
|
||||
void killDetails();
|
||||
|
||||
public:
|
||||
CBEGlobals();
|
||||
virtual ~CBEGlobals();
|
||||
CComponentsHeader header;
|
||||
CComponentsFooter footer;
|
||||
|
||||
CFrameBuffer *frameBuffer;
|
||||
|
||||
@@ -53,19 +47,23 @@ class CBEGlobals
|
||||
int footer_height;
|
||||
int info_height;
|
||||
|
||||
CComponentsHeader header;
|
||||
CComponentsFooter footer;
|
||||
|
||||
unsigned int items_count;
|
||||
|
||||
Font *item_font;
|
||||
Font *info_font;
|
||||
|
||||
int action_icon_width;
|
||||
int status_icon_width;
|
||||
|
||||
unsigned int items_count;
|
||||
int timeout;
|
||||
|
||||
virtual std::string getInfoText(int index) = 0;
|
||||
void paintDetails(int pos, int current);
|
||||
void killDetails();
|
||||
|
||||
public:
|
||||
CBEGlobals();
|
||||
virtual ~CBEGlobals();
|
||||
|
||||
void hide();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user