summaryrefslogtreecommitdiff
path: root/src/gui/skin.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-04 15:50:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-04 15:50:56 +0300
commitd0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb (patch)
tree33e51821fd54d88d46df4e328f60ba148971ca55 /src/gui/skin.h
parent39cec87cfa8b1605239f4b06388bbb07f2a16a89 (diff)
downloadmv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.tar.gz
mv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.tar.bz2
mv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.tar.xz
mv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.zip
Add stringmap typedefs.
Diffstat (limited to 'src/gui/skin.h')
-rw-r--r--src/gui/skin.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/skin.h b/src/gui/skin.h
index 6350fd878..150c04eeb 100644
--- a/src/gui/skin.h
+++ b/src/gui/skin.h
@@ -25,6 +25,8 @@
#ifndef GUI_SKIN_H
#define GUI_SKIN_H
+#include "utils/stringmap.h"
+
#include <map>
#include <string>
@@ -42,7 +44,7 @@ class Skin final
const std::string &name = "",
const int padding = 3,
const int titlePadding = 4,
- std::map<std::string, int> *restrict const options = nullptr);
+ StringIntMap *restrict const options = nullptr);
A_DELETE_COPY(Skin)
@@ -130,7 +132,7 @@ class Skin final
Image *mStickyImageDown; /**< Sticky Button Image */
int mPadding;
int mTitlePadding;
- std::map<std::string, int> *mOptions;
+ StringIntMap *mOptions;
};
#endif // GUI_SKIN_H