Mercurial > projects > mde
diff mde/mde.d @ 95:2a364c7d82c9
Boolean options can be adjusted from the gui now (using a very basic widget). Also some bug-fixes.
Fixed a minor bug where layouts with the same id but without shared alignments would be messed up.
Tracked down the "nothing trawn until a resize" bug (see jobs.txt).
If widgets throw during creation they're now replaced by debug widgets.
Function pointers are converted to delegates using a safer method.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 06 Nov 2008 11:07:18 +0000 |
parents | 97e6dce08037 |
children | 49e7cfed4b34 |
line wrap: on
line diff
--- a/mde/mde.d Thu Oct 23 17:45:49 2008 +0100 +++ b/mde/mde.d Thu Nov 06 11:07:18 2008 +0000 @@ -75,7 +75,7 @@ * not allow running components simultaeneously with threads. * Note: probably drawing should start at the beginning of the loop and glFlush()/swapBuffers * be called at the end to optimise. */ - mainSchedule.add (SCHEDULE.DRAW, &Screen.draw); // Draw, per event only. + mainSchedule.add (SCHEDULE.DRAW, &Screen.draw).request = true; // Draw, per event and first frame only. mainSchedule.add (mainSchedule.getNewID, &mde.events.pollEvents).frame = true; //END Main loop setup