mirror of
https://github.com/jtheoof/swappy.git
synced 2024-09-11 14:55:49 +03:00
20 lines
748 B
C
20 lines
748 B
C
#pragma once
|
|
|
|
#include <gdk/gdk.h>
|
|
|
|
#include "swappy.h"
|
|
|
|
void paint_add_temporary(struct swappy_state *state, double x, double y,
|
|
enum swappy_paint_type type);
|
|
void paint_update_temporary_shape(struct swappy_state *state, double x,
|
|
double y, gboolean is_control_pressed);
|
|
void paint_update_temporary_text(struct swappy_state *state,
|
|
GdkEventKey *event);
|
|
void paint_update_temporary_text_clip(struct swappy_state *state, gdouble x,
|
|
gdouble y);
|
|
void paint_commit_temporary(struct swappy_state *state);
|
|
|
|
void paint_free(gpointer data);
|
|
void paint_free_all(struct swappy_state *state);
|
|
void paint_free_list(GList **list);
|