fluxbox/src/BorderTheme.cc

11 lines
392 B
C++
Raw Normal View History

2003-08-13 10:01:38 +00:00
#include "BorderTheme.hh"
BorderTheme::BorderTheme(FbTk::Theme &theme, const std::string &name,
const std::string &altname):
m_width(theme, name + ".borderWidth", altname + ".BorderWidth"),
m_color(theme, name + ".borderColor", altname + ".BorderColor") {
2003-08-16 11:05:19 +00:00
// set default values
2003-08-13 15:26:35 +00:00
*m_width = 0;
2003-08-16 11:05:19 +00:00
m_color->setFromString("black", theme.screenNum());
2003-08-13 10:01:38 +00:00
}