diff options
author | markt <markt> | 2007-10-22 17:45:39 (GMT) |
---|---|---|
committer | markt <markt> | 2007-10-22 17:45:39 (GMT) |
commit | c6a2605d76927eed881e4ff9df58a9ec600bf4a2 (patch) | |
tree | 468c356ffdad6893d4f4b312f847122b66c997ed /src/ScreenResources.cc | |
parent | f72633a0e0df146c4860b5b3940e9c3a2f7260b1 (diff) | |
download | fluxbox-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.cc | 27 |
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 | ||
61 | template <> | ||
62 | string 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 | |||
75 | template<> | ||
76 | void FbTk::Resource<BScreen::ResizeModel>:: | ||
77 | setFromString(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 | |||
88 | template<> | 61 | template<> |
89 | string FbTk::Resource<BScreen::FollowModel>::getString() const { | 62 | string FbTk::Resource<BScreen::FollowModel>::getString() const { |
90 | switch (m_value) { | 63 | switch (m_value) { |