andlabs-ui/todo.md

56 lines
3.3 KiB
Markdown
Raw Normal View History

2014-02-12 09:58:05 -06:00
so I don't forget:
2014-02-12 09:54:58 -06:00
- Window.SizeToFit() or WIndow.OptimalSize() (use: `Window.SetSize(Window.OptimalSize())`) for sizing a window to the control's interest
2014-02-12 09:58:05 -06:00
- Control.Show()/Control.Hide()
- Control.SetText()
2014-02-13 16:04:57 -06:00
- Groupbox
2014-02-14 11:16:27 -06:00
- determine if a selection in a non-editable combobox has been made
2014-02-14 11:18:21 -06:00
- see if we really need to track errors on Combobox.Selection()
- in fact, see if we really need to track errors on a lot of things...
2014-02-14 14:00:59 -06:00
- password entry fields, character-limited entry fields, numeric entry fields, multiline entry fields
- possible rename of LineEdit?
2014-02-14 16:31:21 -06:00
- more flexible size appropriation: allow a small button to be at the top of everything in the main() example here
- [Windows] should ListBox have a border style?
- padding and spacing in Stack; maybe a setting in Stack which keeps controls at their preferred size?
2014-02-14 16:32:44 -06:00
- change Stack/Combobox/Listbox constructors so that there's a separate constructor for each variant, rather than passing in parameters?
2014-02-14 19:42:26 -06:00
- allow Combobox to have initial settings
2014-02-15 13:26:37 -06:00
- Combobox and Listbox insertions and deletions should allow bulk (...string)
- Combobox/Listbox.DeleteAll
- Combobox/Listbox.Select (with Listbox.Select allowing bulk)
- Listbox.SelectAll
2014-02-15 17:15:24 -06:00
- have Combobox.InsertBefore, Listbox.InsertBefore, Combobox.Delete, and Listbox.Delete return an error on invalid index before creation
2014-02-17 01:55:59 -06:00
- make the Windows implementation of message boxes run on uitask
2014-02-12 09:54:58 -06:00
important things:
- there's no GTK+ error handling whatsoever; we need to figure out how it works
2014-02-16 15:56:25 -06:00
- make sure GTK+ documentation point differences don't matter
super ultra important things:
- the windows build appears to be unstable:
- 64-bit doesn't work, period: it crashes in malloc in wine with heap corruption warnings aplenty during DLL loading; in windows 7 CreateWindowExW complains about an unregistered window class, yet the RegisterClassW appears to have succeeded and examining the stack in WinDbg indicates the correct class name is being sent (see below)
- 32-bit: it works now, but if I save the class name converted to UTF-16 beforehand, wine indicates that the class name is replaced with the window title, so something there is wrong...
2014-02-15 13:03:46 -06:00
- handle in-library panics (internal errors) by reporting them to the user
- david wendt is telling me he's getting frequent crashes on his end with the GTK+ amd64 build...
- I get soft deadlock if I mash the Click Me button repeatedly
2014-02-16 17:42:18 -06:00
- occasionally maximizing/restoring a window will abort early and stay that way...?
2014-02-12 10:34:10 -06:00
important things:
- maybe make it so sysData doesn't need specialized info on every control type?
- write an implementation documentation.
2014-02-14 16:31:21 -06:00
- Control.preferredSize() (definitely needed for Grid and Form)
2014-02-15 12:09:51 -06:00
- make specific wording in documentation consistent (make/create, etc.)
- make passing of parameters and type conversions of parameters to uitask consistent
2014-02-12 10:34:10 -06:00
2014-02-12 09:54:58 -06:00
far off:
- localization
2014-02-12 10:34:36 -06:00
- strip unused constants from the Windows files
- combine more Windows files; rename some?
2014-02-13 16:04:57 -06:00
maybe:
- rename Stack to Box?
2014-02-15 13:26:37 -06:00
- make Combobox and Listbox satisfy sort.Interface?
- this:
[16:27] <cespare> pietro10: depends what you mean by safe
[16:27] <cespare> pietro10: sounds like you should move this functionality into a function though.
[16:28] <cespare> (so the user can decide what to do with the error)
[16:28] <cespare> typically people don't like their libraries calling exit :)