view codeDoc/todo.txt @ 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 25cb7420dc91
children 4d5d53e4f881
line wrap: on
line source

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


GUI:
->  Widgets:
->  rethink how widgets are created and receive creation data, so that they don't have to be created by the Window
->  scripted widgets
->  decent rendering/theme system
->  lists from content lists


Scratchpad area for ideas:


Redesign:
->  possibilities
    ->  How widgets get their sub-widgets:
        ->  (current) Ask manager to create widget from manager's data with ID from widget's data.
            ->  seems to work well; allows widgets some control over creation of children
            ->  now extended to support instancing & passing content; seems to fulfill requirements
        ->  (alternate) Pass widget a list of pointers to all sub-widgets
            ->  manager creates all static (from data files) widets
            ->  other widgets can create dynamic widgets as or to pass to sub-widgets
            ->  widget data needs a portion which is explicitly IDs for subwidgets, or data needs reforming into a tree