Changeset 4d9c807 in mainline for uspace/app/terminal/terminal.c
- Timestamp:
- 2019-12-13T19:02:10Z (5 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/terminal/terminal.c
r4fbdc3d r4d9c807 715 715 terminal_t *term; 716 716 gfx_bitmap_params_t params; 717 display_wnd_params_t wparams; 717 718 errno_t rc; 718 719 … … 755 756 } 756 757 757 rc = display_window_create(display, &terminal_wnd_cb, (void *) term, 758 &term->window); 758 display_wnd_params_init(&wparams); 759 wparams.rect.p0.x = 0; 760 wparams.rect.p0.y = 0; 761 wparams.rect.p1.x = width; 762 wparams.rect.p1.y = height; 763 764 rc = display_window_create(display, &wparams, &terminal_wnd_cb, 765 (void *) term, &term->window); 759 766 if (rc != EOK) { 760 767 printf("Error creating window.\n");
Note:
See TracChangeset
for help on using the changeset viewer.