|
marco 1.29.1
Window manager
|
Functions | |
| static void | get_window_rect (const WnckWindowDisplayInfo *win, int screen_width, int screen_height, const GdkRectangle *workspace_rect, GdkRectangle *rect) |
| static void | get_background_color (GtkStyleContext *context, GtkStateFlags state, GdkRGBA *color) |
| static void | draw_window (GtkWidget *widget, cairo_t *cr, const WnckWindowDisplayInfo *win, const GdkRectangle *winrect, GtkStateFlags state) |
| void | wnck_draw_workspace (GtkWidget *widget, cairo_t *cr, int x, int y, int width, int height, int screen_width, int screen_height, GdkPixbuf *workspace_background, gboolean is_active, const WnckWindowDisplayInfo *windows, int n_windows) |
|
static |
References get_background_color(), WnckWindowDisplayInfo::icon, WnckWindowDisplayInfo::is_active, meta_gtk_style_get_light_color(), WnckWindowDisplayInfo::mini_icon, and NULL.
Referenced by wnck_draw_workspace().
|
static |
References NULL.
Referenced by draw_window().
|
static |
References WnckWindowDisplayInfo::height, screen_height, screen_width, WnckWindowDisplayInfo::width, WnckWindowDisplayInfo::x, and WnckWindowDisplayInfo::y.
Referenced by wnck_draw_workspace().
| void wnck_draw_workspace | ( | GtkWidget * | widget, |
| cairo_t * | cr, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | screen_width, | ||
| int | screen_height, | ||
| GdkPixbuf * | workspace_background, | ||
| gboolean | is_active, | ||
| const WnckWindowDisplayInfo * | windows, | ||
| int | n_windows | ||
| ) |
References draw_window(), get_window_rect(), meta_gtk_style_get_dark_color(), screen_height, screen_width, and windows.
Referenced by meta_select_workspace_draw().