summaryrefslogtreecommitdiff
path: root/render/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/render.h')
-rw-r--r--render/render.h5
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);