comparison mde/mde.d @ 43:1530d9c04d4d

Column/row resizing implemented for GridLayoutWidget (finally)! Also new exitImmediately option and a few debug scope(failure) log messages. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Thu, 15 May 2008 10:39:57 +0100
parents 57d000574d75
children 0fd51d2c6c8a
comparison
equal deleted inserted replaced
42:8bf53e711cc7 43:1530d9c04d4d
52 } catch (InitException e) { 52 } catch (InitException e) {
53 logger.fatal ("Initialisation failed: " ~ e.msg); 53 logger.fatal ("Initialisation failed: " ~ e.msg);
54 return 1; 54 return 1;
55 } 55 }
56 56
57 if (miscOpts.pollInterval !<= 0.1 || miscOpts.pollInterval !>= 0.0) 57 if (miscOpts.pollInterval !<= 1.0 || miscOpts.pollInterval !>= 0.0)
58 Options.setDouble ("misc", "pollInterval", 0.0); 58 Options.setDouble ("misc", "pollInterval", 0.01);
59 //END Initialisation 59 //END Initialisation
60 60
61 //BEGIN Main loop setup 61 //BEGIN Main loop setup
62 mainSchedule.add (mainSchedule.getNewID, &mde.events.pollEvents).frame = true; 62 mainSchedule.add (mainSchedule.getNewID, &mde.events.pollEvents).frame = true;
63 mainSchedule.add (SCHEDULE.DRAW, &gl.draw); // Draw, per event only. 63 mainSchedule.add (SCHEDULE.DRAW, &gl.draw); // Draw, per event only.