diff options
| author | Derek Foreman <manmower@gmail.com> | 2003-03-28 03:25:51 +0000 |
|---|---|---|
| committer | Derek Foreman <manmower@gmail.com> | 2003-03-28 03:25:51 +0000 |
| commit | 3d6b970a4b25627e00fb4a4de6706fe067d58186 (patch) | |
| tree | a086ef889e4a058d742ddfeb888d0010b21ad1ca /render/render.h | |
| parent | 69abb86cb0876a26d5d34da9d9c1de7d968cafc2 (diff) | |
moved paint's arguments into the appearance struct
Diffstat (limited to 'render/render.h')
| -rw-r--r-- | render/render.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/render/render.h b/render/render.h index d3752e65..d5f5f8bc 100644 --- a/render/render.h +++ b/render/render.h @@ -131,6 +131,7 @@ typedef struct Texture { typedef struct Appearance { Surface surface; + Rect area; int textures; Texture *texture; Pixmap pixmap; @@ -141,11 +142,11 @@ extern Visual *render_visual; extern int render_depth; extern Colormap render_colormap; -void (*paint)(Window win, Appearance *l, int x, int y, int w, int h); +void (*paint)(Window win, Appearance *l); void render_startup(void); void init_appearance(Appearance *l); -void x_paint(Window win, Appearance *l, int x, int y, int w, int h); +void x_paint(Window win, Appearance *l); void render_shutdown(void); Appearance *appearance_new(SurfaceType type, int numtex); Appearance *appearance_copy(Appearance *a); |
