underdoeg/ofxFenster — pull request #41 by heisters (2012-03-28 18:59:11+00:00)
Title: Add ofxFensterCanvas::autoAdjust

This is helpful for adapting to changed display layouts without
restarting your app. Eg. when waking from system sleep.

if(ofGetFrameNum() % (10 * (int)ofGetFrameRate()) == 0)
canvas.autoAdjust(this, canvasColumns, canvasRows);