aboutsummaryrefslogtreecommitdiff
path: root/src/application.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-11-09 19:59:57 +0800
committercrupest <crupest@outlook.com>2018-11-09 19:59:57 +0800
commit6515948e3f5b97f90446536f72e99d71e96f9de7 (patch)
tree2c962abc3447529e10e0b1d255757f60aaf9f2c6 /src/application.hpp
parentefdce672123284847bd7fb6f12ac1ec96f28f3ef (diff)
downloadcru-6515948e3f5b97f90446536f72e99d71e96f9de7.tar.gz
cru-6515948e3f5b97f90446536f72e99d71e96f9de7.tar.bz2
cru-6515948e3f5b97f90446536f72e99d71e96f9de7.zip
Add AnyMap.
Diffstat (limited to 'src/application.hpp')
-rw-r--r--src/application.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/application.hpp b/src/application.hpp
index fe38ba0f..48c87a7a 100644
--- a/src/application.hpp
+++ b/src/application.hpp
@@ -6,6 +6,7 @@
#include <functional>
#include "base.hpp"
+#include "any_map.h"
namespace cru
{
@@ -121,6 +122,11 @@ namespace cru
return caret_info_;
}
+ AnyMap* GetThemeMap()
+ {
+ return &theme_map_;
+ }
+
#ifdef CRU_DEBUG_LAYOUT
const DebugLayoutResource* GetDebugLayoutResource() const
{
@@ -143,6 +149,8 @@ namespace cru
#endif
CaretInfo caret_info_;
+
+ AnyMap theme_map_{};
};