From ff7cf937629933e782eb8103dadb8b5f27f14a4d Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Wed, 28 Nov 2012 21:30:24 +0100 Subject: Started refactoring of global redraw handling. --- atari/redrawslots.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'atari/redrawslots.h') diff --git a/atari/redrawslots.h b/atari/redrawslots.h index d1f0fc285..8558b7ee6 100644 --- a/atari/redrawslots.h +++ b/atari/redrawslots.h @@ -20,6 +20,10 @@ #ifndef ATARI_REDRAW_SLOTS_H #define ATARI_REDRAW_SLOTS_H +#include +#include "utils/types.h" + + /* MAX_REDRW_SLOTS This is the number of redraw requests that the slotlist can store. @@ -40,7 +44,10 @@ struct s_redrw_slots }; void redraw_slots_init(struct s_redrw_slots * slots, short size); -void redraw_slot_schedule(struct s_redrw_slots * slots, short x0, short y0, short x1, short y1); - +void redraw_slot_schedule(struct s_redrw_slots * slots, short x0, short y0, + short x1, short y1); +void redraw_slot_schedule_grect(struct s_redrw_slots * slots, GRECT *area); +void redraw_slots_remove_area(struct s_redrw_slots * slots, int i); +void redraw_slots_free(struct s_redrw_slots * slots); #endif -- cgit v1.2.3