Changeset 2ab8ab3 in mainline for uspace/lib/ui/src/dummygc.c
- Timestamp:
- 2021-02-16T18:12:05Z (4 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/dummygc.c
ref734b7 r2ab8ab3 1 1 /* 2 * Copyright (c) 202 0Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 199 199 { 200 200 dummygc_bitmap_t *tbm = (dummygc_bitmap_t *)bm; 201 201 202 tbm->dgc->bm_rendered = true; 202 tbm->dgc->bm_srect = *srect; 203 tbm->dgc->bm_offs = *offs; 203 204 tbm->dgc->bm_srect.p0.x = 0; 205 tbm->dgc->bm_srect.p0.y = 0; 206 tbm->dgc->bm_srect.p1.x = 0; 207 tbm->dgc->bm_srect.p1.y = 0; 208 209 tbm->dgc->bm_offs.x = 0; 210 tbm->dgc->bm_offs.y = 0; 211 212 if (srect != NULL) 213 tbm->dgc->bm_srect = *srect; 214 215 if (offs != NULL) 216 tbm->dgc->bm_offs = *offs; 217 204 218 return EOK; 205 219 }
Note:
See TracChangeset
for help on using the changeset viewer.