view codeDoc/todo.txt @ 91:4d5d53e4f881

Shared alignment for dynamic content lists - finally implemented! Lots of smaller changes too. Some debugging improvements. When multiple .mtt files are read for merging, files with invalid headers are ignored and no error is thrown so long as at least one file os valid.
author Diggory Hardy <diggory.hardy@gmail.com>
date Thu, 16 Oct 2008 17:43:48 +0100
parents b525ff28774b
children 08651e8a8c51
line wrap: on
line source

Copyright © 2007-2008 Diggory Hardy
License: GNU General Public License version 2 or later (see COPYING)


Content:
Need a way for a single content to contain multiple "sub-contents", and a way for widgets to be bound to a sub-content.
->  how
    ->  Use indecies; widget's use an integer value to choose index (or a string)?
    ->  Protection: read-only and read-write contents?
->  why
    ->  Dynamic lists of name, value and possibly description fields.
        ->  Done in a basic case, so is it needed?
Generic Content creation:
->  Created centrally, e.g. from options or translation strings.
    ->  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).
->  Generic ContentList type for instancing on at run-time.
->  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.


GUI:
->  Widgets:
->  scripted widgets
->  decent rendering/theme system


Scratchpad area for ideas: