aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/comp/e_mod_comp_update.h
blob: d8e4d7ff49fb5a35ce5fdec457fdf09e221470bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifdef E_TYPEDEFS
#else
#ifndef E_MOD_COMP_UPDATE_H
#define E_MOD_COMP_UPDATE_H

typedef struct _Update      Update;
typedef struct _Update_Rect Update_Rect;

struct _Update_Rect
{
   int x, y, w, h;
};

Update      *e_mod_comp_update_new(void);
void         e_mod_comp_update_free(Update *up);
void         e_mod_comp_update_resize(Update *up, int w, int h);
void         e_mod_comp_update_add(Update *up, int x, int y, int w, int h);
Update_Rect *e_mod_comp_update_rects_get(Update *up);
void         e_mod_comp_update_clear(Update *up);

#endif
#endif