comparison src/X_main.c @ 73:9ab15ebc9061

Observer for mouse events
author Thinker K.F. Li <thinker@branda.to>
date Mon, 18 Aug 2008 01:59:26 +0800
parents 1ca417f741f1
children a6763f080da5
comparison
equal deleted inserted replaced
72:171a8cb7e4b5 73:9ab15ebc9061
248 fill2->free(fill2); 248 fill2->free(fill2);
249 stroke->free(stroke); 249 stroke->free(stroke);
250 text_stroke->free(text_stroke); 250 text_stroke->free(text_stroke);
251 text_fill->free(text_fill); 251 text_fill->free(text_fill);
252 redraw_man_destroy(&rdman); 252 redraw_man_destroy(&rdman);
253 sh_path_free(path1); 253 path1->free(path1);
254 sh_path_free(path2); 254 path2->free(path2);
255 sh_rect_free(rect); 255 rect->free(rect);
256 sh_text_free(text); 256 text->free(text);
257 cairo_destroy(tmpcr); 257 cairo_destroy(tmpcr);
258 cairo_surface_destroy(tmpsuf); 258 cairo_surface_destroy(tmpsuf);
259 } 259 }
260 260
261 void drawing(cairo_surface_t *surface, int w, int h) { 261 void drawing(cairo_surface_t *surface, int w, int h) {