diff options
Diffstat (limited to 'src/Resources.cc')
-rw-r--r-- | src/Resources.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Resources.cc b/src/Resources.cc index 2e07725..128eedd 100644 --- a/src/Resources.cc +++ b/src/Resources.cc | |||
@@ -108,6 +108,12 @@ getString() const { | |||
108 | case WinButton::MENUICON: | 108 | case WinButton::MENUICON: |
109 | retval.append("MenuIcon"); | 109 | retval.append("MenuIcon"); |
110 | break; | 110 | break; |
111 | case WinButton::LEFT_HALF: | ||
112 | retval.append("LHalf"); | ||
113 | break; | ||
114 | case WinButton::RIGHT_HALF: | ||
115 | retval.append("RHalf"); | ||
116 | break; | ||
111 | default: | 117 | default: |
112 | break; | 118 | break; |
113 | } | 119 | } |
@@ -142,6 +148,10 @@ setFromString(char const *strval) { | |||
142 | m_value.push_back(WinButton::MENUICON); | 148 | m_value.push_back(WinButton::MENUICON); |
143 | else if (v == "close") | 149 | else if (v == "close") |
144 | m_value.push_back(WinButton::CLOSE); | 150 | m_value.push_back(WinButton::CLOSE); |
151 | else if (v == "lhalf") | ||
152 | m_value.push_back(WinButton::LEFT_HALF); | ||
153 | else if (v == "rhalf") | ||
154 | m_value.push_back(WinButton::RIGHT_HALF); | ||
145 | } | 155 | } |
146 | } | 156 | } |
147 | 157 | ||