Commit Graph

42 Commits

Author SHA1 Message Date
Pietro Gagliardi bb8603ed4e Moved Mac OS X modifier flags constants to the Objective-C side for maximum safety. 2014-08-11 11:52:10 -04:00
Pietro Gagliardi be56135451 Removed the need for C.frame() by splitting apart the alignment rect functions on the Mac OS X side. 2014-08-11 11:36:32 -04:00
Pietro Gagliardi 4bede4aa8d Split the autocorrect disabling stuff on Mac OS X into its own function and marked the TextArea TODO as a future plan. 2014-08-11 00:17:21 -04:00
Pietro Gagliardi a172143fe6 Improved the error reporting facilities of uiinit() on Mac OS X. Not used yet, though... 2014-08-10 22:24:08 -04:00
Pietro Gagliardi 37b1c3309b Stored table column numbers more efficiently on Mac OS X. 2014-08-10 22:10:47 -04:00
Pietro Gagliardi 5ec2c768fa Made a more intelligent Table.preferredSize() for Mac OS X. 2014-08-10 15:56:59 -04:00
Pietro Gagliardi 5679d02d1e Removed borders from Areas on Mac OS X. 2014-08-10 14:37:34 -04:00
Pietro Gagliardi 65db139be7 More .m file restructuring on the Mac OS X backend. 2014-08-10 13:28:34 -04:00
Pietro Gagliardi 0b3f6570ac Settled NSBitmapImageRep TODOs on the Mac OS X backend. 2014-08-10 13:19:42 -04:00
Pietro Gagliardi 62938635a2 Started splitting apart xsizing_darwin.m and rearranging objc_darwin.h. 2014-08-09 21:34:56 -04:00
Pietro Gagliardi ea3dd093f7 Changed PrefSize to PreferredSize throughout. 2014-08-09 21:29:37 -04:00
Pietro Gagliardi eec2f985b0 Renamed display() to areaRepaintAll() and resolved a TODO on the Mac OS X side. 2014-08-09 21:27:28 -04:00
Pietro Gagliardi e1c3a9fe26 Removed areaPrefSize() from the Mac OS X backend; we now store the Area's size separately and return that for the preferred size instead. 2014-08-06 11:01:37 -04:00
Pietro Gagliardi c6674d1e9e Re-added the NSApplication support code for Area on Mac OS X. 2014-08-05 14:40:08 -04:00
Pietro Gagliardi 6b7660a671 Added the Mac OS X implementation of Area... somewhat messily, but eh. 2014-08-05 14:33:25 -04:00
Pietro Gagliardi 88c01bf695 Began the big sizer cleanup: renamed sizer to container, renamed sizer.go to container.go, did the Mac OS X migration, moved containerctrls.go out of the way by merging its declarations into basicctrls.go, and did a quick cleanup fix to container_darwin.m. 2014-08-04 17:47:39 -04:00
Pietro Gagliardi 6010665415 Converted Window on Mac OS X to use the new container system. Now I can merge container and sizing... 2014-08-04 17:28:53 -04:00
Pietro Gagliardi 84297ad7e1 Cleaned up Mac OS X Tab code from the previous commit. 2014-08-04 17:07:06 -04:00
Pietro Gagliardi 1ba1f475ba Switched Tab on Mac OS X to use a dedicated container type system. This container type will eventually be the new home of all the sizer stuff. Now to remove the dedicated NSTabView stuff... 2014-08-04 17:03:07 -04:00
Pietro Gagliardi 8c4cd789ca Migrated the Mac OS X backend to the new Control setup. 2014-08-03 20:08:25 -04:00
Pietro Gagliardi d018953d7e Split all the Control implementations into their own files and renamed the containerctrls implementation files to say tab instead as they only hold Tab. This is the first part of what should hopefully be the final restructuring. 2014-08-02 22:35:58 -04:00
Pietro Gagliardi c6e47ba21a Migrated the Label alignment code back into the Mac OS X port. 2014-08-02 09:47:57 -04:00
Pietro Gagliardi 85fb097ab9 Wrote Control.preferredSize() (including Tab.preferredSize()) on Mac OS X. 2014-08-02 08:04:44 -04:00
Pietro Gagliardi 9117da1405 Began migrating all the Mac OS X sizing stuff over. 2014-08-01 23:16:43 -04:00
Pietro Gagliardi 3d922c87fa Fixed up attributes of Table on Mac OS X. 2014-07-30 13:10:19 -04:00
Pietro Gagliardi d21bd30583 Moved the Mac OS X function newScrollView() to control_darwin.m and verified its styles against Interface Builder. 2014-07-30 12:50:45 -04:00
Pietro Gagliardi f4bb7360d4 Added Label and implemented it on all platforms. 2014-07-29 13:48:31 -04:00
Pietro Gagliardi 8d7f0c9a62 Wrote up the data model for Mac OS X Tables; now Tables work everywhere! 2014-07-29 10:54:52 -04:00
Pietro Gagliardi 4e0436da18 Added the beginning of the Mac OS X Table code. 2014-07-29 10:32:49 -04:00
Pietro Gagliardi 2c810e7165 Verified Mac OS X control appearance and fonts with Interface Builder. 2014-07-26 10:05:18 -04:00
Pietro Gagliardi e8df54cb82 Implemented TextField on Mac OS X. 2014-07-26 09:20:33 -04:00
Pietro Gagliardi ee5c6ff846 Implemented Tab on Mac OS X. Woo! I'll need to add justification for what I'm doing with the whole recursive call thing; when I get confirmation from the GTK+ camp I will. 2014-07-25 23:11:41 -04:00
Pietro Gagliardi 3d5e8feba4 Implemented the various parenting and sizing changes on the Mac OS X backend; also moved a line in window_windows.go around for consistency. 2014-07-25 20:10:09 -04:00
Pietro Gagliardi a2eb69cbf6 Fixed compilation errors on Mac OS X. Reparenting works; redrawing, however... 2014-07-23 17:09:08 -04:00
Pietro Gagliardi 300835a1b4 Implemented Checkbox on Mac OS X. Also untested; will test next. 2014-07-22 23:32:32 -04:00
Pietro Gagliardi 88a51068db Re-added Mac OS X versioning macros and compiler/linker options. 2014-07-20 21:22:10 -04:00
Pietro Gagliardi e4b379f84a Added button click events to the Mac OS X backend. 2014-07-17 12:02:39 -04:00
Pietro Gagliardi 659bc03f17 Migrated control sizing code for Mac OS X. 2014-07-17 11:24:58 -04:00
Pietro Gagliardi 1953f2d748 Added Button and control adding to the Mac OS X backend. 2014-07-16 13:25:09 -04:00
Pietro Gagliardi 0e7589af47 Implemented Stop() on Mac OS X. 2014-07-13 21:31:13 -04:00
Pietro Gagliardi 44811e5351 Implemented window closing on Mac OS X. This drops the "single delegate object for everything" setup but keeping that map and holding its lock is already meh so. 2014-07-08 17:44:08 -04:00
Pietro Gagliardi b4357db4be Added the beginning of the Mac OS X code. 2014-07-08 16:47:28 -04:00