CComponentsHeader: add enums for header items

Origin commit data
------------------
Commit: 79dd6456b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-25 (Sun, 25 Nov 2012)
This commit is contained in:
2012-11-25 15:36:36 +01:00
parent 36c82eba41
commit 4ea3ce9297

View File

@@ -520,6 +520,13 @@ class CComponentsHeader : public CComponentsForm
CC_BTN_EXIT = 0x80
};
enum
{
CC_HEADER_ITEM_ICON = 0,
CC_HEADER_ITEM_TEXT = 1,
CC_HEADER_ITEM_BUTTONS = 2
};
CComponentsHeader();
CComponentsHeader(const int x_pos, const int y_pos, const int w, const int h = 0, const std::string& caption = "header", const char* icon_name = NULL, const int buttons = 0, bool has_shadow = CC_SHADOW_OFF,
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6, fb_pixel_t color_body = COL_MENUHEAD_PLUS_0, fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0);