(svn r8511) -Codechange: make WindowClass an enumerated value.

This commit is contained in:
rubidium
2007-02-01 15:49:12 +00:00
parent 01a9abc7e5
commit c8882bd3d2
37 changed files with 124 additions and 120 deletions

View File

@@ -212,7 +212,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e)
static const WindowDesc _town_authority_desc = {
WDP_AUTO, WDP_AUTO, 317, 222,
WC_TOWN_AUTHORITY,0,
WC_TOWN_AUTHORITY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_town_authority_widgets,
TownAuthorityWndProc
@@ -306,7 +306,7 @@ static const Widget _town_view_widgets[] = {
static const WindowDesc _town_view_desc = {
WDP_AUTO, WDP_AUTO, 260, 150,
WC_TOWN_VIEW,0,
WC_TOWN_VIEW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
_town_view_widgets,
TownViewWndProc
@@ -329,7 +329,7 @@ static const Widget _town_view_scen_widgets[] = {
static const WindowDesc _town_view_scen_desc = {
WDP_AUTO, WDP_AUTO, 260, 150,
WC_TOWN_VIEW,0,
WC_TOWN_VIEW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
_town_view_scen_widgets,
TownViewWndProc
@@ -506,7 +506,7 @@ static void TownDirectoryWndProc(Window *w, WindowEvent *e)
static const WindowDesc _town_directory_desc = {
WDP_AUTO, WDP_AUTO, 208, 202,
WC_TOWN_DIRECTORY,0,
WC_TOWN_DIRECTORY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_town_directory_widgets,
TownDirectoryWndProc