Move drawing functions from shell-global into new shell-drawing.c file

Just to avoid shell-global.c bloat.
This commit is contained in:
Colin Walters
2009-07-31 16:32:24 -04:00
parent 0a1aac862f
commit 29ffa46d08
8 changed files with 236 additions and 219 deletions

View File

@ -71,28 +71,12 @@ void shell_global_ungrab_keyboard (ShellGlobal *global);
void shell_global_reexec_self (ShellGlobal *global);
ClutterCairoTexture *shell_global_create_vertical_gradient (ClutterColor *top,
ClutterColor *bottom);
ClutterCairoTexture *shell_global_create_horizontal_gradient (ClutterColor *left,
ClutterColor *right);
void shell_global_format_time_relative_pretty (ShellGlobal *global, guint delta, char **text, guint *update_time);
ClutterActor *shell_global_create_root_pixmap_actor (ShellGlobal *global);
guint shell_global_get_max_word_width (ShellGlobal *global, ClutterActor *ref, const char *text, const char *font);
void shell_global_clutter_cairo_texture_draw_clock (ClutterCairoTexture *texture,
int hour,
int minute);
void shell_global_clutter_cairo_texture_draw_glow (ClutterCairoTexture *texture,
double red,
double blue,
double green,
double alpha);
G_END_DECLS
#endif /* __SHELL_GLOBAL_H__ */