aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-04-14 15:01:55 (GMT)
committerfluxgen <fluxgen>2003-04-14 15:01:55 (GMT)
commit2928b32f3a399527113325de3db39cd75db4ee8e (patch)
tree53c9d8e3676e35a200314df700344ef2711fb7b4 /src/FbWinFrame.hh
parentb6ca956c821e1e968dda10ee7852c6933b549b08 (diff)
downloadfluxbox-2928b32f3a399527113325de3db39cd75db4ee8e.zip
fluxbox-2928b32f3a399527113325de3db39cd75db4ee8e.tar.bz2
merged with embedded-tab-branch
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r--src/FbWinFrame.hh15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh
index 841ad40..e6bd585 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.4 2003/02/15 01:54:18 fluxgen Exp $ 22// $Id: FbWinFrame.hh,v 1.5 2003/04/14 14:38:21 fluxgen Exp $
23 23
24#ifndef FBWINFRAME_HH 24#ifndef FBWINFRAME_HH
25#define FBWINFRAME_HH 25#define FBWINFRAME_HH
@@ -85,10 +85,15 @@ public:
85 void addRightButton(FbTk::Button *btn); 85 void addRightButton(FbTk::Button *btn);
86 /// remove all buttons from titlebar 86 /// remove all buttons from titlebar
87 void removeAllButtons(); 87 void removeAllButtons();
88 /// adds a button to label window
89 void addLabelButton(FbTk::Button &btn);
90 /// removes a specific button from label window
91 void removeLabelButton(FbTk::Button &btn);
92
88 /// attach a client window for client area 93 /// attach a client window for client area
89 void setClientWindow(Window win); 94 void setClientWindow(Window win);
90 /// same as above but with FbWindow, NOT IMPLEMENTED! 95 /// same as above but with FbWindow
91 void setClientWindow(FbTk::FbWindow win); 96 void setClientWindow(FbTk::FbWindow &win);
92 /// remove attached client window 97 /// remove attached client window
93 void removeClient(); 98 void removeClient();
94 /// redirect events to another eventhandler 99 /// redirect events to another eventhandler
@@ -143,6 +148,7 @@ public:
143 inline FbTk::FbWindow &gripRight() { return m_grip_right; } 148 inline FbTk::FbWindow &gripRight() { return m_grip_right; }
144 inline bool focused() const { return m_focused; } 149 inline bool focused() const { return m_focused; }
145 inline bool isShaded() const { return m_shaded; } 150 inline bool isShaded() const { return m_shaded; }
151 inline const FbWinFrameTheme &theme() const { return m_theme; }
146 /// @return titlebar height 152 /// @return titlebar height
147 unsigned int titleHeight() const; 153 unsigned int titleHeight() const;
148 /// @return size of button 154 /// @return size of button
@@ -186,12 +192,11 @@ private:
186 m_grip_left; ///< left grip 192 m_grip_left; ///< left grip
187 FbTk::FbWindow m_handle; ///< handle between grips 193 FbTk::FbWindow m_handle; ///< handle between grips
188 FbTk::FbWindow m_clientarea; ///< window that holds client window @see setClientWindow 194 FbTk::FbWindow m_clientarea; ///< window that holds client window @see setClientWindow
189 Window m_clientwin; ///< client window in clientarea
190 //@} 195 //@}
191 typedef std::vector<FbTk::Button *> ButtonList; 196 typedef std::vector<FbTk::Button *> ButtonList;
192 ButtonList m_buttons_left, ///< buttons to the left 197 ButtonList m_buttons_left, ///< buttons to the left
193 m_buttons_right; ///< buttons to the right 198 m_buttons_right; ///< buttons to the right
194 199 ButtonList m_labelbuttons; ///< holds buttons inside label window
195 std::string m_titletext; ///< text to be displayed int m_label 200 std::string m_titletext; ///< text to be displayed int m_label
196 int m_bevel; ///< bevel between titlebar items and titlebar 201 int m_bevel; ///< bevel between titlebar items and titlebar
197 bool m_use_titlebar; ///< if we should use titlebar 202 bool m_use_titlebar; ///< if we should use titlebar