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
+5
View File
@@ -814,6 +814,11 @@ handle_delete_command(GraphicsManager *self, const GraphicsCommand *g, Cursor *c
// }}}
void
grman_resize(GraphicsManager *self, index_type UNUSED old_lines, index_type UNUSED lines, index_type UNUSED old_columns, index_type UNUSED columns) {
self->layers_dirty = true;
}
const char*
grman_handle_command(GraphicsManager *self, const GraphicsCommand *g, const uint8_t *payload, Cursor *c, bool *is_dirty) {
Image *image;