X-Git-Url: https://git.donarmstrong.com/?p=xournal.git;a=blobdiff_plain;f=src%2Fxo-misc.h;h=617bbda92da29dcae0cffdf02b9f8f15b281c68d;hp=c4342b854e5af2147954c925c675783b5b5cb55e;hb=bc1db27c7eef7de6d5097a5e708d2de540d35b88;hpb=0c8dfdb035698cc0112a5e7b776709aca11c2f16 diff --git a/src/xo-misc.h b/src/xo-misc.h index c4342b8..617bbda 100644 --- a/src/xo-misc.h +++ b/src/xo-misc.h @@ -17,6 +17,7 @@ struct Page *new_page(struct Page *template); struct Page *new_page_with_bg(struct Background *bg, double width, double height); +void set_current_page(gdouble *pt); void realloc_cur_path(int n); void realloc_cur_widths(int n); void clear_redo_stack(void); @@ -34,7 +35,9 @@ void refstring_unref(struct Refstring *rs); // helper functions +int finite_sized(double x); void get_pointer_coords(GdkEvent *event, double *ret); +void get_current_pointer_coords(double *ret); double get_pressure_multiplier(GdkEvent *event); void fix_xinput_coords(GdkEvent *event); void update_item_bbox(struct Item *item);