From 144be21bed1001c4a72739ef7656908cbf71e909 Mon Sep 17 00:00:00 2001
From: Max Horn
Date: Wed, 12 Nov 2008 13:14:44 +0000
Subject: GUI: Got rid of the WidgetSize stuff
svn-id: r35022
---
gui/ThemeEval.cpp | 3 ---
gui/newgui.cpp | 4 ----
gui/newgui.h | 2 --
gui/themes/default.inc | 2 --
gui/themes/scummclassic.zip | Bin 43779 -> 43668 bytes
gui/themes/scummclassic/classic_layout.stx | 1 -
gui/themes/scummclassic/classic_layout_320.stx | 1 -
gui/themes/scummmodern.zip | Bin 144236 -> 144122 bytes
gui/themes/scummmodern/scummmodern_layout.stx | 2 --
gui/themes/scummmodern/scummmodern_layout_320.stx | 1 -
gui/widget.h | 6 ------
11 files changed, 22 deletions(-)
(limited to 'gui')
diff --git a/gui/ThemeEval.cpp b/gui/ThemeEval.cpp
index a448048d60..753455e799 100644
--- a/gui/ThemeEval.cpp
+++ b/gui/ThemeEval.cpp
@@ -38,9 +38,6 @@ void ThemeEval::buildBuiltinVars() {
_builtin["kThumbnailWidth"] = kThumbnailWidth;
_builtin["kThumbnailHeight"] = kThumbnailHeight1;
_builtin["kThumbnailHeight2"] = kThumbnailHeight2;
-
- _builtin["kNormalWidgetSize"] = GUI::kNormalWidgetSize;
- _builtin["kBigWidgetSize"] = GUI::kBigWidgetSize;
}
void ThemeEval::reset() {
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index d8c3a8212e..aa778b834c 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -380,10 +380,6 @@ void NewGui::animateCursor() {
}
}
-WidgetSize NewGui::getWidgetSize() {
- return (WidgetSize)(g_gui.xmlEval()->getVar("Globals.WidgetSize"));
-}
-
void NewGui::clearDragWidget() {
if (!_dialogStack.empty())
_dialogStack.top()->_dragWidget = 0;
diff --git a/gui/newgui.h b/gui/newgui.h
index c87b4fd177..e7ee19769e 100644
--- a/gui/newgui.h
+++ b/gui/newgui.h
@@ -88,8 +88,6 @@ public:
int getStringWidth(const Common::String &str, ThemeEngine::FontStyle style = ThemeEngine::kFontStyleBold) const { return _theme->getStringWidth(str, style); }
int getCharWidth(byte c, ThemeEngine::FontStyle style = ThemeEngine::kFontStyleBold) const { return _theme->getCharWidth(c, style); }
- WidgetSize getWidgetSize();
-
void clearDragWidget();
void screenChange();
diff --git a/gui/themes/default.inc b/gui/themes/default.inc
index aa38639ee1..89a9a5d620 100644
--- a/gui/themes/default.inc
+++ b/gui/themes/default.inc
@@ -310,7 +310,6 @@
" "
" "
" "
-" "
" "
" "
" "
@@ -925,7 +924,6 @@
" "
" "
" "
-" "
" "
" "
" "
diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip
index 91b5362f55..4add34070c 100644
Binary files a/gui/themes/scummclassic.zip and b/gui/themes/scummclassic.zip differ
diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx
index 005230b569..3b447e29af 100644
--- a/gui/themes/scummclassic/classic_layout.stx
+++ b/gui/themes/scummclassic/classic_layout.stx
@@ -29,7 +29,6 @@
-
diff --git a/gui/themes/scummclassic/classic_layout_320.stx b/gui/themes/scummclassic/classic_layout_320.stx
index 16e71731e9..c77518ea21 100644
--- a/gui/themes/scummclassic/classic_layout_320.stx
+++ b/gui/themes/scummclassic/classic_layout_320.stx
@@ -29,7 +29,6 @@
-
diff --git a/gui/themes/scummmodern.zip b/gui/themes/scummmodern.zip
index 61cb8aa5e8..4e18963deb 100644
Binary files a/gui/themes/scummmodern.zip and b/gui/themes/scummmodern.zip differ
diff --git a/gui/themes/scummmodern/scummmodern_layout.stx b/gui/themes/scummmodern/scummmodern_layout.stx
index 6f8033e7bd..8748cc4261 100644
--- a/gui/themes/scummmodern/scummmodern_layout.stx
+++ b/gui/themes/scummmodern/scummmodern_layout.stx
@@ -29,8 +29,6 @@
-
-
diff --git a/gui/themes/scummmodern/scummmodern_layout_320.stx b/gui/themes/scummmodern/scummmodern_layout_320.stx
index 8ac6af33ef..312135b77e 100644
--- a/gui/themes/scummmodern/scummmodern_layout_320.stx
+++ b/gui/themes/scummmodern/scummmodern_layout_320.stx
@@ -29,7 +29,6 @@
-
diff --git a/gui/widget.h b/gui/widget.h
index 07c5964207..3174d4416a 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -66,12 +66,6 @@ enum {
kCaretBlinkTime = 300
};
-enum WidgetSize {
- kDefaultWidgetSize,
- kNormalWidgetSize,
- kBigWidgetSize
-};
-
/* Widget */
class Widget : public GuiObject {
friend class Dialog;
--
cgit v1.2.3