Changeset c2a6983 in mainline for uspace/lib/gui/canvas.c
- Timestamp:
- 2013-10-13T20:59:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 12d6c98
- Parents:
- 820104d (diff), 39bcc99 (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
-
uspace/lib/gui/canvas.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/canvas.c
r820104d rc2a6983 105 105 static void canvas_handle_keyboard_event(widget_t *widget, kbd_event_t event) 106 106 { 107 /* No-op */ 107 canvas_t *canvas = (canvas_t *) widget; 108 109 sig_send(&canvas->keyboard_event, &event); 108 110 } 109 111 … … 142 144 } 143 145 146 bool update_canvas(canvas_t *canvas, surface_t *surface) 147 { 148 if (surface != NULL) 149 canvas->surface = surface; 150 151 canvas_repaint(&canvas->widget); 152 return true; 153 } 154 144 155 canvas_t *create_canvas(widget_t *parent, sysarg_t width, sysarg_t height, 145 156 surface_t *surface)
Note:
See TracChangeset
for help on using the changeset viewer.
