summaryrefslogtreecommitdiff
path: root/src/FbWinFrame.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r--src/FbWinFrame.hh12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh
index 2632311..1b7b197 100644
--- a/src/FbWinFrame.hh
+++ b/src/FbWinFrame.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWinFrame.hh,v 1.10 2003/07/26 16:17:01 rathnor Exp $ 22// $Id: FbWinFrame.hh,v 1.11 2003/07/28 12:11:57 fluxgen Exp $
23 23
24#ifndef FBWINFRAME_HH 24#ifndef FBWINFRAME_HH
25#define FBWINFRAME_HH 25#define FBWINFRAME_HH
@@ -32,6 +32,7 @@
32#include "FbPixmap.hh" 32#include "FbPixmap.hh"
33 33
34#include <vector> 34#include <vector>
35#include <list>
35#include <string> 36#include <string>
36#include <memory> 37#include <memory>
37 38
@@ -93,6 +94,10 @@ public:
93 void addLabelButton(FbTk::Button &btn); 94 void addLabelButton(FbTk::Button &btn);
94 /// removes a specific button from label window 95 /// removes a specific button from label window
95 void removeLabelButton(FbTk::Button &btn); 96 void removeLabelButton(FbTk::Button &btn);
97 /// move label button to the left
98 void moveLabelButtonLeft(const FbTk::Button &btn);
99 /// move label button to the right
100 void moveLabelButtonRight(const FbTk::Button &btn);
96 /// which button is to be rendered focused 101 /// which button is to be rendered focused
97 void setLabelButtonFocus(FbTk::Button &btn); 102 void setLabelButtonFocus(FbTk::Button &btn);
98 /// attach a client window for client area 103 /// attach a client window for client area
@@ -208,8 +213,9 @@ private:
208 typedef std::vector<FbTk::Button *> ButtonList; 213 typedef std::vector<FbTk::Button *> ButtonList;
209 ButtonList m_buttons_left, ///< buttons to the left 214 ButtonList m_buttons_left, ///< buttons to the left
210 m_buttons_right; ///< buttons to the right 215 m_buttons_right; ///< buttons to the right
211 ButtonList m_labelbuttons; ///< holds buttons inside label window 216 typedef std::list<FbTk::Button *> LabelList;
212 FbTk::Button *m_current_label; ///< which button is focused at the moment 217 LabelList m_labelbuttons; ///< holds label buttons inside label window
218 FbTk::Button *m_current_label; ///< which client button is focused at the moment
213 std::string m_titletext; ///< text to be displayed int m_label 219 std::string m_titletext; ///< text to be displayed int m_label
214 int m_bevel; ///< bevel between titlebar items and titlebar 220 int m_bevel; ///< bevel between titlebar items and titlebar
215 bool m_use_titlebar; ///< if we should use titlebar 221 bool m_use_titlebar; ///< if we should use titlebar