• Christoffer Ackelman's avatar
    Refactored FlowDraw: Combined similar drawing methods. · 13674419
    Christoffer Ackelman authored
    Instead of calling ctx->redraw() to redraw the window, call ctx->set_dirty().
    The FlowCtx 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().
    13674419
flow_array_elem.h 4.88 KB