CComponentsHeader: add icons to button collection for use in headers or footers

This commit is contained in:
2014-04-24 23:02:37 +02:00
parent 1c39d08c60
commit 9955fa9203
2 changed files with 50 additions and 5 deletions

View File

@@ -153,12 +153,27 @@ class CComponentsHeader : public CComponentsForm
enum
{
CC_BTN_HELP = 0x02,
CC_BTN_INFO = 0x04,
CC_BTN_MENU = 0x40,
CC_BTN_EXIT = 0x80
CC_BTN_HELP = 0x02,
CC_BTN_INFO = 0x04,
CC_BTN_MENU = 0x40,
CC_BTN_EXIT = 0x80,
CC_BTN_MUTE_ZAP_ACTIVE = 0x100,
CC_BTN_MUTE_ZAP_INACTIVE = 0x200,
CC_BTN_OKAY = 0x400,
CC_BTN_MUTE = 0x800,
CC_BTN_TOP = 0x1000,
CC_BTN_DOWN = 0x2000,
CC_BTN_RIGHT = 0x4000,
CC_BTN_LEFT = 0x8000,
CC_BTN_FORWARD = 0x10000,
CC_BTN_BACKWARD = 0x20000,
CC_BTN_PAUSE = 0x40000,
CC_BTN_PLAY = 0x80000,
CC_BTN_RECORD_ACTIVE = 0x100000,
CC_BTN_RECORD_INACTIVE = 0x200000,
CC_BTN_RECORD_STOP = 0x400000
};
///set offset between icons within context button object
virtual void setButtonsSpace(const int buttons_space){cch_buttons_space = buttons_space;};