summaryrefslogtreecommitdiff
path: root/src/FbWinFrame.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r--src/FbWinFrame.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh
index 900af07..e8003d3 100644
--- a/src/FbWinFrame.hh
+++ b/src/FbWinFrame.hh
@@ -63,10 +63,10 @@ public:
63 enum TabPlacement{ 63 enum TabPlacement{
64 // top and bottom placement 64 // top and bottom placement
65 TOPLEFT = 1, BOTTOMLEFT, 65 TOPLEFT = 1, BOTTOMLEFT,
66 TOPRIGHT, BOTTOMRIGHT 66 TOPRIGHT, BOTTOMRIGHT,
67 // left and right placement 67 // left and right placement
68// LEFTBOTTOM, LEFTTOP, 68 LEFTBOTTOM, LEFTTOP,
69// RIGHTBOTTOM, RIGHTTOP 69 RIGHTBOTTOM, RIGHTTOP
70 }; 70 };
71 71
72 72
@@ -200,9 +200,9 @@ public:
200 inline unsigned int height() const { return m_window.height(); } 200 inline unsigned int height() const { return m_window.height(); }
201 201
202 // extra bits for tabs 202 // extra bits for tabs
203 inline int xOffset() const { return 0; } 203 int xOffset() const;
204 int yOffset() const; 204 int yOffset() const;
205 inline int widthOffset() const { return 0; } 205 int widthOffset() const;
206 int heightOffset() const; 206 int heightOffset() const;
207 207
208 inline const FbTk::FbWindow &window() const { return m_window; } 208 inline const FbTk::FbWindow &window() const { return m_window; }
@@ -229,7 +229,7 @@ public:
229 inline const FbTk::TextButton *currentLabel() const { return m_current_label; } 229 inline const FbTk::TextButton *currentLabel() const { return m_current_label; }
230 inline bool focused() const { return m_focused; } 230 inline bool focused() const { return m_focused; }
231 inline bool isShaded() const { return m_shaded; } 231 inline bool isShaded() const { return m_shaded; }
232 inline const FbWinFrameTheme &theme() const { return m_theme; } 232 inline FbWinFrameTheme &theme() const { return m_theme; }
233 /// @return titlebar height 233 /// @return titlebar height
234 unsigned int titlebarHeight() const { return m_titlebar.height(); } 234 unsigned int titlebarHeight() const { return m_titlebar.height(); }
235 /// @return size of button 235 /// @return size of button
@@ -259,7 +259,7 @@ private:
259 259
260 /// renders to pixmap or sets color 260 /// renders to pixmap or sets color
261 void render(const FbTk::Texture &tex, FbTk::Color &col, Pixmap &pm, 261 void render(const FbTk::Texture &tex, FbTk::Color &col, Pixmap &pm,
262 unsigned int width, unsigned int height); 262 unsigned int width, unsigned int height, FbTk::Orientation orient = FbTk::ROT0);
263 263
264 //@} 264 //@}
265 265