r4537: Updated Russian Translation (Nikita E. Shalaev):
[rox-filer/translations.git] / ROX-Filer / src / pinboard.h
blobf78716bb7df62def793796bbc8d0f95292df445f
1 /*
2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
4 */
6 #ifndef _PINBOARD_H
7 #define _PINBOARD_H
9 extern Pinboard *current_pinboard;
11 extern Icon *pinboard_drag_in_progress;
13 extern Option o_pinboard_tasklist_per_workspace;
15 extern PangoFontDescription *pinboard_font;
16 extern GdkColor pin_text_fg_col, pin_text_bg_col;
18 typedef enum {
19 BACKDROP_NONE,
20 BACKDROP_PROGRAM,
21 BACKDROP_CENTRE, BACKDROP_SCALE, BACKDROP_STRETCH, BACKDROP_TILE
22 } BackdropStyle;
24 void pinboard_init(void);
25 void pinboard_activate(const gchar *name);
26 void pinboard_pin(const gchar *path, const gchar *name, int x, int y,
27 const gchar *shortcut);
28 void pinboard_pin_with_args(const gchar *path, const gchar *name, int x, int y,
29 const gchar *shortcut, const char *arg);
30 gboolean pinboard_remove(const gchar *path, const gchar *name);
31 void pinboard_move_icons(void);
32 const gchar *pinboard_get_name(void);
33 void pinboard_set_backdrop_app(const gchar *app);
34 GdkWindow *pinboard_get_window(void);
35 void pinboard_add_widget(GtkWidget *widget, const gchar *name);
36 void pinboard_moved_widget(GtkWidget *widget, const gchar *name,
37 int x, int y);
38 void pinboard_update_size(void);
39 void draw_label_shadow(WrappedLabel *wl, GdkRegion *region);
40 void pinboard_set_backdrop(const gchar *path, BackdropStyle style);
42 #endif /* _PINBOARD_H */