Pietro Gagliardi
|
dc96a73c2f
|
Removed TODO from Mac OS X code about additional label styles; judging from Interface Builder I've got them covered.
|
2014-04-05 15:26:31 -04:00 |
Pietro Gagliardi
|
da68adf420
|
Gave controls their proper fonts on Mac OS X.
|
2014-04-05 15:10:02 -04:00 |
Pietro Gagliardi
|
612eba9de3
|
Updated sysdata_darwin.go to remove some TODOs and change most, if not all, embedded magic numbers to named constants.
|
2014-04-05 13:59:11 -04:00 |
Pietro Gagliardi
|
e35457b968
|
Removed objc_alloc(). This should be all of them. Now to redo how classes are handled...
|
2014-04-04 20:34:35 -04:00 |
Pietro Gagliardi
|
5a5b486b6a
|
Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls into a simple initWithDummyFrame().
|
2014-04-04 19:51:59 -04:00 |
Pietro Gagliardi
|
dd4a7b9cbe
|
Removed objc_msgSend_rect_uint_uint_bool().
|
2014-04-04 19:14:03 -04:00 |
Pietro Gagliardi
|
461b0cc023
|
Removed objc_msgSend_rect_bool().
|
2014-04-04 19:08:25 -04:00 |
Pietro Gagliardi
|
ba2c1d6d20
|
Removed objc_msgSend_uint().
|
2014-04-04 18:56:37 -04:00 |
Pietro Gagliardi
|
fbde220ab1
|
Added a TODO related to the previous commit.
|
2014-04-04 18:00:22 -04:00 |
Pietro Gagliardi
|
1b05312da9
|
Mac OS X indeterminate progresbars were not animating under certain conditions; fix that.
|
2014-04-04 17:59:23 -04:00 |
Pietro Gagliardi
|
1a7bf4cd89
|
Got rid of objc_addDelegate(); it was only called in one place (Mac OS X Window creation). Also forgot to mention that the previous commit also disables mouse movements in Cocoa Areas for now; I need to replace the current code with one that uses tracking because mouse movements are system-global.
|
2014-04-04 15:51:40 -04:00 |
Pietro Gagliardi
|
be668a965a
|
Fixed Mac OS X Button appearance; turns out it was using the wrong font. Also updated the TODO file to mark this fix and remove other stale/already fixed details.
|
2014-04-04 14:52:38 -04:00 |
Pietro Gagliardi
|
01d9e1b02b
|
Enabled mouse move events on Mac OS X. Mosue events now just got stranger and buggier there...
|
2014-04-03 18:33:37 -04:00 |
Pietro Gagliardi
|
2efda7bc39
|
Separated initial text from sysData.make() on the Mac OS X backend, completing that set of commits.
|
2014-04-01 17:05:16 -04:00 |
Pietro Gagliardi
|
a1830c8883
|
Fixed Mac OS X Area setAreaSize() not working: I was using the NSWindow setFrame:display: selector instead of sending the two NSView setFrame: and display methods separately.
|
2014-03-30 13:25:41 -04:00 |
Pietro Gagliardi
|
08dfb5da20
|
Attempted to add the Area bare bones and resizing code to the Mac OS X backend. It complains that initWithFrame: is not implemented...
|
2014-03-30 11:19:13 -04:00 |
Pietro Gagliardi
|
34ce16d586
|
Separated file creation dates from the package comment.
|
2014-03-12 21:55:45 -04:00 |
Pietro Gagliardi
|
0e7dfc4c8a
|
Added indeterminate ProgressBar code for Mac OS X.
|
2014-03-12 19:40:01 -04:00 |
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 |