diff options
-rw-r--r-- | gui/ThemeData.cpp | 2 | ||||
-rw-r--r-- | gui/ThemeEngine.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/ThemeData.cpp b/gui/ThemeData.cpp index 78d47408b8..e05ca7f988 100644 --- a/gui/ThemeData.cpp +++ b/gui/ThemeData.cpp @@ -40,7 +40,7 @@ namespace GUI { /********************************************************** * Data definitions for theme engine elements *********************************************************/ -ThemeEngine::DrawDataInfo ThemeEngine::kDrawDataDefaults[] = { +const ThemeEngine::DrawDataInfo ThemeEngine::kDrawDataDefaults[] = { {kDDMainDialogBackground, "mainmenu_bg", true, kDDNone}, {kDDSpecialColorBackground, "special_bg", true, kDDNone}, {kDDPlainColorBackground, "plain_bg", true, kDDNone}, diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h index afad28c133..4435848fb3 100644 --- a/gui/ThemeEngine.h +++ b/gui/ThemeEngine.h @@ -118,9 +118,9 @@ protected: const char *name; //!< The name of the DrawData item as it appears in the Theme Description files bool buffer; //!< Sets whether this item is buffered on the backbuffer or drawn directly to the screen. DrawData parent; //!< Parent DrawData item, for items that overlay. E.g. kButtonIdle -> kButtonHover - } + }; - static kDrawDataDefaults[]; + static const DrawDataInfo kDrawDataDefaults[]; enum TextData { |