mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
modules/engines/ms-windows/xp_theme.[ch]
2008-02-01 Cody Russell <cody@jhu.edu> * modules/engines/ms-windows/xp_theme.[ch] * modules/engines/ms-windows/xp_theme_defs.h * modules/engines/ms-windows/msw_rc_style.c * modules/engines/ms-windows/msw_theme_main.c * modules/engines/ms-windows/msw_style.c: Re-indented and generally attempted to stylize more like the rest of the gtk+ stack's code. svn path=/trunk/; revision=19455
This commit is contained in:
parent
2a9c3e80e7
commit
47663fd346
@ -1,3 +1,12 @@
|
||||
2008-02-01 Cody Russell <cody@jhu.edu>
|
||||
|
||||
* modules/engines/ms-windows/xp_theme.[ch]
|
||||
* modules/engines/ms-windows/xp_theme_defs.h
|
||||
* modules/engines/ms-windows/msw_rc_style.c
|
||||
* modules/engines/ms-windows/msw_theme_main.c
|
||||
* modules/engines/ms-windows/msw_style.c: Re-indented and generally
|
||||
attempted to stylize more like the rest of the gtk+ stack's code.
|
||||
|
||||
2008-02-01 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* tests/testgtk.c: initialize GdkColor structs to fix warning
|
||||
|
@ -32,45 +32,45 @@ static GtkRcStyleClass *parent_class;
|
||||
GType msw_type_rc_style = 0;
|
||||
|
||||
void
|
||||
msw_rc_style_register_type (GTypeModule * module)
|
||||
msw_rc_style_register_type (GTypeModule *module)
|
||||
{
|
||||
static const GTypeInfo object_info = {
|
||||
sizeof (MswRcStyleClass),
|
||||
(GBaseInitFunc) NULL,
|
||||
(GBaseFinalizeFunc) NULL,
|
||||
(GClassInitFunc) msw_rc_style_class_init,
|
||||
NULL, /* class_finalize */
|
||||
NULL, /* class_data */
|
||||
sizeof (MswRcStyle),
|
||||
0, /* n_preallocs */
|
||||
(GInstanceInitFunc) msw_rc_style_init,
|
||||
};
|
||||
static const GTypeInfo object_info = {
|
||||
sizeof (MswRcStyleClass),
|
||||
(GBaseInitFunc) NULL,
|
||||
(GBaseFinalizeFunc) NULL,
|
||||
(GClassInitFunc) msw_rc_style_class_init,
|
||||
NULL, /* class_finalize */
|
||||
NULL, /* class_data */
|
||||
sizeof (MswRcStyle),
|
||||
0, /* n_preallocs */
|
||||
(GInstanceInitFunc) msw_rc_style_init,
|
||||
};
|
||||
|
||||
msw_type_rc_style = g_type_module_register_type (module,
|
||||
GTK_TYPE_RC_STYLE,
|
||||
"MswRcStyle",
|
||||
&object_info, 0);
|
||||
msw_type_rc_style = g_type_module_register_type (module,
|
||||
GTK_TYPE_RC_STYLE,
|
||||
"MswRcStyle",
|
||||
&object_info, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
msw_rc_style_init (MswRcStyle * style)
|
||||
msw_rc_style_init (MswRcStyle *style)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
msw_rc_style_class_init (MswRcStyleClass * klass)
|
||||
msw_rc_style_class_init (MswRcStyleClass *klass)
|
||||
{
|
||||
GtkRcStyleClass *rc_style_class = GTK_RC_STYLE_CLASS (klass);
|
||||
GtkRcStyleClass *rc_style_class = GTK_RC_STYLE_CLASS (klass);
|
||||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
rc_style_class->create_style = msw_rc_style_create_style;
|
||||
rc_style_class->create_style = msw_rc_style_create_style;
|
||||
}
|
||||
|
||||
/* Create an empty style suitable to this RC style
|
||||
*/
|
||||
static GtkStyle *
|
||||
msw_rc_style_create_style (GtkRcStyle * rc_style)
|
||||
msw_rc_style_create_style (GtkRcStyle *rc_style)
|
||||
{
|
||||
return g_object_new (MSW_TYPE_STYLE, NULL);
|
||||
return g_object_new (MSW_TYPE_STYLE, NULL);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -35,10 +35,10 @@
|
||||
#endif
|
||||
|
||||
static GModule *this_module = NULL;
|
||||
static void (*msw_rc_reset_styles) (GtkSettings * settings) = NULL;
|
||||
static GdkWindow* hidden_msg_window = NULL;
|
||||
static void (*msw_rc_reset_styles) (GtkSettings *settings) = NULL;
|
||||
static GdkWindow *hidden_msg_window = NULL;
|
||||
|
||||
static GdkWindow*
|
||||
static GdkWindow *
|
||||
create_hidden_msg_window (void)
|
||||
{
|
||||
GdkWindowAttr attributes;
|
||||
@ -60,79 +60,79 @@ create_hidden_msg_window (void)
|
||||
}
|
||||
|
||||
static GdkFilterReturn
|
||||
global_filter_func (void *xevent, GdkEvent * event, gpointer data)
|
||||
global_filter_func (void *xevent, GdkEvent *event, gpointer data)
|
||||
{
|
||||
MSG *msg = (MSG *) xevent;
|
||||
MSG *msg = (MSG *) xevent;
|
||||
|
||||
switch (msg->message)
|
||||
switch (msg->message)
|
||||
{
|
||||
/* catch theme changes */
|
||||
case WM_THEMECHANGED:
|
||||
case WM_SYSCOLORCHANGE:
|
||||
|
||||
if (msw_rc_reset_styles != NULL)
|
||||
{
|
||||
/* catch theme changes */
|
||||
case WM_THEMECHANGED:
|
||||
case WM_SYSCOLORCHANGE:
|
||||
xp_theme_reset ();
|
||||
msw_style_init ();
|
||||
|
||||
if (msw_rc_reset_styles != NULL)
|
||||
{
|
||||
xp_theme_reset ();
|
||||
msw_style_init ();
|
||||
|
||||
/* force all gtkwidgets to redraw */
|
||||
(*msw_rc_reset_styles) (gtk_settings_get_default ());
|
||||
}
|
||||
|
||||
return GDK_FILTER_REMOVE;
|
||||
|
||||
case WM_SETTINGCHANGE:
|
||||
/* catch cursor blink, etc... changes */
|
||||
msw_style_setup_system_settings ();
|
||||
return GDK_FILTER_REMOVE;
|
||||
|
||||
default:
|
||||
return GDK_FILTER_CONTINUE;
|
||||
/* force all gtkwidgets to redraw */
|
||||
(*msw_rc_reset_styles) (gtk_settings_get_default ());
|
||||
}
|
||||
|
||||
return GDK_FILTER_REMOVE;
|
||||
|
||||
case WM_SETTINGCHANGE:
|
||||
/* catch cursor blink, etc... changes */
|
||||
msw_style_setup_system_settings ();
|
||||
return GDK_FILTER_REMOVE;
|
||||
|
||||
default:
|
||||
return GDK_FILTER_CONTINUE;
|
||||
}
|
||||
}
|
||||
|
||||
G_MODULE_EXPORT void
|
||||
theme_init (GTypeModule * module)
|
||||
{
|
||||
msw_rc_style_register_type (module);
|
||||
msw_style_register_type (module);
|
||||
msw_rc_style_register_type (module);
|
||||
msw_style_register_type (module);
|
||||
|
||||
/* this craziness is required because only gtk 2.4.x and later have
|
||||
gtk_rc_reset_styles(). But we want to be able to run acceptly well on
|
||||
any GTK 2.x.x platform. */
|
||||
if (gtk_check_version (2, 4, 0) == NULL)
|
||||
{
|
||||
this_module = g_module_open (NULL, 0);
|
||||
/* this craziness is required because only gtk 2.4.x and later have
|
||||
gtk_rc_reset_styles(). But we want to be able to run acceptly well on
|
||||
any GTK 2.x.x platform. */
|
||||
if (gtk_check_version (2, 4, 0) == NULL)
|
||||
{
|
||||
this_module = g_module_open (NULL, 0);
|
||||
|
||||
if (this_module)
|
||||
g_module_symbol (this_module, "gtk_rc_reset_styles",
|
||||
(gpointer *) (&msw_rc_reset_styles));
|
||||
}
|
||||
if (this_module)
|
||||
g_module_symbol (this_module, "gtk_rc_reset_styles",
|
||||
(gpointer *) (&msw_rc_reset_styles));
|
||||
}
|
||||
|
||||
msw_style_init ();
|
||||
hidden_msg_window = create_hidden_msg_window ();
|
||||
gdk_window_add_filter (hidden_msg_window, global_filter_func, NULL);
|
||||
msw_style_init ();
|
||||
hidden_msg_window = create_hidden_msg_window ();
|
||||
gdk_window_add_filter (hidden_msg_window, global_filter_func, NULL);
|
||||
}
|
||||
|
||||
G_MODULE_EXPORT void
|
||||
theme_exit (void)
|
||||
{
|
||||
gdk_window_remove_filter (hidden_msg_window, global_filter_func, NULL);
|
||||
gdk_window_destroy (hidden_msg_window);
|
||||
hidden_msg_window = NULL;
|
||||
msw_style_finalize();
|
||||
gdk_window_remove_filter (hidden_msg_window, global_filter_func, NULL);
|
||||
gdk_window_destroy (hidden_msg_window);
|
||||
hidden_msg_window = NULL;
|
||||
msw_style_finalize ();
|
||||
|
||||
if (this_module)
|
||||
{
|
||||
g_module_close (this_module);
|
||||
this_module = NULL;
|
||||
}
|
||||
if (this_module)
|
||||
{
|
||||
g_module_close (this_module);
|
||||
this_module = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
G_MODULE_EXPORT GtkRcStyle *
|
||||
theme_create_rc_style (void)
|
||||
{
|
||||
return g_object_new (MSW_TYPE_RC_STYLE, NULL);
|
||||
return g_object_new (MSW_TYPE_RC_STYLE, NULL);
|
||||
}
|
||||
|
||||
/* The following function will be called by GTK+ when the module
|
||||
@ -140,7 +140,7 @@ theme_create_rc_style (void)
|
||||
* version of GTK+ that loads us.
|
||||
*/
|
||||
G_MODULE_EXPORT const gchar *
|
||||
g_module_check_init (GModule * module)
|
||||
g_module_check_init (GModule *module)
|
||||
{
|
||||
return gtk_check_version (2, 0, 0);
|
||||
return gtk_check_version (2, 0, 0);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -122,8 +122,8 @@ gboolean xp_theme_draw (GdkWindow *win, XpThemeElement element,
|
||||
GdkRectangle *area);
|
||||
gboolean xp_theme_is_drawable (XpThemeElement element);
|
||||
gboolean xp_theme_get_system_font (XpThemeClass klazz, XpThemeFont fontId, OUT LOGFONT *lf);
|
||||
gboolean xp_theme_get_system_color (XpThemeClass klazz, int colorId, OUT DWORD * pColor);
|
||||
gboolean xp_theme_get_system_metric (XpThemeClass klazz, int metricId, OUT int * pVal);
|
||||
gboolean xp_theme_get_system_color (XpThemeClass klazz, int colorId, OUT DWORD *pColor);
|
||||
gboolean xp_theme_get_system_metric (XpThemeClass klazz, int metricId, OUT int *pVal);
|
||||
|
||||
gboolean xp_theme_is_active (void);
|
||||
|
||||
|
@ -33,226 +33,727 @@ typedef HANDLE HTHEME;
|
||||
#define ETDT_USETABTEXTURE 0x00000004
|
||||
#define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE)
|
||||
|
||||
enum {
|
||||
BP_PUSHBUTTON = 1, BP_RADIOBUTTON = 2, BP_CHECKBOX = 3, BP_GROUPBOX = 4,
|
||||
enum {
|
||||
BP_PUSHBUTTON = 1,
|
||||
BP_RADIOBUTTON = 2,
|
||||
BP_CHECKBOX = 3,
|
||||
BP_GROUPBOX = 4,
|
||||
BP_USERBUTTON = 5
|
||||
};
|
||||
enum {
|
||||
CBS_UNCHECKEDNORMAL = 1, CBS_UNCHECKEDHOT = 2, CBS_UNCHECKEDPRESSED = 3, CBS_UNCHECKEDDISABLED = 4,
|
||||
CBS_CHECKEDNORMAL = 5, CBS_CHECKEDHOT = 6, CBS_CHECKEDPRESSED = 7, CBS_CHECKEDDISABLED = 8,
|
||||
CBS_MIXEDNORMAL = 9, CBS_MIXEDHOT = 10, CBS_MIXEDPRESSED = 11, CBS_MIXEDDISABLED = 12
|
||||
|
||||
enum {
|
||||
CBS_UNCHECKEDNORMAL = 1,
|
||||
CBS_UNCHECKEDHOT = 2,
|
||||
CBS_UNCHECKEDPRESSED = 3,
|
||||
CBS_UNCHECKEDDISABLED = 4,
|
||||
CBS_CHECKEDNORMAL = 5,
|
||||
CBS_CHECKEDHOT = 6,
|
||||
CBS_CHECKEDPRESSED = 7,
|
||||
CBS_CHECKEDDISABLED = 8,
|
||||
CBS_MIXEDNORMAL = 9,
|
||||
CBS_MIXEDHOT = 10,
|
||||
CBS_MIXEDPRESSED = 11,
|
||||
CBS_MIXEDDISABLED = 12
|
||||
};
|
||||
enum { GBS_NORMAL = 1, GBS_DISABLED = 2 };;
|
||||
|
||||
enum {
|
||||
GBS_NORMAL = 1,
|
||||
GBS_DISABLED = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
PBS_NORMAL = 1, PBS_HOT = 2, PBS_PRESSED = 3, PBS_DISABLED = 4,
|
||||
PBS_NORMAL = 1,
|
||||
PBS_HOT = 2,
|
||||
PBS_PRESSED = 3,
|
||||
PBS_DISABLED = 4,
|
||||
PBS_DEFAULTED = 5
|
||||
};
|
||||
enum {
|
||||
RBS_UNCHECKEDNORMAL = 1, RBS_UNCHECKEDHOT = 2, RBS_UNCHECKEDPRESSED = 3, RBS_UNCHECKEDDISABLED = 4,
|
||||
RBS_CHECKEDNORMAL = 5, RBS_CHECKEDHOT = 6, RBS_CHECKEDPRESSED = 7, RBS_CHECKEDDISABLED = 8
|
||||
|
||||
enum {
|
||||
RBS_UNCHECKEDNORMAL = 1,
|
||||
RBS_UNCHECKEDHOT = 2,
|
||||
RBS_UNCHECKEDPRESSED = 3,
|
||||
RBS_UNCHECKEDDISABLED = 4,
|
||||
RBS_CHECKEDNORMAL = 5,
|
||||
RBS_CHECKEDHOT = 6,
|
||||
RBS_CHECKEDPRESSED = 7,
|
||||
RBS_CHECKEDDISABLED = 8
|
||||
};
|
||||
enum { CLP_TIME = 1 };
|
||||
enum { CLS_NORMAL = 1 };
|
||||
enum { CP_DROPDOWNBUTTON = 1 };
|
||||
enum { CBXS_NORMAL = 1, CBXS_HOT = 2, CBXS_PRESSED = 3, CBXS_DISABLED = 4 };
|
||||
enum { EP_EDITTEXT = 1, EP_CARET = 2 };
|
||||
enum {
|
||||
ETS_NORMAL = 1, ETS_HOT = 2, ETS_SELECTED = 3, ETS_DISABLED = 4,
|
||||
ETS_FOCUSED = 5, ETS_READONLY = 6, ETS_ASSIST = 7
|
||||
|
||||
enum {
|
||||
CLP_TIME = 1
|
||||
};
|
||||
enum {
|
||||
EBP_HEADERBACKGROUND = 1, EBP_HEADERCLOSE = 2, EBP_HEADERPIN = 3, EBP_IEBARMENU = 4,
|
||||
EBP_NORMALGROUPBACKGROUND = 5, EBP_NORMALGROUPCOLLAPSE = 6, EBP_NORMALGROUPEXPAND = 7, EBP_NORMALGROUPHEAD = 8,
|
||||
EBP_SPECIALGROUPBACKGROUND = 9, EBP_SPECIALGROUPCOLLAPSE = 10, EBP_SPECIALGROUPEXPAND = 11, EBP_SPECIALGROUPHEAD = 12
|
||||
|
||||
enum {
|
||||
CLS_NORMAL = 1
|
||||
};
|
||||
enum { EBHC_NORMAL = 1, EBHC_HOT = 2, EBHC_PRESSED = 3 };
|
||||
enum {
|
||||
EBHP_NORMAL = 1, EBHP_HOT = 2, EBHP_PRESSED = 3, EBHP_SELECTEDNORMAL = 4,
|
||||
EBHP_SELECTEDHOT = 5, EBHP_SELECTEDPRESSED = 6
|
||||
|
||||
enum {
|
||||
CP_DROPDOWNBUTTON = 1
|
||||
};
|
||||
enum { EBM_NORMAL = 1, EBM_HOT = 2, EBM_PRESSED = 3 };
|
||||
enum { EBNGC_NORMAL = 1, EBNGC_HOT = 2, EBNGC_PRESSED = 3 };
|
||||
enum { EBNGE_NORMAL = 1, EBNGE_HOT = 2, EBNGE_PRESSED = 3 };
|
||||
enum { EBSGC_NORMAL = 1, EBSGC_HOT = 2, EBSGC_PRESSED = 3 };
|
||||
enum { EBSGE_NORMAL = 1, EBSGE_HOT = 2, EBSGE_PRESSED = 3 };
|
||||
enum { HP_HEADERITEM = 1, HP_HEADERITEMLEFT = 2, HP_HEADERITEMRIGHT = 3, HP_HEADERSORTARROW = 4 };
|
||||
enum { HIS_NORMAL = 1, HIS_HOT = 2, HIS_PRESSED = 3 };
|
||||
enum { HILS_NORMAL = 1, HILS_HOT = 2, HILS_PRESSED = 3 };
|
||||
enum { HIRS_NORMAL = 1, HIRS_HOT = 2, HIRS_PRESSED = 3 };
|
||||
enum { HSAS_SORTEDUP = 1, HSAS_SORTEDDOWN = 2 };
|
||||
enum {
|
||||
LVP_LISTITEM = 1, LVP_LISTGROUP = 2, LVP_LISTDETAIL = 3, LVP_LISTSORTEDDETAIL = 4,
|
||||
|
||||
enum {
|
||||
CBXS_NORMAL = 1,
|
||||
CBXS_HOT = 2,
|
||||
CBXS_PRESSED = 3,
|
||||
CBXS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
EP_EDITTEXT = 1,
|
||||
EP_CARET = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
ETS_NORMAL = 1,
|
||||
ETS_HOT = 2,
|
||||
ETS_SELECTED = 3,
|
||||
ETS_DISABLED = 4,
|
||||
ETS_FOCUSED = 5,
|
||||
ETS_READONLY = 6,
|
||||
ETS_ASSIST = 7
|
||||
};
|
||||
|
||||
enum {
|
||||
EBP_HEADERBACKGROUND = 1,
|
||||
EBP_HEADERCLOSE = 2,
|
||||
EBP_HEADERPIN = 3,
|
||||
EBP_IEBARMENU = 4,
|
||||
EBP_NORMALGROUPBACKGROUND = 5,
|
||||
EBP_NORMALGROUPCOLLAPSE = 6,
|
||||
EBP_NORMALGROUPEXPAND = 7,
|
||||
EBP_NORMALGROUPHEAD = 8,
|
||||
EBP_SPECIALGROUPBACKGROUND = 9,
|
||||
EBP_SPECIALGROUPCOLLAPSE = 10,
|
||||
EBP_SPECIALGROUPEXPAND = 11,
|
||||
EBP_SPECIALGROUPHEAD = 12
|
||||
};
|
||||
|
||||
enum {
|
||||
EBHC_NORMAL = 1,
|
||||
EBHC_HOT = 2,
|
||||
EBHC_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
EBHP_NORMAL = 1,
|
||||
EBHP_HOT = 2,
|
||||
EBHP_PRESSED = 3,
|
||||
EBHP_SELECTEDNORMAL = 4,
|
||||
EBHP_SELECTEDHOT = 5,
|
||||
EBHP_SELECTEDPRESSED = 6
|
||||
};
|
||||
|
||||
enum {
|
||||
EBM_NORMAL = 1,
|
||||
EBM_HOT = 2,
|
||||
EBM_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
EBNGC_NORMAL = 1,
|
||||
EBNGC_HOT = 2,
|
||||
EBNGC_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
EBNGE_NORMAL = 1,
|
||||
EBNGE_HOT = 2,
|
||||
EBNGE_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
EBSGC_NORMAL = 1,
|
||||
EBSGC_HOT = 2,
|
||||
EBSGC_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
EBSGE_NORMAL = 1,
|
||||
EBSGE_HOT = 2,
|
||||
EBSGE_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
HP_HEADERITEM = 1,
|
||||
HP_HEADERITEMLEFT = 2,
|
||||
HP_HEADERITEMRIGHT = 3,
|
||||
HP_HEADERSORTARROW = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
HIS_NORMAL = 1,
|
||||
HIS_HOT = 2,
|
||||
HIS_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
HILS_NORMAL = 1,
|
||||
HILS_HOT = 2,
|
||||
HILS_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
HIRS_NORMAL = 1,
|
||||
HIRS_HOT = 2,
|
||||
HIRS_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
HSAS_SORTEDUP = 1,
|
||||
HSAS_SORTEDDOWN = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
LVP_LISTITEM = 1,
|
||||
LVP_LISTGROUP = 2,
|
||||
LVP_LISTDETAIL = 3,
|
||||
LVP_LISTSORTEDDETAIL = 4,
|
||||
LVP_EMPTYTEXT = 5
|
||||
};
|
||||
enum {
|
||||
LIS_NORMAL = 1, LIS_HOT = 2, LIS_SELECTED = 3, LIS_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
LIS_NORMAL = 1,
|
||||
LIS_HOT = 2,
|
||||
LIS_SELECTED = 3,
|
||||
LIS_DISABLED = 4,
|
||||
LIS_SELECTEDNOTFOCUS = 5
|
||||
};
|
||||
enum {
|
||||
MP_MENUITEM = 1, MP_MENUDROPDOWN = 2, MP_MENUBARITEM = 3, MP_MENUBARDROPDOWN = 4,
|
||||
MP_CHEVRON = 5, MP_SEPARATOR = 6
|
||||
|
||||
enum {
|
||||
MP_MENUITEM = 1,
|
||||
MP_MENUDROPDOWN = 2,
|
||||
MP_MENUBARITEM = 3,
|
||||
MP_MENUBARDROPDOWN = 4,
|
||||
MP_CHEVRON = 5,
|
||||
MP_SEPARATOR = 6
|
||||
};
|
||||
enum { MS_NORMAL = 1, MS_SELECTED = 2, MS_DEMOTED = 3 };
|
||||
enum { MDP_NEWAPPBUTTON = 1, MDP_SEPERATOR = 2 };
|
||||
enum {
|
||||
MDS_NORMAL = 1, MDS_HOT = 2, MDS_PRESSED = 3, MDS_DISABLED = 4,
|
||||
MDS_CHECKED = 5, MDS_HOTCHECKED = 6
|
||||
|
||||
enum {
|
||||
MS_NORMAL = 1,
|
||||
MS_SELECTED = 2,
|
||||
MS_DEMOTED = 3
|
||||
};
|
||||
enum { PGRP_UP = 1, PGRP_DOWN = 2, PGRP_UPHORZ = 3, PGRP_DOWNHORZ = 4 };
|
||||
enum { DNS_NORMAL = 1, DNS_HOT = 2, DNS_PRESSED = 3, DNS_DISABLED = 4 };
|
||||
enum { DNHZS_NORMAL = 1, DNHZS_HOT = 2, DNHZS_PRESSED = 3, DNHZS_DISABLED = 4 };
|
||||
enum { UPS_NORMAL = 1, UPS_HOT = 2, UPS_PRESSED = 3, UPS_DISABLED = 4 };
|
||||
enum { UPHZS_NORMAL = 1, UPHZS_HOT = 2, UPHZS_PRESSED = 3, UPHZS_DISABLED = 4 };
|
||||
enum { PP_BAR = 1, PP_BARVERT = 2, PP_CHUNK = 3, PP_CHUNKVERT = 4 };
|
||||
enum {
|
||||
RP_GRIPPER = 1, RP_GRIPPERVERT = 2, RP_BAND = 3, RP_CHEVRON = 4,
|
||||
|
||||
enum {
|
||||
MDP_NEWAPPBUTTON = 1,
|
||||
MDP_SEPERATOR = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
MDS_NORMAL = 1,
|
||||
MDS_HOT = 2,
|
||||
MDS_PRESSED = 3,
|
||||
MDS_DISABLED = 4,
|
||||
MDS_CHECKED = 5,
|
||||
MDS_HOTCHECKED = 6
|
||||
};
|
||||
|
||||
enum {
|
||||
PGRP_UP = 1,
|
||||
PGRP_DOWN = 2,
|
||||
PGRP_UPHORZ = 3,
|
||||
PGRP_DOWNHORZ = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
DNS_NORMAL = 1,
|
||||
DNS_HOT = 2,
|
||||
DNS_PRESSED = 3,
|
||||
DNS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
DNHZS_NORMAL = 1,
|
||||
DNHZS_HOT = 2,
|
||||
DNHZS_PRESSED = 3,
|
||||
DNHZS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
UPS_NORMAL = 1,
|
||||
UPS_HOT = 2,
|
||||
UPS_PRESSED = 3,
|
||||
UPS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
UPHZS_NORMAL = 1,
|
||||
UPHZS_HOT = 2,
|
||||
UPHZS_PRESSED = 3,
|
||||
UPHZS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
PP_BAR = 1,
|
||||
PP_BARVERT = 2,
|
||||
PP_CHUNK = 3,
|
||||
PP_CHUNKVERT = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
RP_GRIPPER = 1,
|
||||
RP_GRIPPERVERT = 2,
|
||||
RP_BAND = 3,
|
||||
RP_CHEVRON = 4,
|
||||
RP_CHEVRONVERT = 5
|
||||
};
|
||||
enum { CHEVS_NORMAL = 1, CHEVS_HOT = 2, CHEVS_PRESSED = 3 };
|
||||
enum {
|
||||
SBP_ARROWBTN = 1, SBP_THUMBBTNHORZ = 2, SBP_THUMBBTNVERT = 3, SBP_LOWERTRACKHORZ = 4,
|
||||
SBP_UPPERTRACKHORZ = 5, SBP_LOWERTRACKVERT = 6, SBP_UPPERTRACKVERT = 7, SBP_GRIPPERHORZ = 8,
|
||||
SBP_GRIPPERVERT = 9, SBP_SIZEBOX = 10
|
||||
|
||||
enum {
|
||||
CHEVS_NORMAL = 1,
|
||||
CHEVS_HOT = 2,
|
||||
CHEVS_PRESSED = 3
|
||||
};
|
||||
enum {
|
||||
ABS_UPNORMAL = 1, ABS_UPHOT = 2, ABS_UPPRESSED = 3, ABS_UPDISABLED = 4,
|
||||
ABS_DOWNNORMAL = 5, ABS_DOWNHOT = 6, ABS_DOWNPRESSED = 7, ABS_DOWNDISABLED = 8,
|
||||
ABS_LEFTNORMAL = 9, ABS_LEFTHOT = 10, ABS_LEFTPRESSED = 11, ABS_LEFTDISABLED = 12,
|
||||
ABS_RIGHTNORMAL = 13, ABS_RIGHTHOT = 14, ABS_RIGHTPRESSED = 15, ABS_RIGHTDISABLED = 16
|
||||
|
||||
enum {
|
||||
SBP_ARROWBTN = 1,
|
||||
SBP_THUMBBTNHORZ = 2,
|
||||
SBP_THUMBBTNVERT = 3,
|
||||
SBP_LOWERTRACKHORZ = 4,
|
||||
SBP_UPPERTRACKHORZ = 5,
|
||||
SBP_LOWERTRACKVERT = 6,
|
||||
SBP_UPPERTRACKVERT = 7,
|
||||
SBP_GRIPPERHORZ = 8,
|
||||
SBP_GRIPPERVERT = 9,
|
||||
SBP_SIZEBOX = 10
|
||||
};
|
||||
enum { SCRBS_NORMAL = 1, SCRBS_HOT = 2, SCRBS_PRESSED = 3, SCRBS_DISABLED = 4 };
|
||||
enum { SZB_RIGHTALIGN = 1, SZB_LEFTALIGN = 2 };
|
||||
enum { SPNP_UP = 1, SPNP_DOWN = 2, SPNP_UPHORZ = 3, SPNP_DOWNHORZ = 4 };
|
||||
enum {
|
||||
SPP_USERPANE = 1, SPP_MOREPROGRAMS = 2, SPP_MOREPROGRAMSARROW = 3, SPP_PROGLIST = 4,
|
||||
SPP_PROGLISTSEPARATOR = 5, SPP_PLACESLIST = 6, SPP_PLACESLISTSEPARATOR = 7, SPP_LOGOFF = 8,
|
||||
SPP_LOGOFFBUTTONS = 9, SPP_USERPICTURE = 10, SPP_PREVIEW = 11
|
||||
|
||||
enum {
|
||||
ABS_UPNORMAL = 1,
|
||||
ABS_UPHOT = 2,
|
||||
ABS_UPPRESSED = 3,
|
||||
ABS_UPDISABLED = 4,
|
||||
ABS_DOWNNORMAL = 5,
|
||||
ABS_DOWNHOT = 6,
|
||||
ABS_DOWNPRESSED = 7,
|
||||
ABS_DOWNDISABLED = 8,
|
||||
ABS_LEFTNORMAL = 9,
|
||||
ABS_LEFTHOT = 10,
|
||||
ABS_LEFTPRESSED = 11,
|
||||
ABS_LEFTDISABLED = 12,
|
||||
ABS_RIGHTNORMAL = 13,
|
||||
ABS_RIGHTHOT = 14,
|
||||
ABS_RIGHTPRESSED = 15,
|
||||
ABS_RIGHTDISABLED = 16
|
||||
};
|
||||
enum { SPLS_NORMAL = 1, SPLS_HOT = 2, SPLS_PRESSED = 3 };
|
||||
enum { SPS_NORMAL = 1, SPS_HOT = 2, SPS_PRESSED = 3 };
|
||||
enum { SP_PANE = 1, SP_GRIPPERPANE = 2, SP_GRIPPER = 3 };
|
||||
enum {
|
||||
TABP_TABITEM = 1, TABP_TABITEMLEFTEDGE = 2, TABP_TABITEMRIGHTEDGE = 3, TABP_TABITEMBOTHEDGE = 4,
|
||||
TABP_TOPTABITEM = 5, TABP_TOPTABITEMLEFTEDGE = 6, TABP_TOPTABITEMRIGHTEDGE = 7, TABP_TOPTABITEMBOTHEDGE = 8,
|
||||
TABP_PANE = 9, TABP_BODY = 10
|
||||
|
||||
enum {
|
||||
SCRBS_NORMAL = 1,
|
||||
SCRBS_HOT = 2,
|
||||
SCRBS_PRESSED = 3,
|
||||
SCRBS_DISABLED = 4
|
||||
};
|
||||
enum {
|
||||
TIS_NORMAL = 1, TIS_HOT = 2, TIS_SELECTED = 3, TIS_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
SZB_RIGHTALIGN = 1,
|
||||
SZB_LEFTALIGN = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
SPNP_UP = 1,
|
||||
SPNP_DOWN = 2,
|
||||
SPNP_UPHORZ = 3,
|
||||
SPNP_DOWNHORZ = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
SPP_USERPANE = 1,
|
||||
SPP_MOREPROGRAMS = 2,
|
||||
SPP_MOREPROGRAMSARROW = 3,
|
||||
SPP_PROGLIST = 4,
|
||||
SPP_PROGLISTSEPARATOR = 5,
|
||||
SPP_PLACESLIST = 6,
|
||||
SPP_PLACESLISTSEPARATOR = 7,
|
||||
SPP_LOGOFF = 8,
|
||||
SPP_LOGOFFBUTTONS = 9,
|
||||
SPP_USERPICTURE = 10,
|
||||
SPP_PREVIEW = 11
|
||||
};
|
||||
|
||||
enum {
|
||||
SPLS_NORMAL = 1,
|
||||
SPLS_HOT = 2,
|
||||
SPLS_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
SPS_NORMAL = 1,
|
||||
SPS_HOT = 2,
|
||||
SPS_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
SP_PANE = 1,
|
||||
SP_GRIPPERPANE = 2,
|
||||
SP_GRIPPER = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
TABP_TABITEM = 1,
|
||||
TABP_TABITEMLEFTEDGE = 2,
|
||||
TABP_TABITEMRIGHTEDGE = 3,
|
||||
TABP_TABITEMBOTHEDGE = 4,
|
||||
TABP_TOPTABITEM = 5,
|
||||
TABP_TOPTABITEMLEFTEDGE = 6,
|
||||
TABP_TOPTABITEMRIGHTEDGE = 7,
|
||||
TABP_TOPTABITEMBOTHEDGE = 8,
|
||||
TABP_PANE = 9,
|
||||
TABP_BODY = 10
|
||||
};
|
||||
|
||||
enum {
|
||||
TIS_NORMAL = 1,
|
||||
TIS_HOT = 2,
|
||||
TIS_SELECTED = 3,
|
||||
TIS_DISABLED = 4,
|
||||
TIS_FOCUSED = 5
|
||||
};
|
||||
enum {
|
||||
TIBES_NORMAL = 1, TIBES_HOT = 2, TIBES_SELECTED = 3, TIBES_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
TIBES_NORMAL = 1,
|
||||
TIBES_HOT = 2,
|
||||
TIBES_SELECTED = 3,
|
||||
TIBES_DISABLED = 4,
|
||||
TIBES_FOCUSED = 5
|
||||
};
|
||||
enum {
|
||||
TILES_NORMAL = 1, TILES_HOT = 2, TILES_SELECTED = 3, TILES_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
TILES_NORMAL = 1,
|
||||
TILES_HOT = 2,
|
||||
TILES_SELECTED = 3,
|
||||
TILES_DISABLED = 4,
|
||||
TILES_FOCUSED = 5
|
||||
};
|
||||
enum {
|
||||
TIRES_NORMAL = 1, TIRES_HOT = 2, TIRES_SELECTED = 3, TIRES_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
TIRES_NORMAL = 1,
|
||||
TIRES_HOT = 2,
|
||||
TIRES_SELECTED = 3,
|
||||
TIRES_DISABLED = 4,
|
||||
TIRES_FOCUSED = 5
|
||||
};
|
||||
enum {
|
||||
TTIS_NORMAL = 1, TTIS_HOT = 2, TTIS_SELECTED = 3, TTIS_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
TTIS_NORMAL = 1,
|
||||
TTIS_HOT = 2,
|
||||
TTIS_SELECTED = 3,
|
||||
TTIS_DISABLED = 4,
|
||||
TTIS_FOCUSED = 5
|
||||
};
|
||||
enum {
|
||||
TTIBES_NORMAL = 1, TTIBES_HOT = 2, TTIBES_SELECTED = 3, TTIBES_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
TTIBES_NORMAL = 1,
|
||||
TTIBES_HOT = 2,
|
||||
TTIBES_SELECTED = 3,
|
||||
TTIBES_DISABLED = 4,
|
||||
TTIBES_FOCUSED = 5
|
||||
};
|
||||
enum {
|
||||
TTILES_NORMAL = 1, TTILES_HOT = 2, TTILES_SELECTED = 3, TTILES_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
TTILES_NORMAL = 1,
|
||||
TTILES_HOT = 2,
|
||||
TTILES_SELECTED = 3,
|
||||
TTILES_DISABLED = 4,
|
||||
TTILES_FOCUSED = 5
|
||||
};
|
||||
enum {
|
||||
TTIRES_NORMAL = 1, TTIRES_HOT = 2, TTIRES_SELECTED = 3, TTIRES_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
TTIRES_NORMAL = 1,
|
||||
TTIRES_HOT = 2,
|
||||
TTIRES_SELECTED = 3,
|
||||
TTIRES_DISABLED = 4,
|
||||
TTIRES_FOCUSED = 5
|
||||
};
|
||||
enum { TDP_GROUPCOUNT = 1, TDP_FLASHBUTTON = 2, TDP_FLASHBUTTONGROUPMENU = 3 };
|
||||
enum {
|
||||
TBP_BACKGROUNDBOTTOM = 1, TBP_BACKGROUNDRIGHT = 2, TBP_BACKGROUNDTOP = 3, TBP_BACKGROUNDLEFT = 4,
|
||||
TBP_SIZINGBARBOTTOM = 5, TBP_SIZINGBARRIGHT = 6, TBP_SIZINGBARTOP = 7, TBP_SIZINGBARLEFT = 8
|
||||
|
||||
enum {
|
||||
TDP_GROUPCOUNT = 1,
|
||||
TDP_FLASHBUTTON = 2,
|
||||
TDP_FLASHBUTTONGROUPMENU = 3
|
||||
};
|
||||
enum {
|
||||
TP_BUTTON = 1, TP_DROPDOWNBUTTON = 2, TP_SPLITBUTTON = 3, TP_SPLITBUTTONDROPDOWN = 4,
|
||||
TP_SEPARATOR = 5, TP_SEPARATORVERT = 6
|
||||
|
||||
enum {
|
||||
TBP_BACKGROUNDBOTTOM = 1,
|
||||
TBP_BACKGROUNDRIGHT = 2,
|
||||
TBP_BACKGROUNDTOP = 3,
|
||||
TBP_BACKGROUNDLEFT = 4,
|
||||
TBP_SIZINGBARBOTTOM = 5,
|
||||
TBP_SIZINGBARRIGHT = 6,
|
||||
TBP_SIZINGBARTOP = 7,
|
||||
TBP_SIZINGBARLEFT = 8
|
||||
};
|
||||
enum {
|
||||
TS_NORMAL = 1, TS_HOT = 2, TS_PRESSED = 3, TS_DISABLED = 4,
|
||||
TS_CHECKED = 5, TS_HOTCHECKED = 6
|
||||
|
||||
enum {
|
||||
TP_BUTTON = 1,
|
||||
TP_DROPDOWNBUTTON = 2,
|
||||
TP_SPLITBUTTON = 3,
|
||||
TP_SPLITBUTTONDROPDOWN = 4,
|
||||
TP_SEPARATOR = 5,
|
||||
TP_SEPARATORVERT = 6
|
||||
};
|
||||
enum {
|
||||
TTP_STANDARD = 1, TTP_STANDARDTITLE = 2, TTP_BALLOON = 3, TTP_BALLOONTITLE = 4,
|
||||
|
||||
enum {
|
||||
TS_NORMAL = 1,
|
||||
TS_HOT = 2,
|
||||
TS_PRESSED = 3,
|
||||
TS_DISABLED = 4,
|
||||
TS_CHECKED = 5,
|
||||
TS_HOTCHECKED = 6
|
||||
};
|
||||
|
||||
enum {
|
||||
TTP_STANDARD = 1,
|
||||
TTP_STANDARDTITLE = 2,
|
||||
TTP_BALLOON = 3,
|
||||
TTP_BALLOONTITLE = 4,
|
||||
TTP_CLOSE = 5
|
||||
};
|
||||
enum { TTBS_NORMAL = 1, TTBS_LINK = 2 };
|
||||
enum { TTCS_NORMAL = 1, TTCS_HOT = 2, TTCS_PRESSED = 3 };
|
||||
enum { TTSS_NORMAL = 1, TTSS_LINK = 2 };
|
||||
enum {
|
||||
TKP_TRACK = 1, TKP_TRACKVERT = 2, TKP_THUMB = 3, TKP_THUMBBOTTOM = 4,
|
||||
TKP_THUMBTOP = 5, TKP_THUMBVERT = 6, TKP_THUMBLEFT = 7, TKP_THUMBRIGHT = 8,
|
||||
|
||||
enum {
|
||||
TTBS_NORMAL = 1,
|
||||
TTBS_LINK = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
TTCS_NORMAL = 1,
|
||||
TTCS_HOT = 2,
|
||||
TTCS_PRESSED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
TTSS_NORMAL = 1,
|
||||
TTSS_LINK = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
TKP_TRACK = 1,
|
||||
TKP_TRACKVERT = 2,
|
||||
TKP_THUMB = 3,
|
||||
TKP_THUMBBOTTOM = 4,
|
||||
TKP_THUMBTOP = 5,
|
||||
TKP_THUMBVERT = 6,
|
||||
TKP_THUMBLEFT = 7,
|
||||
TKP_THUMBRIGHT = 8,
|
||||
TKP_TICS = 9, TKP_TICSVERT = 10
|
||||
};
|
||||
enum {
|
||||
TUS_NORMAL = 1, TUS_HOT = 2, TUS_PRESSED = 3, TUS_FOCUSED = 4,
|
||||
|
||||
enum {
|
||||
TUS_NORMAL = 1,
|
||||
TUS_HOT = 2,
|
||||
TUS_PRESSED = 3,
|
||||
TUS_FOCUSED = 4,
|
||||
TUS_DISABLED = 5
|
||||
};
|
||||
enum {
|
||||
TUBS_NORMAL = 1, TUBS_HOT = 2, TUBS_PRESSED = 3, TUBS_FOCUSED = 4,
|
||||
|
||||
enum {
|
||||
TUBS_NORMAL = 1,
|
||||
TUBS_HOT = 2,
|
||||
TUBS_PRESSED = 3,
|
||||
TUBS_FOCUSED = 4,
|
||||
TUBS_DISABLED = 5
|
||||
};
|
||||
enum {
|
||||
TUVLS_NORMAL = 1, TUVLS_HOT = 2, TUVLS_PRESSED = 3, TUVLS_FOCUSED = 4,
|
||||
|
||||
enum {
|
||||
TUVLS_NORMAL = 1,
|
||||
TUVLS_HOT = 2,
|
||||
TUVLS_PRESSED = 3,
|
||||
TUVLS_FOCUSED = 4,
|
||||
TUVLS_DISABLED = 5
|
||||
};
|
||||
enum {
|
||||
TUVRS_NORMAL = 1, TUVRS_HOT = 2, TUVRS_PRESSED = 3, TUVRS_FOCUSED = 4,
|
||||
|
||||
enum {
|
||||
TUVRS_NORMAL = 1,
|
||||
TUVRS_HOT = 2,
|
||||
TUVRS_PRESSED = 3,
|
||||
TUVRS_FOCUSED = 4,
|
||||
TUVRS_DISABLED = 5
|
||||
};
|
||||
enum {
|
||||
TUTS_NORMAL = 1, TUTS_HOT = 2, TUTS_PRESSED = 3, TUTS_FOCUSED = 4,
|
||||
|
||||
enum {
|
||||
TUTS_NORMAL = 1,
|
||||
TUTS_HOT = 2,
|
||||
TUTS_PRESSED = 3,
|
||||
TUTS_FOCUSED = 4,
|
||||
TUTS_DISABLED = 5
|
||||
};
|
||||
enum {
|
||||
TUVS_NORMAL = 1, TUVS_HOT = 2, TUVS_PRESSED = 3, TUVS_FOCUSED = 4,
|
||||
|
||||
enum {
|
||||
TUVS_NORMAL = 1,
|
||||
TUVS_HOT = 2,
|
||||
TUVS_PRESSED = 3,
|
||||
TUVS_FOCUSED = 4,
|
||||
TUVS_DISABLED = 5
|
||||
};
|
||||
enum { TSS_NORMAL = 1 };
|
||||
enum { TSVS_NORMAL = 1 };
|
||||
enum { TRS_NORMAL = 1 };
|
||||
enum { TRVS_NORMAL = 1 };
|
||||
enum { TNP_BACKGROUND = 1, TNP_ANIMBACKGROUND = 2 };
|
||||
enum { TVP_TREEITEM = 1, TVP_GLYPH = 2, TVP_BRANCH = 3 };
|
||||
enum { GLPS_CLOSED = 1, GLPS_OPENED = 2 };
|
||||
enum {
|
||||
TREIS_NORMAL = 1, TREIS_HOT = 2, TREIS_SELECTED = 3, TREIS_DISABLED = 4,
|
||||
|
||||
enum {
|
||||
TSS_NORMAL = 1
|
||||
};
|
||||
|
||||
enum {
|
||||
TSVS_NORMAL = 1
|
||||
};
|
||||
|
||||
enum {
|
||||
TRS_NORMAL = 1
|
||||
};
|
||||
|
||||
enum {
|
||||
TRVS_NORMAL = 1
|
||||
};
|
||||
|
||||
enum {
|
||||
TNP_BACKGROUND = 1,
|
||||
TNP_ANIMBACKGROUND = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
TVP_TREEITEM = 1,
|
||||
TVP_GLYPH = 2,
|
||||
TVP_BRANCH = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
GLPS_CLOSED = 1,
|
||||
GLPS_OPENED = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
TREIS_NORMAL = 1,
|
||||
TREIS_HOT = 2,
|
||||
TREIS_SELECTED = 3,
|
||||
TREIS_DISABLED = 4,
|
||||
TREIS_SELECTEDNOTFOCUS = 5
|
||||
};
|
||||
enum {
|
||||
WP_CAPTION = 1, WP_SMALLCAPTION = 2, WP_MINCAPTION = 3, WP_SMALLMINCAPTION = 4,
|
||||
WP_MAXCAPTION = 5, WP_SMALLMAXCAPTION = 6, WP_FRAMELEFT = 7, WP_FRAMERIGHT = 8,
|
||||
WP_FRAMEBOTTOM = 9, WP_SMALLFRAMELEFT = 10, WP_SMALLFRAMERIGHT = 11, WP_SMALLFRAMEBOTTOM = 12,
|
||||
WP_SYSBUTTON = 13, WP_MDISYSBUTTON = 14, WP_MINBUTTON = 15, WP_MDIMINBUTTON = 16,
|
||||
WP_MAXBUTTON = 17, WP_CLOSEBUTTON = 18, WP_SMALLCLOSEBUTTON = 19, WP_MDICLOSEBUTTON = 20,
|
||||
WP_RESTOREBUTTON = 21, WP_MDIRESTOREBUTTON = 22, WP_HELPBUTTON = 23, WP_MDIHELPBUTTON = 24,
|
||||
WP_HORZSCROLL = 25, WP_HORZTHUMB = 26, WP_VERTSCROLL = 27, WP_VERTTHUMB = 28,
|
||||
WP_DIALOG = 29, WP_CAPTIONSIZINGTEMPLATE = 30, WP_SMALLCAPTIONSIZINGTEMPLATE = 31, WP_FRAMELEFTSIZINGTEMPLATE = 32,
|
||||
WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33, WP_FRAMERIGHTSIZINGTEMPLATE = 34, WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35, WP_FRAMEBOTTOMSIZINGTEMPLATE = 36,
|
||||
enum {
|
||||
WP_CAPTION = 1,
|
||||
WP_SMALLCAPTION = 2,
|
||||
WP_MINCAPTION = 3,
|
||||
WP_SMALLMINCAPTION = 4,
|
||||
WP_MAXCAPTION = 5,
|
||||
WP_SMALLMAXCAPTION = 6,
|
||||
WP_FRAMELEFT = 7,
|
||||
WP_FRAMERIGHT = 8,
|
||||
WP_FRAMEBOTTOM = 9,
|
||||
WP_SMALLFRAMELEFT = 10,
|
||||
WP_SMALLFRAMERIGHT = 11,
|
||||
WP_SMALLFRAMEBOTTOM = 12,
|
||||
WP_SYSBUTTON = 13,
|
||||
WP_MDISYSBUTTON = 14,
|
||||
WP_MINBUTTON = 15,
|
||||
WP_MDIMINBUTTON = 16,
|
||||
WP_MAXBUTTON = 17,
|
||||
WP_CLOSEBUTTON = 18,
|
||||
WP_SMALLCLOSEBUTTON = 19,
|
||||
WP_MDICLOSEBUTTON = 20,
|
||||
WP_RESTOREBUTTON = 21,
|
||||
WP_MDIRESTOREBUTTON = 22,
|
||||
WP_HELPBUTTON = 23,
|
||||
WP_MDIHELPBUTTON = 24,
|
||||
WP_HORZSCROLL = 25,
|
||||
WP_HORZTHUMB = 26,
|
||||
WP_VERTSCROLL = 27,
|
||||
WP_VERTTHUMB = 28,
|
||||
WP_DIALOG = 29,
|
||||
WP_CAPTIONSIZINGTEMPLATE = 30,
|
||||
WP_SMALLCAPTIONSIZINGTEMPLATE = 31,
|
||||
WP_FRAMELEFTSIZINGTEMPLATE = 32,
|
||||
WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33,
|
||||
WP_FRAMERIGHTSIZINGTEMPLATE = 34,
|
||||
WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35,
|
||||
WP_FRAMEBOTTOMSIZINGTEMPLATE = 36,
|
||||
WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37
|
||||
};
|
||||
enum { CS_ACTIVE = 1, CS_INACTIVE = 2, CS_DISABLED = 3 };
|
||||
enum { CBS_NORMAL = 1, CBS_HOT = 2, CBS_PUSHED = 3, CBS_DISABLED = 4 };
|
||||
enum { FS_ACTIVE = 1, FS_INACTIVE = 2 };
|
||||
enum { HBS_NORMAL = 1, HBS_HOT = 2, HBS_PUSHED = 3, HBS_DISABLED = 4 };
|
||||
enum { HSS_NORMAL = 1, HSS_HOT = 2, HSS_PUSHED = 3, HSS_DISABLED = 4 };
|
||||
enum { HTS_NORMAL = 1, HTS_HOT = 2, HTS_PUSHED = 3, HTS_DISABLED = 4 };
|
||||
enum { MAXBS_NORMAL = 1, MAXBS_HOT = 2, MAXBS_PUSHED = 3, MAXBS_DISABLED = 4 };
|
||||
enum { MXCS_ACTIVE = 1, MXCS_INACTIVE = 2, MXCS_DISABLED = 3 };
|
||||
enum { MINBS_NORMAL = 1, MINBS_HOT = 2, MINBS_PUSHED = 3, MINBS_DISABLED = 4 };
|
||||
enum { RBS_NORMAL = 1, RBS_HOT = 2, RBS_PUSHED = 3, RBS_DISABLED = 4 };
|
||||
enum { SBS_NORMAL = 1, SBS_HOT = 2, SBS_PUSHED = 3, SBS_DISABLED = 4 };
|
||||
enum { MNCS_ACTIVE = 1, MNCS_INACTIVE = 2, MNCS_DISABLED = 3 };
|
||||
enum { VSS_NORMAL = 1, VSS_HOT = 2, VSS_PUSHED = 3, VSS_DISABLED = 4 };
|
||||
enum { VTS_NORMAL = 1, VTS_HOT = 2, VTS_PUSHED = 3, VTS_DISABLED = 4 };
|
||||
|
||||
enum {
|
||||
CS_ACTIVE = 1,
|
||||
CS_INACTIVE = 2,
|
||||
CS_DISABLED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
CBS_NORMAL = 1,
|
||||
CBS_HOT = 2,
|
||||
CBS_PUSHED = 3,
|
||||
CBS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
FS_ACTIVE = 1,
|
||||
FS_INACTIVE = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
HBS_NORMAL = 1,
|
||||
HBS_HOT = 2,
|
||||
HBS_PUSHED = 3,
|
||||
HBS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
HSS_NORMAL = 1,
|
||||
HSS_HOT = 2,
|
||||
HSS_PUSHED = 3,
|
||||
HSS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
HTS_NORMAL = 1,
|
||||
HTS_HOT = 2,
|
||||
HTS_PUSHED = 3,
|
||||
HTS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
MAXBS_NORMAL = 1,
|
||||
MAXBS_HOT = 2,
|
||||
MAXBS_PUSHED = 3,
|
||||
MAXBS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
MXCS_ACTIVE = 1,
|
||||
MXCS_INACTIVE = 2,
|
||||
MXCS_DISABLED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
MINBS_NORMAL = 1,
|
||||
MINBS_HOT = 2,
|
||||
MINBS_PUSHED = 3,
|
||||
MINBS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
RBS_NORMAL = 1,
|
||||
RBS_HOT = 2,
|
||||
RBS_PUSHED = 3,
|
||||
RBS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
SBS_NORMAL = 1,
|
||||
SBS_HOT = 2,
|
||||
SBS_PUSHED = 3,
|
||||
SBS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
MNCS_ACTIVE = 1,
|
||||
MNCS_INACTIVE = 2,
|
||||
MNCS_DISABLED = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
VSS_NORMAL = 1,
|
||||
VSS_HOT = 2,
|
||||
VSS_PUSHED = 3,
|
||||
VSS_DISABLED = 4
|
||||
};
|
||||
|
||||
enum {
|
||||
VTS_NORMAL = 1,
|
||||
VTS_HOT = 2,
|
||||
VTS_PUSHED = 3,
|
||||
VTS_DISABLED = 4
|
||||
};
|
||||
|
||||
#endif /* XP_THEME_DFNS_H */
|
||||
|
Loading…
Reference in New Issue
Block a user