diff options
author | mathias <mathias> | 2005-09-16 05:39:12 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-09-16 05:39:12 (GMT) |
commit | 94acb4a27e758904a0d973129dfbdc9e686977f1 (patch) | |
tree | 7067f19c5389f10520815485841e87c820a1dd4a /src | |
parent | 4684693f3ce7185cab25e9c192ddb780db450454 (diff) | |
download | fluxbox-94acb4a27e758904a0d973129dfbdc9e686977f1.zip fluxbox-94acb4a27e758904a0d973129dfbdc9e686977f1.tar.bz2 |
use fbsetroot in default styles
Diffstat (limited to 'src')
-rw-r--r-- | src/ScreenResources.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/ScreenResources.cc b/src/ScreenResources.cc index db92b19..03514ad 100644 --- a/src/ScreenResources.cc +++ b/src/ScreenResources.cc | |||
@@ -30,11 +30,6 @@ | |||
30 | using namespace std; | 30 | using namespace std; |
31 | 31 | ||
32 | template <> | 32 | template <> |
33 | void FbTk::Resource<BScreen::PlacementPolicy>::setDefaultValue() { | ||
34 | *(*this) = BScreen::ROWSMARTPLACEMENT; | ||
35 | } | ||
36 | |||
37 | template <> | ||
38 | void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) { | 33 | void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) { |
39 | if (strcasecmp("RowSmartPlacement", str) == 0) | 34 | if (strcasecmp("RowSmartPlacement", str) == 0) |
40 | *(*this) = BScreen::ROWSMARTPLACEMENT; | 35 | *(*this) = BScreen::ROWSMARTPLACEMENT; |
@@ -66,11 +61,6 @@ string FbTk::Resource<BScreen::PlacementPolicy>::getString() { | |||
66 | } | 61 | } |
67 | 62 | ||
68 | template <> | 63 | template <> |
69 | void FbTk::Resource<BScreen::RowDirection>::setDefaultValue() { | ||
70 | *(*this) = BScreen::LEFTRIGHT; | ||
71 | } | ||
72 | |||
73 | template <> | ||
74 | void FbTk::Resource<BScreen::RowDirection>::setFromString(const char *str) { | 64 | void FbTk::Resource<BScreen::RowDirection>::setFromString(const char *str) { |
75 | if (strcasecmp("LeftToRight", str) == 0) | 65 | if (strcasecmp("LeftToRight", str) == 0) |
76 | *(*this) = BScreen::LEFTRIGHT; | 66 | *(*this) = BScreen::LEFTRIGHT; |
@@ -95,11 +85,6 @@ string FbTk::Resource<BScreen::RowDirection>::getString() { | |||
95 | 85 | ||
96 | 86 | ||
97 | template <> | 87 | template <> |
98 | void FbTk::Resource<BScreen::ColumnDirection>::setDefaultValue() { | ||
99 | *(*this) = BScreen::TOPBOTTOM; | ||
100 | } | ||
101 | |||
102 | template <> | ||
103 | void FbTk::Resource<BScreen::ColumnDirection>::setFromString(const char *str) { | 88 | void FbTk::Resource<BScreen::ColumnDirection>::setFromString(const char *str) { |
104 | if (strcasecmp("TopToBottom", str) == 0) | 89 | if (strcasecmp("TopToBottom", str) == 0) |
105 | *(*this) = BScreen::TOPBOTTOM; | 90 | *(*this) = BScreen::TOPBOTTOM; |
@@ -123,11 +108,6 @@ string FbTk::Resource<BScreen::ColumnDirection>::getString() { | |||
123 | } | 108 | } |
124 | 109 | ||
125 | template <> | 110 | template <> |
126 | void FbTk::Resource<FbTk::MenuTheme::MenuMode>::setDefaultValue() { | ||
127 | *(*this) = FbTk::MenuTheme::DELAY_OPEN; | ||
128 | } | ||
129 | |||
130 | template <> | ||
131 | string FbTk::Resource<FbTk::MenuTheme::MenuMode>::getString() { | 111 | string FbTk::Resource<FbTk::MenuTheme::MenuMode>::getString() { |
132 | switch (*(*this)) { | 112 | switch (*(*this)) { |
133 | case FbTk::MenuTheme::DELAY_OPEN: | 113 | case FbTk::MenuTheme::DELAY_OPEN: |
@@ -319,11 +299,6 @@ void FbTk::Resource<FbTk::GContext::JoinStyle> | |||
319 | } | 299 | } |
320 | 300 | ||
321 | template<> | 301 | template<> |
322 | void FbTk::Resource<FbTk::GContext::CapStyle>::setDefaultValue() { | ||
323 | *(*this) = FbTk::GContext::CAPNOTLAST; | ||
324 | } | ||
325 | |||
326 | template<> | ||
327 | std::string FbTk::Resource<FbTk::GContext::CapStyle>::getString() { | 302 | std::string FbTk::Resource<FbTk::GContext::CapStyle>::getString() { |
328 | switch(m_value) { | 303 | switch(m_value) { |
329 | case FbTk::GContext::CAPNOTLAST: | 304 | case FbTk::GContext::CAPNOTLAST: |