Commit Graph

29 Commits

Author SHA1 Message Date
Pietro Gagliardi 92fb9efce9 Removed error returns from Combobox.Delete(), Listbox.Delete(), and sysData.delete(), since they are no longer used. Updated the TODO file to mark this issue closed. 2014-03-11 13:50:02 -04:00
Pietro Gagliardi 699f786cd5 Fixed compiler errors in the previous few commits. 2014-03-10 11:06:07 -04:00
Pietro Gagliardi 353c949f64 Removed error returns from sysData.setText() now that we no longer care. 2014-03-10 10:39:08 -04:00
Pietro Gagliardi f72d6c9900 Removed now-unused error returns from sysData.show() and sysData.hide(). 2014-03-09 21:56:17 -04:00
Pietro Gagliardi 45e0779790 Split sysData.show() into separate show() and firstShow() to accomodate Windows's differing rules for first-time window show; this will also allow me to remove the error returns from sysData.show() and sysData.hide() (later). 2014-03-09 21:40:14 -04:00
Pietro Gagliardi b9f0ad90ec Steamrolled errors under panic() in Combobox/Listbox.Append()/InsertBefore() because screw Windows being different. 2014-03-09 16:02:17 -04:00
Pietro Gagliardi 47829df714 Added the Mac OS X implementation of Combobox/Listbox.Len(). 2014-03-08 17:25:19 -05:00
Pietro Gagliardi 962a84e056 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. 2014-03-03 17:44:03 -05:00
Pietro Gagliardi b2e49b3698 Split out the code to add a Control to a Mac OS X Window into its own function. 2014-03-03 15:52:39 -05:00
Pietro Gagliardi 4923f3944c Removed crash guards from the Mac OS X sysData code. Also removed some leftover ones from the GTK+ code. 2014-03-03 15:44:46 -05:00
Pietro Gagliardi 383933c45e Added Mac OS X ProgressBars. Mac OS X now feature-equal! 2014-03-03 15:32:54 -05:00
Pietro Gagliardi 463b347911 Whoops, forgot to define sysData.selectedIndices() and sysData.selectedTexts() for Mac OS X now that I have those written! Adding items is still a no-op... 2014-03-02 23:36:46 -05:00
Pietro Gagliardi bdce1b9dc2 Added untested Mac OS X Listbox code. Won't compile yet... 2014-03-02 23:11:29 -05:00
Pietro Gagliardi 77c0198751 Added Mac OS X Labels and a bunch of TODOs. Now for Listboxes... oh boy... 2014-03-02 19:56:54 -05:00
Pietro Gagliardi e2476a567d Added the Mac OS X implementation of LineEdit. It seems to work... mostly. The password entry field is outside the window for some reason; need to figure out how to place things in their proper place. 2014-03-02 19:01:34 -05:00
Pietro Gagliardi 4bc35e2db5 Finished the implementation of Combobox on Mac OS X. 2014-03-02 18:38:45 -05:00
Pietro Gagliardi 234b724403 Added the other Combobox modification functions to the Mac OS X backend. Before continuing, I'll get messageboxes working... 2014-03-02 17:44:13 -05:00
Pietro Gagliardi 01e5871741 Added the beginning of the Mac OS X implementation of Combobox; also added a file to plan out how lists will be implemented/are being implemented. 2014-03-02 17:19:25 -05:00
Pietro Gagliardi db1c6c5c17 Added an alternate textsel for Mac OS X Comboboxes. 2014-03-02 16:46:27 -05:00
Pietro Gagliardi 3279f4f43a Added the alternate value as a parameter to Mac OS X sysData.make() in preparation for Comboboxes and Listboxes. 2014-03-02 14:43:31 -05:00
Pietro Gagliardi 5f6a4ee690 Added Mac OS X Checkboxes. 2014-03-02 09:17:42 -05:00
Pietro Gagliardi bbb37bb2a6 Added Mac OS X Buttons. Code hangs due to a preferredSize() issue... 2014-03-01 21:34:37 -05:00
Pietro Gagliardi 10e9f6b927 Fixed non-minimizeable windows in Mac OS X; it was a simple copy-paste fail. 2014-03-01 18:04:09 -05:00
Pietro Gagliardi 5caf0fe84a Cleaned up loose ends with the previous commit and got window close events working on Mac OS X. Woo! 2014-03-01 17:15:26 -05:00
Pietro Gagliardi 8b497b2188 Added the getSysData() hook. Now to clean up loose ends and apply the delegate to the window. 2014-03-01 17:06:06 -05:00
Pietro Gagliardi a988befc45 Whoops, misspelled -[NSWindow frame] as -[NSWindow _frame]. Fixed; test program works so far! 2014-03-01 15:35:42 -05:00
Pietro Gagliardi 00243442d2 Fixed Mac OS X sysData.setWindowSize() to get the window origin. Now to fix the rest of the errors... 2014-03-01 13:58:38 -05:00
Pietro Gagliardi 0770c2a697 Fixed various Mac OS X compilation errors. 2014-03-01 13:53:29 -05:00
Pietro Gagliardi a83dcb0282 Added initial Mac OS X sysData code. Almost ready for first test build, hopefully? 2014-03-01 13:29:24 -05:00