Changeset 2821 for libcaca/trunk/caca/event.c
- Timestamp:
- Sep 27, 2008, 3:12:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/event.c
r2305 r2821 24 24 #endif 25 25 26 #include "cucul.h"27 26 #include "caca.h" 28 27 #include "caca_internals.h" … … 130 129 int caca_get_mouse_x(caca_display_t const *dp) 131 130 { 132 int width = c ucul_get_canvas_width(dp->cv);131 int width = caca_get_canvas_width(dp->cv); 133 132 134 133 if(dp->mouse.x >= width) … … 152 151 int caca_get_mouse_y(caca_display_t const *dp) 153 152 { 154 int height = c ucul_get_canvas_height(dp->cv);153 int height = caca_get_canvas_height(dp->cv); 155 154 156 155 if(dp->mouse.y >= height) … … 336 335 _caca_handle_resize(dp); 337 336 ev->type = CACA_EVENT_RESIZE; 338 ev->data.resize.w = c ucul_get_canvas_width(dp->cv);339 ev->data.resize.h = c ucul_get_canvas_height(dp->cv);337 ev->data.resize.w = caca_get_canvas_width(dp->cv); 338 ev->data.resize.h = caca_get_canvas_height(dp->cv); 340 339 return 1; 341 340 }
Note: See TracChangeset
for help on using the changeset viewer.