aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenResources.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ScreenResources.cc')
-rw-r--r--src/ScreenResources.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ScreenResources.cc b/src/ScreenResources.cc
index f26a376..7a58914 100644
--- a/src/ScreenResources.cc
+++ b/src/ScreenResources.cc
@@ -58,6 +58,8 @@ std::string FbTk::Resource<BScreen::ResizeModel>::getString() const {
58 return std::string("Quadrant"); 58 return std::string("Quadrant");
59 case BScreen::BOTTOMRESIZE: 59 case BScreen::BOTTOMRESIZE:
60 return std::string("Bottom"); 60 return std::string("Bottom");
61 case BScreen::CENTERRESIZE:
62 return std::string("Center");
61 } 63 }
62 64
63 return std::string("Default"); 65 return std::string("Default");
@@ -70,6 +72,8 @@ setFromString(char const *strval) {
70 m_value = BScreen::BOTTOMRESIZE; 72 m_value = BScreen::BOTTOMRESIZE;
71 } else if (strcasecmp(strval, "Quadrant") == 0) { 73 } else if (strcasecmp(strval, "Quadrant") == 0) {
72 m_value = BScreen::QUADRANTRESIZE; 74 m_value = BScreen::QUADRANTRESIZE;
75 } else if (strcasecmp(strval, "Center") == 0) {
76 m_value = BScreen::CENTERRESIZE;
73 } else 77 } else
74 m_value = BScreen::DEFAULTRESIZE; 78 m_value = BScreen::DEFAULTRESIZE;
75} 79}