aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenResources.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ScreenResources.cc')
-rw-r--r--src/ScreenResources.cc25
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 @@
30using namespace std; 30using namespace std;
31 31
32template <> 32template <>
33void FbTk::Resource<BScreen::PlacementPolicy>::setDefaultValue() {
34 *(*this) = BScreen::ROWSMARTPLACEMENT;
35}
36
37template <>
38void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) { 33void 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
68template <> 63template <>
69void FbTk::Resource<BScreen::RowDirection>::setDefaultValue() {
70 *(*this) = BScreen::LEFTRIGHT;
71}
72
73template <>
74void FbTk::Resource<BScreen::RowDirection>::setFromString(const char *str) { 64void 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
97template <> 87template <>
98void FbTk::Resource<BScreen::ColumnDirection>::setDefaultValue() {
99 *(*this) = BScreen::TOPBOTTOM;
100}
101
102template <>
103void FbTk::Resource<BScreen::ColumnDirection>::setFromString(const char *str) { 88void 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
125template <> 110template <>
126void FbTk::Resource<FbTk::MenuTheme::MenuMode>::setDefaultValue() {
127 *(*this) = FbTk::MenuTheme::DELAY_OPEN;
128}
129
130template <>
131string FbTk::Resource<FbTk::MenuTheme::MenuMode>::getString() { 111string 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
321template<> 301template<>
322void FbTk::Resource<FbTk::GContext::CapStyle>::setDefaultValue() {
323 *(*this) = FbTk::GContext::CAPNOTLAST;
324}
325
326template<>
327std::string FbTk::Resource<FbTk::GContext::CapStyle>::getString() { 302std::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: