static void gui_drawingarea_cb_expose (I, GuiDrawingAreaExposeEvent event) { iam (ArtwordEditor); (void) event; if (my graphics == NULL) return; Artword artword = (Artword) my data; Graphics_clearWs (my graphics); Artword_draw (artword, my graphics, my feature, TRUE); }
static void gui_drawingarea_cb_expose (ArtwordEditor me, GuiDrawingArea_ExposeEvent /* event */) { if (! my graphics) return; Artword artword = (Artword) my data; Graphics_clearWs (my graphics.get()); Artword_draw (artword, my graphics.get(), my feature, true); }