Redrawing widgets takes too long

8 views
Skip to first unread message

Adam

unread,
Jun 19, 2013, 12:03:42 PM6/19/13
to fltkg...@googlegroups.com
  Hi,
I wrote a simple program where user have to move button. But redrawing widgets takes too long. Do you know why?

Ian MacArthur

unread,
Jun 19, 2013, 4:47:09 PM6/19/13
to fltkg...@googlegroups.com
It's not clear to me what you are trying to achieve with this code: the "start" image appears and I seem to be able to drag it left/right pretty smoothly, doesn't seem to take long to redraw...

What system are you on?

There are a few things that look odd to me; I'm not clear why you are using a png image to set the blue background, rather than just drawing a fill colour, or setting the widget colour...


What are you hoping to do? Maybe if you can describe what you want, we can suggest a better way to get there?




Reply all
Reply to author
Forward
0 new messages