Updated the README and TODO lists.

This commit is contained in:
Pietro Gagliardi 2014-10-28 00:16:43 -04:00
parent 73fcb4e22d
commit 2876c4c724
2 changed files with 6 additions and 22 deletions

View File

@ -23,6 +23,8 @@ The in-code documentation needs improvement. I have written a [tutorial](https:/
# Updates
**28 October 2014**<br>Mac OS X resizing issues should be (mostly?) fixed now. Textbox still doesn't work right...
**24 October 2014**<br>Textbox, a multi-line version of TextField, has been added. (Note that it may not work properly on Mac OS X; this is being investigated.) In addition, excess space around controls on Mac OS X should be settled now.
**18 October 2014**<br>The container system was rewritten entirely. You can now set a margin on Windows and Groups and spacing between controls ("padding") on Stacks, Grids, and SimpleGrids. Margins on Tabs will come soon. The work needed to change this will make future additions (like Popover and Spinbox) easier/more sensible. (The Mac OS X code is still glitchy; mind the dust.)

26
future
View File

@ -1,21 +1,5 @@
imminent:
- the new sizing infrasructure does not work with os x
- I'm surprsied now that it worked on GTK+
- the addition of container to stack/grid/simplegrid doesn't actually fix the problem of simplifying container hiding
- so something different is needed
- perhaps get rid of container entirely
- keep goContainer (the C GtkContainer/NSView subclasses) around for the purpose of autommated resizing
- on Windows, gouiwindow and the button and (eventual) group subclasses will need to respond to WM_WINDOWPOSCHANGED to size the child
- we WILL need to implement containerShow() and containerHide() which respect the programmer's show/hide settings
- for GTK+, all widget size allocations need to be relative to the window, not the parent; this is different from Windows and Mac OS X
mac os x sizing is now completely broken
- need to catch window initial sizes
- need to catch tab changes
- can't just resize every tab to the current tab size; that doesn't seem to work
password fields: caps lock warnings
@ -32,16 +16,13 @@ mac os x
new control stuff
Tab, Group
- should host Controls directly?
- should have sharedWndProc()
- Tab needs Margined
more flexible sizing determination
Tab needs a SetMargined(n), Margined(n)
so will Popover
textfield should have a method that allows control over the preferred number of characters, for sizing purposes
Multiline text fields and standalone labels
for the Form layout
Group
Mac OS X: NSBox
@ -55,7 +36,7 @@ Table
refresh only selected rows of view to avoid flicker (especially on Windows)
add functions for header manipulation
background color
row titles
column titles
Tab
// [TODO if each tab of your Tab is going to have the same content Controls, then use LikeTab instead, to conserve resources]
@ -65,7 +46,8 @@ Tab
// It panics if index is out of range.
// After Delete(), the effect of accessing the Control of the deleted tab or any of its children is undefned. [TODO reword?]
investigate close buttons (especially for LikeTab)
LikeArea is probably going to have to be a custom control
LikeTab is probably going to have to be a custom control
definitely on OS X?
Area
keyboard scrolling