Changeset a0ff947 in mainline
- Timestamp:
- 2013-11-16T19:10:41Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 12735849
- Parents:
- 7856d09
- Location:
- uspace/lib/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/canvas.c
r7856d09 ra0ff947 112 112 static void canvas_handle_position_event(widget_t *widget, pos_event_t event) 113 113 { 114 /* No-op */ 114 canvas_t *canvas = (canvas_t *) widget; 115 pos_event_t tevent; 116 117 tevent = event; 118 tevent.hpos -= widget->hpos; 119 tevent.vpos -= widget->vpos; 120 121 sig_send(&canvas->position_event, &tevent); 115 122 } 116 123 -
uspace/lib/gui/canvas.h
r7856d09 ra0ff947 50 50 surface_t *surface; 51 51 signal_t keyboard_event; 52 signal_t position_event; 52 53 } canvas_t; 53 54
Note:
See TracChangeset
for help on using the changeset viewer.