Mercurial > projects > mde
comparison mde/setup/Screen.d @ 104:ee209602770d
Cleaned up Options.d removing old storage method. It's now possible to get a ContentList of the whole of Options.
Tweaked translation strings (added name and desc to Options classes).
Replaced Options.addSubClass (class, "name") with Options.this("name").
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Wed, 26 Nov 2008 13:07:46 +0000 |
parents | 49e7cfed4b34 |
children | 5ee69b3ed9c9 |
comparison
equal
deleted
inserted
replaced
103:42e241e7be3e | 104:ee209602770d |
---|---|
262 } | 262 } |
263 | 263 |
264 static this() { | 264 static this() { |
265 logger = Log.getLogger ("mde.setup.Screen"); | 265 logger = Log.getLogger ("mde.setup.Screen"); |
266 | 266 |
267 videoOpts = new VideoOptions; | 267 videoOpts = new VideoOptions ("VideoOptions"); |
268 Options.addOptionsClass (videoOpts, "VideoOptions"); | |
269 } | 268 } |
270 | 269 |
271 // DATA: | 270 // DATA: |
272 private: | 271 private: |
273 uint flags = 0; | 272 uint flags = 0; |