Mercurial > projects > mde
comparison mde/gui/widget/Ifaces.d @ 48:a98ffb64f066
Implemented font rendering (grayscale only; i.e. non-LCD).
FontTexture creates a texture and caches glyphs.
Font supports multiple styles/faces, loaded from config file (should probably be loaded via Options instead).
TextBlock cache for glyph placement within a string.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sat, 31 May 2008 12:40:26 +0100 |
parents | 03fa79a48c48 |
children | d43523ed4b62 |
comparison
equal
deleted
inserted
replaced
47:e0839643ff52 | 48:a98ffb64f066 |
---|---|
42 | 42 |
43 /** Add widget's saveData to the data to be saved, returning it's widgetID. */ | 43 /** Add widget's saveData to the data to be saved, returning it's widgetID. */ |
44 widgetID addCreationData (IWidget widget); | 44 widgetID addCreationData (IWidget widget); |
45 | 45 |
46 /** Returns the window's gui. */ | 46 /** Returns the window's gui. */ |
47 //NOTE: was going to remove this, but it's used more than I thought | |
48 IGui gui (); | 47 IGui gui (); |
49 | 48 |
50 /** The widget/window needs redrawing. */ | 49 /** The widget/window needs redrawing. */ |
51 void requestRedraw (); | 50 void requestRedraw (); |
52 | 51 |