mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
47663fd346
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
760 lines
11 KiB
C
760 lines
11 KiB
C
/* MS-Windows Engine (aka GTK-Wimp)
|
|
*
|
|
* Copyright (C) 2003, 2004 Dom Lachowicz <cinamod@hotmail.com>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
/*
|
|
* These are the real values of these UXTHEME constants, provided so that we can
|
|
* compile/link on Win32 platforms that aren't WinXP, and also build against
|
|
* MinGW 1.0/1.1, which also doesn't have these things defined in its header files
|
|
*/
|
|
|
|
#ifndef XP_THEME_DFNS_H
|
|
#define XP_THEME_DFNS_H
|
|
|
|
typedef HANDLE HTHEME;
|
|
|
|
#define ETDT_ENABLE 0x00000002
|
|
#define ETDT_USETABTEXTURE 0x00000004
|
|
#define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE)
|
|
|
|
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 {
|
|
GBS_NORMAL = 1,
|
|
GBS_DISABLED = 2
|
|
};
|
|
|
|
enum {
|
|
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 {
|
|
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 {
|
|
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,
|
|
LIS_SELECTEDNOTFOCUS = 5
|
|
};
|
|
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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,
|
|
TIBES_FOCUSED = 5
|
|
};
|
|
|
|
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,
|
|
TIRES_FOCUSED = 5
|
|
};
|
|
|
|
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,
|
|
TTIBES_FOCUSED = 5
|
|
};
|
|
|
|
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,
|
|
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 {
|
|
TP_BUTTON = 1,
|
|
TP_DROPDOWNBUTTON = 2,
|
|
TP_SPLITBUTTON = 3,
|
|
TP_SPLITBUTTONDROPDOWN = 4,
|
|
TP_SEPARATOR = 5,
|
|
TP_SEPARATORVERT = 6
|
|
};
|
|
|
|
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,
|
|
TKP_TICS = 9, TKP_TICSVERT = 10
|
|
};
|
|
|
|
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,
|
|
TUBS_DISABLED = 5
|
|
};
|
|
|
|
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,
|
|
TUVRS_DISABLED = 5
|
|
};
|
|
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
|
};
|
|
|
|
#endif /* XP_THEME_DFNS_H */
|