Mercurial > projects > mde
comparison mde/font/FontTexture.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 | 0ea4a3e651ae |
children | 9f035cd139c6 |
comparison
equal
deleted
inserted
replaced
103:42e241e7be3e | 104:ee209602770d |
---|---|
462 | 462 |
463 void validate() { | 463 void validate() { |
464 } | 464 } |
465 | 465 |
466 static this() { | 466 static this() { |
467 fontOpts = new FontOptions; | 467 fontOpts = new FontOptions ("FontOptions"); |
468 Options.addOptionsClass (fontOpts, "FontOptions"); | |
469 } | 468 } |
470 } | 469 } |
471 | 470 |
472 struct GlyphAttribs { | 471 struct GlyphAttribs { |
473 int x, y; // position within texture | 472 int x, y; // position within texture |