[wip] show_image(): Also take struct box
[elinks/images.git] / src / terminal / image.h
blobfc349e4f4c47491683208299eaffe60ed34912b9
1 #ifndef EL__TERMINAL_IMAGE_H
2 #define EL__TERMINAL_IMAGE_H
4 struct box;
5 struct cache_entry;
6 struct terminal;
8 extern void show_image(struct terminal *term, int imgid, struct box *box, struct cache_entry *ce);
9 extern void move_image(struct terminal *term, int imgid, int x, int y);
10 extern void hide_image(struct terminal *term, int imgid);
11 extern void sync_images(struct terminal *term);
13 extern void get_image_size(struct cache_entry *ce, int *w, int *h);
15 #endif