aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-12-09 08:48:08 (GMT)
committerrathnor <rathnor>2003-12-09 08:48:08 (GMT)
commit15b41a3c35992c61abba76a21cf3731b066a898e (patch)
tree4426c9830c7627b07dbe2599acb6d7fbdaa5b424 /src/FbWinFrame.hh
parentd84054ec5d1678f055bb90f2bf21d5709b385fdd (diff)
downloadfluxbox_pavel-15b41a3c35992c61abba76a21cf3731b066a898e.zip
fluxbox_pavel-15b41a3c35992c61abba76a21cf3731b066a898e.tar.bz2
add window.label.active theme items
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 9c26903..f1db3fe 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.24 2003/10/28 02:17:02 rathnor Exp $ 22// $Id: FbWinFrame.hh,v 1.25 2003/12/09 08:48:08 rathnor Exp $
23 23
24#ifndef FBWINFRAME_HH 24#ifndef FBWINFRAME_HH
25#define FBWINFRAME_HH 25#define FBWINFRAME_HH
@@ -197,14 +197,18 @@ private:
197 void renderTitlebar(); 197 void renderTitlebar();
198 void renderHandles(); 198 void renderHandles();
199 void renderButtons(); 199 void renderButtons();
200 // focused => has focus
200 void renderButtonFocus(FbTk::TextButton &button); 201 void renderButtonFocus(FbTk::TextButton &button);
202 // unfocus => has no focus, label not the active one
201 void renderButtonUnfocus(FbTk::TextButton &button); 203 void renderButtonUnfocus(FbTk::TextButton &button);
204 // active => doesn't have keybaord focus, but is the active tab
205 void renderButtonActive(FbTk::TextButton &button);
202 void renderLabel(); 206 void renderLabel();
203 /// renders to pixmap or sets color 207 /// renders to pixmap or sets color
204 void render(const FbTk::Texture &tex, FbTk::Color &col, Pixmap &pm, 208 void render(const FbTk::Texture &tex, FbTk::Color &col, Pixmap &pm,
205 unsigned int width, unsigned int height); 209 unsigned int width, unsigned int height);
206 void getUnfocusPixmap(Pixmap &label_pm, Pixmap &title_pm, 210 void getActiveLabelPixmap(Pixmap &label_pm, Pixmap &title_pm,
207 FbTk::Color &label_color, FbTk::Color &title_color); 211 FbTk::Color &label_color, FbTk::Color &title_color);
208 void getCurrentFocusPixmap(Pixmap &label_pm, Pixmap &title_pm, 212 void getCurrentFocusPixmap(Pixmap &label_pm, Pixmap &title_pm,
209 FbTk::Color &label_color, FbTk::Color &title_color); 213 FbTk::Color &label_color, FbTk::Color &title_color);
210 void renderLabelButtons(); 214 void renderLabelButtons();
@@ -256,6 +260,8 @@ private:
256 FbTk::Color m_label_focused_color; ///< color for focused label 260 FbTk::Color m_label_focused_color; ///< color for focused label
257 Pixmap m_label_unfocused_pm; ///< pixmap for unfocused label 261 Pixmap m_label_unfocused_pm; ///< pixmap for unfocused label
258 FbTk::Color m_label_unfocused_color; ///< color for unfocued label 262 FbTk::Color m_label_unfocused_color; ///< color for unfocued label
263 Pixmap m_label_active_pm; ///< pixmap for active label
264 FbTk::Color m_label_active_color; ///< color for active label
259 265
260 FbTk::Color m_handle_focused_color, m_handle_unfocused_color; 266 FbTk::Color m_handle_focused_color, m_handle_unfocused_color;
261 Pixmap m_handle_focused_pm, m_handle_unfocused_pm; 267 Pixmap m_handle_focused_pm, m_handle_unfocused_pm;