Changeset 3583ffb in mainline for uspace/app/terminal


Ignore:
Timestamp:
2020-11-08T19:51:04Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f93e4e3
Parents:
8c772c4
Message:

Revert "Create UI controls based on UI object…"

This was a mistake. Controls need ui_resource object, which must be
(at least currently) specific to a window and cannot be obtained from
ui_t.

Location:
uspace/app/terminal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/terminal/terminal.c

    r8c772c4 r3583ffb  
    835835
    836836        term->gc = ui_window_get_gc(term->window);
     837        term->ui_res = ui_window_get_res(term->window);
    837838
    838839        ui_window_set_cb(term->window, &terminal_window_cb, (void *) term);
  • uspace/app/terminal/terminal.h

    r8c772c4 r3583ffb  
    5757        ui_t *ui;
    5858        ui_window_t *window;
     59        ui_resource_t *ui_res;
    5960        gfx_context_t *gc;
    6061
Note: See TracChangeset for help on using the changeset viewer.