Changeset f126c87 in mainline for uspace/lib/gui/terminal.c
- Timestamp:
- 2016-09-01T16:46:27Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2a2fbc8
- Parents:
- 9befb0d (diff), bdfdc51c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/terminal.c
r9befb0d rf126c87 696 696 } 697 697 698 bool init_terminal(terminal_t *term, widget_t *parent, sysarg_t width,699 sysarg_t height)700 { 701 widget_init(&term->widget, parent );698 bool init_terminal(terminal_t *term, widget_t *parent, const void *data, 699 sysarg_t width, sysarg_t height) 700 { 701 widget_init(&term->widget, parent, data); 702 702 703 703 link_initialize(&term->link); … … 771 771 } 772 772 773 terminal_t *create_terminal(widget_t *parent, sysarg_t width, sysarg_t height) 773 terminal_t *create_terminal(widget_t *parent, const void *data, sysarg_t width, 774 sysarg_t height) 774 775 { 775 776 terminal_t *term = (terminal_t *) malloc(sizeof(terminal_t)); … … 777 778 return NULL; 778 779 779 bool ret = init_terminal(term, parent, width, height);780 bool ret = init_terminal(term, parent, data, width, height); 780 781 if (!ret) { 781 782 free(term);
Note:
See TracChangeset
for help on using the changeset viewer.