Commit Graph

2832 Commits

Author SHA1 Message Date
Pietro Gagliardi 1ba27d325e Fixed progressbar animation issue. Re-added TODO for clipping because I can't tell how it happens anymore. 2015-08-23 23:10:17 -04:00
Pietro Gagliardi bc8d6a2fe7 Removed TODOs about 10.8 clipping the sides of controls; it's because those clipped edges overlap with the NSTabView border :( Not much we can do about it. 2015-08-23 21:55:59 -04:00
Pietro Gagliardi 35ed8a2125 Fixed uiRadioButtons sizing problems. 2015-08-23 17:53:29 -04:00
Pietro Gagliardi 5a6d96c20c More uiRadioButtons work. Moved the sizeToCells call into Relayout, thinking it would fix a bug with adding a certain number of cells. It does not, but this is more correct anyway. 2015-08-22 21:39:25 -04:00
Pietro Gagliardi f6d10e4194 Changed the single-view containers to break their layouts before calling their childrens's Relayout()s. This is part of what I hope will fix uiRadioButtons. 2015-08-22 21:29:22 -04:00
Pietro Gagliardi 9216013e55 More uiRadioButtons work. Fixed most of the sizing issues. 2015-08-22 17:21:27 -04:00
Pietro Gagliardi bcf7916336 More uiRadioButtons work. 2015-08-22 16:15:11 -04:00
Pietro Gagliardi cec464a998 Fixed the uiRadioButtons buttons not showing up. 2015-08-22 16:09:21 -04:00
Pietro Gagliardi 2d9022ab13 DId most of the uiRadioButtons implementation. Not quite working yet... both the radio button part of the button don't show up and the relayout after append isn't actually growing the window size. 2015-08-22 15:12:48 -04:00
Pietro Gagliardi 7a3406f4a1 More TODOs. 2015-08-22 14:31:12 -04:00
Pietro Gagliardi 57fb38a507 Stale TODO removal. 2015-08-22 14:16:58 -04:00
Pietro Gagliardi db05b745f5 More uiCombobox work and TODOs. 2015-08-22 12:48:48 -04:00
Pietro Gagliardi b7db41d7e8 Even more TODO resolution and control completion. 2015-08-22 12:16:27 -04:00
Pietro Gagliardi 50bab453e6 More TODO resolution. 2015-08-22 11:17:13 -04:00
Pietro Gagliardi e77c90d14d Fixed a compilation issue. 2015-08-22 00:38:55 -04:00
Pietro Gagliardi c4d5e5c047 More TODO resolution. 2015-08-22 00:32:41 -04:00
Pietro Gagliardi 49364e22fb More TODO resolution. 2015-08-22 00:30:36 -04:00
Pietro Gagliardi 265879b272 Really implemented uiSpinbox on OS X. 2015-08-21 21:03:50 -04:00
Pietro Gagliardi 7ddb78773d Split the new editable NSTextField part of uiNewEntry() into its own function so uiSpinbox can use it. 2015-08-21 20:14:50 -04:00
Pietro Gagliardi f698ca4a35 Did the same for uiEntry. 2015-08-21 17:16:52 -04:00
Pietro Gagliardi ba0cb12c74 Set up slidier widths properly. 2015-08-21 16:31:17 -04:00
Pietro Gagliardi ff4f8fbd58 Implemented uiControlContainerUpdateState() on uiBox, uiGroup, and uiWindow. Not on uiTab yet; there's a few glitches that I need to take care of first. 2015-08-21 01:09:07 -04:00
Pietro Gagliardi 133f258c3f Some TODO resolution. 2015-08-20 19:40:23 -04:00
Pietro Gagliardi 9da5feb0be Forbade setting a parent on a toplevel. 2015-08-20 19:17:19 -04:00
Pietro Gagliardi 0fd453fa91 Restored the test program to its full glory. Also removed the whole NSTabViewDelegate song and dance; that seemed to actually introduce bugs (like the tab view going partially offscreen at the top on first ppage switch to Page 2). 2015-08-20 17:09:41 -04:00
Pietro Gagliardi 2aeccf4444 FINALLY fixed the ambiguity FOR REAL. The problem was improper NSBox handling. Now to restore the test program... 2015-08-20 17:04:23 -04:00
Pietro Gagliardi d4e7640f5b Moved page 2 out of the tab view for now. The ambiguity still happens! We can more easily debug now. 2015-08-19 20:57:00 -04:00
Pietro Gagliardi 7d252178b6 Changed uiGroup on OS X to properly use the NSBox content view. That doesn't fix things either... 2015-08-19 17:57:34 -04:00
Pietro Gagliardi 190f9265a1 More TODOs. 2015-08-19 17:34:47 -04:00
Pietro Gagliardi b4e147f7a7 Attempted to fix the Auto Layout nonsense. 2015-08-19 17:15:45 -04:00
Pietro Gagliardi bd96368537 Fixed the build. Hm, I'm probably going to need to watch for tab changes... 2015-08-18 21:23:48 -04:00
Pietro Gagliardi dd3754b9c9 Wrote the new uiTab relayout code. Now to test. 2015-08-18 21:14:58 -04:00
Pietro Gagliardi ca068ecaf2 Wrote up the resize triggering logic for most controls. Only uiTab remains. 2015-08-18 20:15:09 -04:00
Pietro Gagliardi 2cf0707c3e Set up work for rearranging control layout to be depth-first and to relayout the entire window on a change. 2015-08-18 19:57:16 -04:00
Pietro Gagliardi b78693f21a More TODOs. 2015-08-17 20:11:10 -04:00
Pietro Gagliardi bec9ba1ba7 More relayout parent work. More TODOs. 2015-08-17 19:19:02 -04:00
Pietro Gagliardi 77a293b699 Set up a system by which a control can trigger the relayout of its parents. Not quite perfect yet. 2015-08-17 19:11:35 -04:00
Pietro Gagliardi b9b8ab7552 Removed some debugging stuff. I'm going to need to introduce a uiControlRelayoutParent(). 2015-08-17 18:53:46 -04:00
Pietro Gagliardi df832fbff8 More uiGroup work. 2015-08-17 18:30:04 -04:00
Pietro Gagliardi f2e30548fc Attempted to fill in uiGroup; also fixed uiUninit() bugs. 2015-08-17 17:27:27 -04:00
Pietro Gagliardi ab9432cc7e Stray TODO resolution removal. 2015-08-17 15:20:46 -04:00
Pietro Gagliardi 6544e76d5f Implemented the uiSlider and uiProgressBar functions and events. More TODOs. Some build warnings fixed. 2015-08-17 15:16:54 -04:00
Pietro Gagliardi 478f5d2504 More TODO resolution. 2015-08-17 12:57:45 -04:00
Pietro Gagliardi b15554cbd1 Some TODO resolution. 2015-08-17 12:42:10 -04:00
Pietro Gagliardi d8bba34caf More TODOs. 2015-08-17 12:15:32 -04:00
Pietro Gagliardi 46da8c5fc7 More TODOs. 2015-08-17 01:58:23 -04:00
Pietro Gagliardi edd2bf81e1 Fixed other build errors. IT WORKS! but isn't quite clean now... 2015-08-17 01:52:06 -04:00
Pietro Gagliardi a5a9c464bf Fixed some build and runtime errors. 2015-08-17 01:41:04 -04:00
Pietro Gagliardi eb0b1d1ab7 Changed all the things that used NSMutableDictionary to store views as keys to not do so. Will test next. 2015-08-17 01:29:34 -04:00
Pietro Gagliardi 22551413aa Set up the infrastructure for replacing NSMutableDictionary with a proper non-copying map. 2015-08-17 01:03:53 -04:00