Relayout images on screen resizes

The strategy is very simple, images are not rescaled or re-positioned in
any way.
This commit is contained in:
Kovid Goyal
2017-10-09 12:43:37 +05:30
parent f9b52249d1
commit 3cce238b2b
3 changed files with 11 additions and 3 deletions

View File

@@ -88,3 +88,4 @@ void grman_clear(GraphicsManager*);
const char* grman_handle_command(GraphicsManager *self, const GraphicsCommand *g, const uint8_t *payload, Cursor *c, bool *is_dirty);
bool grman_update_layers(GraphicsManager *self, unsigned int scrolled_by, float screen_left, float screen_top, float dx, float dy, unsigned int num_cols, unsigned int num_rows);
void grman_scroll_images(GraphicsManager *self, const ScrollData*);
void grman_resize(GraphicsManager*, index_type, index_type, index_type, index_type);