• Christoffer Ackelman's avatar
    Refactored GlowDraw: Combined similar drawing methods. · f78a435e
    Christoffer Ackelman authored
    Instead of calling ctx->redraw() to redraw the window, call ctx->set_dirty().
    The GlowCtx will redraw the window at the end of the event_handler if any event has marked it as dirty.
    If you really need to redraw the window NOW (ex. after a timer triggered event),
    call ctx->set_dirty followed by ctx->redraw_if_dirty().
    f78a435e
glow_growbararc.cpp 16.5 KB