summaryrefslogtreecommitdiff
path: root/engines/openbox/obengine.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-06 06:16:19 +0000
committerDana Jansens <danakj@orodu.net>2003-04-06 06:16:19 +0000
commit6016ff8658c53fca30b1ee530bea9c469f2cce84 (patch)
tree05d6c7189681dd0e908d93d47ffd34493e56927a /engines/openbox/obengine.c
parentaf21cb131a784b3d76e9930421a3595f5819dc71 (diff)
add the ability to render and size text labels for non-window-decorations
Diffstat (limited to 'engines/openbox/obengine.c')
-rw-r--r--engines/openbox/obengine.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/openbox/obengine.c b/engines/openbox/obengine.c
index bad7b51e..843a6988 100644
--- a/engines/openbox/obengine.c
+++ b/engines/openbox/obengine.c
@@ -82,6 +82,9 @@ Appearance *ob_a_icon; /* always parentrelative, so no focused/unfocused */
Appearance *ob_a_focused_handle;
Appearance *ob_a_unfocused_handle;
+Appearance *ob_app_hilite_label;
+Appearance *ob_app_unhilite_label;
+
static void layout_title(ObFrame *self);
static void mouse_event(const ObEvent *e, ObFrame *self);
@@ -140,6 +143,8 @@ gboolean startup()
ob_a_icon = appearance_new(Surface_Planar, 1);
ob_a_focused_handle = appearance_new(Surface_Planar, 0);
ob_a_unfocused_handle = appearance_new(Surface_Planar, 0);
+ ob_app_hilite_label = appearance_new(Surface_Planar, 1);
+ ob_app_unhilite_label = appearance_new(Surface_Planar, 1);
if (obtheme_load()) {
RECT_SET(ob_a_focused_pressed_desk->area, 0, 0,
@@ -284,6 +289,8 @@ void shutdown()
appearance_free(ob_a_icon);
appearance_free(ob_a_focused_handle);
appearance_free(ob_a_unfocused_handle);
+ appearance_free(ob_app_hilite_label);
+ appearance_free(ob_app_unhilite_label);
}
static Window createWindow(Window parent, unsigned long mask,