r2796: New SetBackdrop() SOAP method (Matthew Weier OPhinney).
[rox-filer.git] / ROX-Filer / src / pinboard.h
blobd53ae7f54d093cf298a1465925e5d3635ee99d23
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 PangoFontDescription *pinboard_font;
14 extern GdkColor pin_text_fg_col, pin_text_bg_col;
16 typedef enum {
17 BACKDROP_NONE,
18 BACKDROP_PROGRAM,
19 BACKDROP_CENTRE, BACKDROP_SCALE, BACKDROP_STRETCH, BACKDROP_TILE
20 } BackdropStyle;
22 void pinboard_init(void);
23 void pinboard_activate(const gchar *name);
24 void pinboard_pin(const gchar *path, const gchar *name, int x, int y,
25 const gchar *shortcut);
26 void pinboard_move_icons(void);
27 const gchar *pinboard_get_name(void);
28 void pinboard_set_backdrop_box(void);
29 void pinboard_set_backdrop_app(const gchar *app);
30 GdkWindow *pinboard_get_window(void);
31 void pinboard_add_widget(GtkWidget *widget);
32 void draw_label_shadow(WrappedLabel *wl, GdkRegion *region);
33 void pinboard_set_backdrop(const gchar *path, BackdropStyle style);
35 #endif /* _PINBOARD_H */