Mercurial > projects > mde
comparison examples/guiDemo.d @ 132:264028f4115a
Cleaned up mde.imde and a couple of widget functions.
New mde.menus module to add default menus.
The input singleton is now created in mde.input.Input instead of mde.imde.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 23 Jan 2009 14:59:05 +0000 |
parents | 41582439a42b |
children | 9f035cd139c6 |
comparison
equal
deleted
inserted
replaced
131:9cff74f68b84 | 132:264028f4115a |
---|---|
15 | 15 |
16 /** Main module for a gui demo & testing executable. */ | 16 /** Main module for a gui demo & testing executable. */ |
17 module examples.guiDemo; | 17 module examples.guiDemo; |
18 | 18 |
19 import mde.imde; // this module's interface for external modules | 19 import mde.imde; // this module's interface for external modules |
20 import mde.menus; // add default menus | |
20 import mde.events; // pollEvents() // NOTE: Must be imported before Init, otherwise fonts don't display properly (why??) | 21 import mde.events; // pollEvents() // NOTE: Must be imported before Init, otherwise fonts don't display properly (why??) |
21 import mde.setup.Init; // initialization | 22 import mde.setup.Init; // initialization |
22 import mde.lookup.Options; // pollInterval option | 23 import mde.lookup.Options; // pollInterval option |
23 import mde.scheduler.Scheduler; // mainSchedule | 24 import mde.scheduler.Scheduler; // mainSchedule |
24 import mde.setup.Screen; // Screen.draw() | 25 import mde.setup.Screen; // Screen.draw() |