diff options
Diffstat (limited to 'include/draw.h')
-rw-r--r-- | include/draw.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/include/draw.h b/include/draw.h index 3408142..17bf176 100644 --- a/include/draw.h +++ b/include/draw.h @@ -4,20 +4,15 @@ struct window { sfEvent event; }; -//struct field_conf { -// sfVector2i pos; -// int cOutThick; -// sfVector2f cSize; -// sfVector2i size; -//} field_conf; - void painter_init_window(); +void painter_destroy_window(); unsigned long painter_register_field(); void painter_update_field(unsigned long id, struct field *fld); - -unsigned long painter_register_shape(); -void painter_update_shape(unsigned long id, struct shape *shape); +void painter_destroy_field(unsigned long id); +void painter_destroy_fields(); void painter_draw(); -void painter_destroy_window(); + +void painter_destroy_drawables(); +void painter_destroy_all(); |