cc_types.h: add scale to CC_WIDTH_MIN/CC_HEIGHT_MIN

Origin commit data
------------------
Commit: df48434092
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-14 (Tue, 14 Mar 2017)
This commit is contained in:
2017-03-14 09:11:45 +01:00
parent 830b0e43d7
commit d913d04880

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_struct;
#define CC_WIDTH_MIN 16
#define CC_HEIGHT_MIN 16
#define CC_WIDTH_MIN CFrameBuffer::getInstance()->scale2Res(16)
#define CC_HEIGHT_MIN CC_WIDTH_MIN
#define CC_SHADOW_OFF 0x0
#define CC_SHADOW_RIGHT 0x2