aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenResources.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-10-22 17:45:39 (GMT)
committermarkt <markt>2007-10-22 17:45:39 (GMT)
commitc6a2605d76927eed881e4ff9df58a9ec600bf4a2 (patch)
tree468c356ffdad6893d4f4b312f847122b66c997ed /src/ScreenResources.cc
parentf72633a0e0df146c4860b5b3940e9c3a2f7260b1 (diff)
downloadfluxbox-c6a2605d76927eed881e4ff9df58a9ec600bf4a2.zip
fluxbox-c6a2605d76927eed881e4ff9df58a9ec600bf4a2.tar.bz2
replaced ModKey with new key commands StartMoving and StartResizing
Diffstat (limited to 'src/ScreenResources.cc')
-rw-r--r--src/ScreenResources.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/ScreenResources.cc b/src/ScreenResources.cc
index e4d712a..c346c12 100644
--- a/src/ScreenResources.cc
+++ b/src/ScreenResources.cc
@@ -58,33 +58,6 @@ void FbTk::Resource<FbTk::MenuTheme::MenuMode>::setFromString(const char *str) {
58 setDefaultValue(); 58 setDefaultValue();
59} 59}
60 60
61template <>
62string FbTk::Resource<BScreen::ResizeModel>::getString() const {
63 switch (m_value) {
64 case BScreen::QUADRANTRESIZE:
65 return string("Quadrant");
66 case BScreen::BOTTOMRESIZE:
67 return string("Bottom");
68 case BScreen::CENTERRESIZE:
69 return string("Center");
70 }
71
72 return string("Default");
73}
74
75template<>
76void FbTk::Resource<BScreen::ResizeModel>::
77setFromString(char const *strval) {
78 if (strcasecmp(strval, "Bottom") == 0) {
79 m_value = BScreen::BOTTOMRESIZE;
80 } else if (strcasecmp(strval, "Quadrant") == 0) {
81 m_value = BScreen::QUADRANTRESIZE;
82 } else if (strcasecmp(strval, "Center") == 0) {
83 m_value = BScreen::CENTERRESIZE;
84 } else
85 m_value = BScreen::DEFAULTRESIZE;
86}
87
88template<> 61template<>
89string FbTk::Resource<BScreen::FollowModel>::getString() const { 62string FbTk::Resource<BScreen::FollowModel>::getString() const {
90 switch (m_value) { 63 switch (m_value) {