Changeset 4d9c807 in mainline for uspace/app/gfxdemo/gfxdemo.c
- Timestamp:
- 2019-12-13T19:02:10Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fdc8e40
- Parents:
- 4fbdc3d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/gfxdemo/gfxdemo.c
r4fbdc3d r4d9c807 456 456 display_t *display = NULL; 457 457 gfx_context_t *gc; 458 display_wnd_params_t params; 458 459 display_window_t *window = NULL; 459 460 errno_t rc; … … 467 468 } 468 469 469 rc = display_window_create(display, &wnd_cb, NULL, &window); 470 display_wnd_params_init(¶ms); 471 params.rect.p0.x = 0; 472 params.rect.p0.y = 0; 473 params.rect.p1.x = 400; 474 params.rect.p1.y = 300; 475 476 rc = display_window_create(display, ¶ms, &wnd_cb, NULL, &window); 470 477 if (rc != EOK) { 471 478 printf("Error creating window.\n");
Note:
See TracChangeset
for help on using the changeset viewer.