Changeset 2ab8ab3 in mainline for uspace/srv/hid/display/window.c
- Timestamp:
- 2021-02-16T18:12:05Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68a552f
- Parents:
- ef734b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/window.c
ref734b7 r2ab8ab3 49 49 #include "window.h" 50 50 51 static void ds_window_update_cb(void *, gfx_rect_t *); 51 static void ds_window_invalidate_cb(void *, gfx_rect_t *); 52 static void ds_window_update_cb(void *); 52 53 static void ds_window_get_preview_rect(ds_window_t *, gfx_rect_t *); 53 54 … … 106 107 } 107 108 108 rc = mem_gc_create(¶ms->rect, &alloc, ds_window_ update_cb,109 (void *)wnd, &wnd->mgc);109 rc = mem_gc_create(¶ms->rect, &alloc, ds_window_invalidate_cb, 110 ds_window_update_cb, (void *)wnd, &wnd->mgc); 110 111 if (rc != EOK) 111 112 goto error; … … 789 790 } 790 791 791 /** Window memory GC update callback.792 * 793 * This is called by the window's memory GC when a rectangle us updated.794 */ 795 static void ds_window_ update_cb(void *arg, gfx_rect_t *rect)792 /** Window memory GC invalidate callback. 793 * 794 * This is called by the window's memory GC when a rectangle is modified. 795 */ 796 static void ds_window_invalidate_cb(void *arg, gfx_rect_t *rect) 796 797 { 797 798 ds_window_t *wnd = (ds_window_t *)arg; … … 806 807 } 807 808 809 /** Window memory GC update callback. 810 * 811 * This is called by the window's memory GC when it is to be updated. 812 */ 813 static void ds_window_update_cb(void *arg) 814 { 815 ds_window_t *wnd = (ds_window_t *)arg; 816 817 (void) wnd; 818 } 819 808 820 /** @} 809 821 */
Note:
See TracChangeset
for help on using the changeset viewer.