diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-20 07:58:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-20 07:58:51 +0000 |
| commit | 3f32dfa87e08556d7f6a58efab9b7479e515be26 (patch) | |
| tree | 95aba7a2acfefeab50b6f98b6dcad92f4c0a53c7 /render/mask.h | |
| parent | 49268650b4564def10eeb0d21d5c0dffa4972857 (diff) | |
this is going to break the kernel/ building.
lots of modifications to the render API, prefixing everything, making proper
names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
Diffstat (limited to 'render/mask.h')
| -rw-r--r-- | render/mask.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/render/mask.h b/render/mask.h index 9328daf1..b18baffc 100644 --- a/render/mask.h +++ b/render/mask.h @@ -4,9 +4,10 @@ #include "render.h" #include "kernel/geom.h" -pixmap_mask *pixmap_mask_new(int w, int h, char *data); -pixmap_mask *pixmap_mask_copy(pixmap_mask *src); -void pixmap_mask_free(pixmap_mask *m); -void mask_draw(Pixmap p, TextureMask *m, Rect *position); +RrPixmapMask *RrPixmapMaskNew(const RrInstance *inst, + gint w, gint h, const gchar *data); +void RrPixmapMaskFree(RrPixmapMask *m); +RrPixmapMask *RrPixmapMaskCopy(const RrPixmapMask *src); +void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const Rect *area); #endif |
