Changes in uspace/app/terminal/terminal.c [4c6fd56:211fd68] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/terminal/terminal.c
r4c6fd56 r211fd68 1 1 /* 2 * Copyright (c) 202 3Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * Copyright (c) 2012 Petr Koupy 4 4 * All rights reserved. … … 974 974 wparams.placement = ui_wnd_place_top_left; 975 975 976 rc = ui_create(display_spec, &term->ui); 977 if (rc != EOK) { 978 printf("Error creating UI on %s.\n", display_spec); 979 goto error; 980 } 981 976 982 /* 977 983 * Compute window rectangle such that application area corresponds 978 984 * to rect 979 985 */ 980 ui_wdecor_rect_from_app( wparams.style, &rect, &wrect);986 ui_wdecor_rect_from_app(term->ui, wparams.style, &rect, &wrect); 981 987 off = wrect.p0; 982 988 gfx_rect_rtranslate(&off, &wrect, &wparams.rect); 983 989 984 990 term->off = off; 985 986 rc = ui_create(display_spec, &term->ui);987 if (rc != EOK) {988 printf("Error creating UI on %s.\n", display_spec);989 goto error;990 }991 991 992 992 rc = ui_window_create(term->ui, &wparams, &term->window);
Note:
See TracChangeset
for help on using the changeset viewer.