Changes in uspace/lib/gui/window.c [c23275a:d6be097] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
rc23275a rd6be097 677 677 } 678 678 679 int window_set_caption(window_t *win, const char *caption) 680 { 681 char *cap; 682 683 if (caption == NULL) { 684 win->caption = NULL; 685 } else { 686 cap = str_dup(caption); 687 if (cap == NULL) 688 return ENOMEM; 689 free(win->caption); 690 win->caption = cap; 691 } 692 693 win->is_focused = false; 694 handle_refresh(win); 695 696 return EOK; 697 } 698 679 699 void window_refresh(window_t *win) 680 700 {
Note:
See TracChangeset
for help on using the changeset viewer.