Prevent widgets from being undrawn on resize?

瀏覽次數:6 次
跳到第一則未讀訊息

Benjamin Kimock

未讀,
2017年1月16日 下午1:49:352017/1/16
收件者:fltk.general
I'm working on an application that is intended to be used over X11 forwarding, so drawing is a significant bottleneck. In most places I've been able to draw only what pixels have changed, except if the window is resized in which case I'm forced to draw everything.

I suspect the culprit is a call to 
XDestroyRegion()
in
Fl_Widget::damage(uchar
(which lives in Fl.cxx)
but I can't figure out what to do about it. I feel like there should be some method I can override but so far none I've tried have helped. Any suggestions?
回覆所有人
回覆作者
轉寄
0 則新訊息