aboutsummaryrefslogtreecommitdiff
path: root/src/BorderTheme.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/BorderTheme.cc')
-rw-r--r--src/BorderTheme.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/BorderTheme.cc b/src/BorderTheme.cc
new file mode 100644
index 0000000..fe387a1
--- /dev/null
+++ b/src/BorderTheme.cc
@@ -0,0 +1,10 @@
1#include "BorderTheme.hh"
2
3BorderTheme::BorderTheme(FbTk::Theme &theme, const std::string &name,
4 const std::string &altname):
5 m_width(theme, name + ".borderWidth", altname + ".BorderWidth"),
6 m_color(theme, name + ".borderColor", altname + ".BorderColor") {
7 // set default values
8 *m_width = 0;
9 m_color->setFromString("black", theme.screenNum());
10}