On 17 Mar 2012, at 03:10, Adam <[email protected]> wrote:

> So I am building a program with a "status bar." It needs to be regularly 
> updated with select "news from the backend" updates. I have an issue where 
> when I try redraw() and redraw_label() for the bar itself the program seems 
> to ignore me and draw the new status ontop of the other. I can call redraw on 
> the window and this fixes the draw over issue but it wont update until 
> something external to this process causes the window to refresh (mouse move, 
> keyboard input, etc). What is causing this? What is the workaround?

Sounds like your statusbar widget probably has the wrong boxtype set - 
specifically, I'm guessing it has a "frame" type set rather than a "box" type.

You really only should use "frame" types in specific cases where you don't want 
the content to be over-drawn on a refresh, so it is usually the wrong choice.

Or it might be something else entirely!
-- 
Ian
Sent, much to my surprise, from my iPhone

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to