Show
Ignore:
Timestamp:
11/29/08 07:36:39 (1 month ago)
Author:
Diggory Hardy <diggory.hardy@gmail.com>
branch:
default
Message:

Quit button, big changes to content system.

Moved mde.gui.content to mde.content to reflect it's not only used by the gui.
Split Content module into Content and AStringContent.
New AContent and EventContent? class.
Callbacks are now generic and implemented in AContent.
Renamed TextContent? to StringContent? and ValueContent? to AStringContent.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • codeDoc/todo.txt

    r91 r105  
    11Copyright © 2007-2008 Diggory Hardy 
    22License: GNU General Public License version 2 or later (see COPYING) 
    3  
    4  
    5 Content: 
    6 Need a way for a single content to contain multiple "sub-contents", and a way for widgets to be bound to a sub-content. 
    7 ->  how 
    8     ->  Use indecies; widget's use an integer value to choose index (or a string)? 
    9     ->  Protection: read-only and read-write contents? 
    10 ->  why 
    11     ->  Dynamic lists of name, value and possibly description fields. 
    12         ->  Done in a basic case, so is it needed? 
    13 Generic Content creation: 
    14 ->  Created centrally, e.g. from options or translation strings. 
    15     ->  Creator keeps a hash-map of all created content, so that if the same content is asked for again the same content object will be returned, not a new object (besides efficiency, this keeps content synchronized). 
    16 ->  Generic ContentList type for instancing on at run-time. 
    17 ->  Items in ContentList may represent a cluster of items; e.g. an option plus it's name and description. These may be special classes, but should use a generic interface allowing getting sub-contents (e.g. value/name/desc.) via an index. 
    183 
    194