diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-13 07:18:28 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-13 07:18:28 +0000 |
| commit | 5cf61ee02354c1c9f80c11f3796afc4b948055d6 (patch) | |
| tree | 5530ecca55e11cc74e57db07d750447c7107f8ed /openbox/action.c | |
| parent | fb1696659672386bcfc0f753b67f9eeda74e93b9 (diff) | |
move the openbox engine into librender and the kernel. the theme is loaded and stored inside librender. the frame is decorated and managed inside the kernel.
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/openbox/action.c b/openbox/action.c index a9c7737a..683e205f 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -2,12 +2,11 @@ #include "focus.h" #include "stacking.h" #include "frame.h" +#include "framerender.h" #include "screen.h" #include "action.h" #include "dispatch.h" #include "openbox.h" -#include "engine.h" -#include "render/render.h" #include <glib.h> @@ -649,10 +648,10 @@ static void popup_coords(char *format, int a, int b, gboolean hide) char *text; text = g_strdup_printf(format, a, b); - engine_size_label(text, TRUE, TRUE, &s); + framerender_size_popup_label(text, &s); XMoveResizeWindow(ob_display, coords, 10, 10, s.width, s.height); - engine_render_label(coords, &s, text, TRUE, TRUE); + framerender_popup_label(coords, &s, text); g_free(text); XMapWindow(ob_display, coords); @@ -733,12 +732,12 @@ static void popup_cycle(Client *c, gboolean hide) a = screen_area(c->desktop); - engine_size_label(c->title, TRUE, TRUE, &s); + framerender_size_popup_label(c->title, &s); XMoveResizeWindow(ob_display, coords, a->x + (a->width - s.width) / 2, a->y + (a->height - s.height) / 2, s.width, s.height); - engine_render_label(coords, &s, c->title, TRUE, TRUE); + framerender_popup_label(coords, &s, c->title); XMapWindow(ob_display, coords); } |
