diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-01-12 12:27:55 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-01-12 12:27:55 +0000 |
| commit | 47a0525ab8f99180e1d7a1a74fb6ca620c08f7b5 (patch) | |
| tree | be5be984123acb9df49739c4daa50fc9ea92ff80 /src/engine/e_interface.h | |
| parent | 1c1677f02300e5ab10bca9c74ce7f49d4605b9d6 (diff) | |
| download | zcatch-47a0525ab8f99180e1d7a1a74fb6ca620c08f7b5.tar.gz zcatch-47a0525ab8f99180e1d7a1a74fb6ca620c08f7b5.zip | |
merged editor over to trunk
Diffstat (limited to 'src/engine/e_interface.h')
| -rw-r--r-- | src/engine/e_interface.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/engine/e_interface.h b/src/engine/e_interface.h index 666d15e5..612b2432 100644 --- a/src/engine/e_interface.h +++ b/src/engine/e_interface.h @@ -110,6 +110,7 @@ void perf_start(PERFORMACE_INFO *info); void perf_end(); void perf_dump(); +/* struct rect { float x, y, w, h; @@ -123,7 +124,7 @@ void ui_hsplit_t(const struct rect *original, int pixels, struct rect *top, stru void ui_hsplit_b(const struct rect *original, int pixels, struct rect *top, struct rect *bottom); void ui_vsplit_l(const struct rect *original, int pixels, struct rect *left, struct rect *right); void ui_vsplit_r(const struct rect *original, int pixels, struct rect *left, struct rect *right); -void ui_margin(const struct rect *original, int pixels, struct rect *new_rect); +void ui_margin(const struct rect *original, int pixels, struct rect *new_rect);*/ /* image loaders */ int gfx_load_png(IMAGE_INFO *img, const char *filename); @@ -894,6 +895,12 @@ void gfx_clear_mask(int fill); void gfx_clip_enable(int x, int y, int w, int h); void gfx_clip_disable(); +void gfx_quads_setsubset_free( + float x0, float y0, + float x1, float y1, + float x2, float y2, + float x3, float y3); + /* server snap id */ int snap_new_id(); void snap_free_id(int id); |