summaryrefslogtreecommitdiff
path: root/src/resources/theme.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/theme.h')
-rw-r--r--src/resources/theme.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/theme.h b/src/resources/theme.h
index 9e7c4c3e..ae795ed4 100644
--- a/src/resources/theme.h
+++ b/src/resources/theme.h
@@ -42,7 +42,7 @@ class Skin
public:
Skin(ImageRect skin, Image *close, Image *stickyUp, Image *stickyDown,
const std::string &filePath,
- const std::string &name = "");
+ const std::string &name = std::string());
~Skin();
@@ -209,7 +209,7 @@ class Theme : public Palette, public EventListener
/**
* Get the minimum opacity allowed to skins.
*/
- float getMinimumOpacity()
+ float getMinimumOpacity() const
{ return mMinimumOpacity; }
/**
@@ -237,7 +237,7 @@ class Theme : public Palette, public EventListener
static bool tryThemePath(std::string themePath);
- void loadColors(std::string file = "");
+ void loadColors(std::string file = std::string());
/**
* Tells if the current skins opacity