aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeClassic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ThemeClassic.cpp')
-rw-r--r--gui/ThemeClassic.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/gui/ThemeClassic.cpp b/gui/ThemeClassic.cpp
index b1ebba917a..f56eec08fe 100644
--- a/gui/ThemeClassic.cpp
+++ b/gui/ThemeClassic.cpp
@@ -138,6 +138,21 @@ void ThemeClassic::resetDrawArea() {
}
}
+int ThemeClassic::getTabHeight() const {
+ if (_screen.w >= 400 && _screen.h >= 300) {
+ return 21;
+ } else {
+ return 16;
+ }
+}
+
+int ThemeClassic::getTabSpacing() const {
+ return 2;
+}
+int ThemeClassic::getTabPadding() const {
+ return 3;
+}
+
void ThemeClassic::drawDialogBackground(const Common::Rect &r, uint16 hints, State state) {
if (!_initOk)
return;