]> git.donarmstrong.com Git - xournal.git/blob - src/xo-paint.h
Release 0.4
[xournal.git] / src / xo-paint.h
1 void set_cursor_busy(gboolean busy);
2 void update_cursor(void);
3
4 void create_new_stroke(GdkEvent *event);
5 void continue_stroke(GdkEvent *event);
6 void finalize_stroke(void);
7
8 void do_eraser(GdkEvent *event, double radius, gboolean whole_strokes);
9
10 void do_hand(GdkEvent *event);
11
12 void start_selectrect(GdkEvent *event);
13 void finalize_selectrect(void);
14 gboolean start_movesel(GdkEvent *event);
15 void start_vertspace(GdkEvent *event);
16 void continue_movesel(GdkEvent *event);
17 void finalize_movesel(void);
18
19 void selection_delete(void);
20 void selection_to_clip(void);
21 void clipboard_paste(void);
22
23 void recolor_selection(int color);
24 void rethicken_selection(int val);
25
26 /* text functions */
27
28 #define DEFAULT_FONT "Sans"
29 #define DEFAULT_FONT_SIZE 12
30
31 void start_text(GdkEvent *event, struct Item *item);
32 void end_text(void);
33 void update_text_item_displayfont(struct Item *item);
34 void rescale_text_items(void);
35 struct Item *click_is_in_text(struct Layer *layer, double x, double y);
36 void refont_text_item(struct Item *item, gchar *font_name, double font_size);
37 void process_font_sel(gchar *str);