Mercurial > projects > mde
diff mde/gui/content/Content.d @ 90:b525ff28774b
Widgets generated dynamically from a list can now be standard widgets selected from data files.
Started on allowing alignment to be shared between instances of a layout widget in a dynamic list (to allow column alignment of list's rows).
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Wed, 01 Oct 2008 23:37:51 +0100 |
parents | 159775502bb4 |
children | 4d5d53e4f881 |
line wrap: on
line diff
--- a/mde/gui/content/Content.d Mon Sep 29 18:27:17 2008 +0100 +++ b/mde/gui/content/Content.d Wed Oct 01 23:37:51 2008 +0100 @@ -26,6 +26,13 @@ * * Currently Content instances can only have their data set on creation. * Each Content class should provide a method to get it's content, e.g. the method text(). + * + * Extensions to content: + * + * These extensions require that a content can notify any dependants of changes. + * + * Use as a state switch (one option from an enumeration). E.g. a button/selection box could set a + * state, and a tabbed box could show a tab based on this. Or could represent an option. */ // Don't include dimension/drawing stuff because it's renderer specific and content should not be! // NOTE: an interface or a class?