summaryrefslogtreecommitdiff
path: root/todo.md
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-03 17:44:03 -0500
committerPietro Gagliardi <[email protected]>2014-03-03 17:44:03 -0500
commit962a84e056fd524ed458391961510a1c32892895 (patch)
tree515e6e1b6ad5662b99291f8132edc2afd9ca6e91 /todo.md
parent6c3389283138cb4baf5ccc3d5785c318e376f26f (diff)
Fixed Mac OS X control placement flipping. This is done by passing the height of the window around setRect() calls to avoid polling the content view frame each time.
Diffstat (limited to 'todo.md')
-rw-r--r--todo.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/todo.md b/todo.md
index f514e20..dd8a1d1 100644
--- a/todo.md
+++ b/todo.md
@@ -27,7 +27,8 @@ so I don't forget:
important things:
- ui.Go() should exit when the main() you pass in exits
- because the main event loop is not called if initialization fails, it is presently impossible for MsgBoxError() to work if UI initialization fails; this basically means we cannot allow initializiation to fail on Mac OS X if we want to be able to report UI init failures to the user with one
-- Cocoa coordinates have (0,0) at the bottom left: need to fix this somehow
+- figure out where to auto-place windows in Cocoa (also window coordinates are still not flipped properly so (0,0) on screen is the bottom-left)
+ - also provide a method to center windoes; Cocoa provides one for us but
- I think Cocoa NSButton text is not vertically aligned properly...?
- NSPopUpButton doesn't seem to allow no initial selection? need to be sure
- NSComboBox scans the entered text to see if it matches one of the items and returns the index of that item if it does; find out how to suppress this so that it returns -1 unless the item was chosen from the list (like the other platforms)