Mercurial > projects > mde
comparison mde/gui/types.d @ 93:08a4ae11454b
Widgets now save dimensions without preventing structural changes in the base config file from applying.
Widget dimensional data separated from other data in files, hence above change.
Moved TextAdapter from TextWidget to IRenderer.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Tue, 21 Oct 2008 11:35:15 +0100 |
parents | ea58f277f487 |
children | 42e241e7be3e |
comparison
equal
deleted
inserted
replaced
92:085f2ca31914 | 93:08a4ae11454b |
---|---|
45 * However, the current usage of out variables looks like it's better. */ | 45 * However, the current usage of out variables looks like it's better. */ |
46 struct wdimPair { | 46 struct wdimPair { |
47 wdim x, y; /// data | 47 wdim x, y; /// data |
48 } | 48 } |
49 | 49 |
50 /// Used to save column sizes, etc. | |
51 alias wdim[] wdims; | |
52 | |
50 | 53 |
51 /************************************************************************************************* | 54 /************************************************************************************************* |
52 * The data type all widgets creatable by the widget manager receive on creation. | 55 * The data type all widgets creatable by the widget manager receive on creation. |
53 * | 56 * |
54 * Conversion code to/from MT tags is contained in the addTag and writeAll methods of | 57 * Conversion code to/from MT tags is contained in the addTag and writeAll methods of |