cc_types.h: add scale to CC_WIDTH_MIN/CC_HEIGHT_MIN

This commit is contained in:
2017-03-14 09:11:45 +01:00
parent afe98d3952
commit df48434092

View File

@@ -191,8 +191,8 @@ typedef struct button_label_cc
button_label_cc(): button(NULL), text(std::string()), locale(NONEXISTANT_LOCALE){} button_label_cc(): button(NULL), text(std::string()), locale(NONEXISTANT_LOCALE){}
} button_label_cc_struct; } button_label_cc_struct;
#define CC_WIDTH_MIN 16 #define CC_WIDTH_MIN CFrameBuffer::getInstance()->scale2Res(16)
#define CC_HEIGHT_MIN 16 #define CC_HEIGHT_MIN CC_WIDTH_MIN
#define CC_SHADOW_OFF 0x0 #define CC_SHADOW_OFF 0x0
#define CC_SHADOW_RIGHT 0x2 #define CC_SHADOW_RIGHT 0x2