Changeset 2ab8ab3 in mainline for uspace/lib/ui/src/image.c
- Timestamp:
- 2021-02-16T18:12:05Z (3 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68a552f
- Parents:
- ef734b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/image.c
ref734b7 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.