Mercurial > projects > mde
comparison mde/content/Items.d @ 123:d3b2cefd46c9
minSizeChange() allows run-time changes to widgets' minimal size (except for shrinking in a GridLayoutWidget).
FloatingAreaWidget: correct resize limiters
AStringContent: allows space and ignores modifier keys
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sun, 04 Jan 2009 17:35:15 +0000 |
parents | 1b1e2297e2fc |
children | 3e648bc53bde |
comparison
equal
deleted
inserted
replaced
122:f96e8d18c00a | 123:d3b2cefd46c9 |
---|---|
62 if (h == "menu" && item is null) | 62 if (h == "menu" && item is null) |
63 return imde.menu; | 63 return imde.menu; |
64 else if (h == "quit" && item is null) | 64 else if (h == "quit" && item is null) |
65 return imde.quit; | 65 return imde.quit; |
66 } | 66 } |
67 throw new ContentItemException (h); | 67 return new ErrorContent ("Error: bad content specifier",h); |
68 } | 68 } |
69 | 69 |
70 /** Creates some content on first run (required by get()). | 70 /** Creates some content on first run (required by get()). |
71 * | 71 * |
72 * If the correct translation strings are not loaded, this loads them. */ | 72 * If the correct translation strings are not loaded, this loads them. */ |