i have in the main component several cells filled with an image like this:
[code] if (bigImageOne != 0)
if( hqButton->getToggleState() )
if i resize the component, i adjust the size of the cells to fit in the main component area. is obvious that the images get resized too. but i don’t want to resize the images in the meanwhile the component get resized (cause slowing down the gui), i want the images get resized after the release of the resizer component border (or corner). all in one single paint call.
now i’m starting a timer in the resized function. take tracks to resize, then in the timer i check for it, and do the resize of the image, then repaint. this works but i think in this situation there are too much paint the same…
if( hasResized )
const int margin = 5;
getWidth() - list->getRight()-2*margin,
hasResized = false;
if i’m unable to control the repaint from the resized… shouldn’t a component
implement setRepaintsOnResized(true||false) like setRepaintsOnMouseActivity() ?