24#include "atari/gemtk/gemtk.h"
41 if (box2->
x1 < box1->
x0)
44 if (box2->
y1 < box1->
y0)
47 if (box2->
x0 > box1->
x1)
50 if (box2->
y0 > box1->
y1)
61 area->g_x + area->g_w, area->g_y + area->g_h, force);
68 short x1,
short y1,
bool force)
void redraw_slots_init(struct s_redrw_slots *slots, short size)
void redraw_slots_remove_area(struct s_redrw_slots *slots, int i)
static bool rect_intersect(struct rect *box1, struct rect *box2)
void redraw_slots_free(struct s_redrw_slots *slots)
void redraw_slot_schedule_grect(struct s_redrw_slots *slots, GRECT *area, bool force)
void redraw_slot_schedule(struct s_redrw_slots *slots, short x0, short y0, short x1, short y1, bool force)
#define MAX_REDRW_SLOTS
This is the number of redraw requests that the slotlist can store.
This struct holds scheduled redraw requests.
struct rect areas[MAX_REDRW_SLOTS]
short volatile areas_used
Interface to a number of general purpose functionality.