CComponents: split cc_base.cpp

It's easier to work with smaller files.
Most files contain only one cc-class and their names are
derived on the particular class that is contained therein.
This commit is contained in:
2013-02-26 15:58:22 +01:00
parent 152d40c6cd
commit 3ed9af87ad
16 changed files with 2475 additions and 2056 deletions

View File

@@ -31,6 +31,9 @@
#include <gui/widget/textbox.h>
#include <vector>
#include <string>
#include <driver/pictureviewer/pictureviewer.h>
//#define DEBUG_CC
class CComponents
{
@@ -48,7 +51,7 @@ class CComponents
comp_screen_data_t saved_screen;
void clearSavedScreen();
void clear();
virtual void clear();
public:
CComponents();
virtual~CComponents();
@@ -154,7 +157,7 @@ class CComponentsPicture : public CComponentsItem
inline void setPictureOffset(const unsigned char offset){pic_offset = offset;};
inline void setPicturePaint(bool paint_p){pic_paint = paint_p;};
inline void setPicturePaintBackground(bool paintBg){pic_paintBg = paintBg;};
inline void setPicture(const std::string& picture_name);
void setPicture(const std::string& picture_name);
void setPictureAlign(const int alignment);
inline bool isPicPainted(){return pic_painted;};