Changes in uspace/lib/ui/src/image.c [d8ddf7a:2ab8ab3] in mainline
- File:
-
- 1 edited
-
uspace/lib/ui/src/image.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/image.c
rd8ddf7a r2ab8ab3 1 1 /* 2 * Copyright (c) 202 0Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 37 37 #include <gfx/bitmap.h> 38 38 #include <gfx/context.h> 39 #include <gfx/render.h> 39 40 #include <gfx/text.h> 40 41 #include <stdlib.h> … … 177 178 */ 178 179 gfx_rect_rtranslate(&offs, &irect, &srect); 179 return gfx_bitmap_render(image->bitmap, &srect, &offs); 180 180 rc = gfx_bitmap_render(image->bitmap, &srect, &offs); 181 if (rc != EOK) 182 return rc; 183 184 return gfx_update(image->res->gc); 181 185 } 182 186
Note:
See TracChangeset
for help on using the changeset viewer.
