Commit Graph

2913 Commits

Author SHA1 Message Date
Pietro Gagliardi 96ce336a8b Handled hidden controls in uiGrid properly. Spacing, on the other hand... 2016-06-14 19:44:28 -04:00
Pietro Gagliardi 8ae0823eee Implemented hidden controls properly on Windows uiForm. 2016-06-14 18:12:30 -04:00
emersion b817a16c05 Adds missing delete() method for darwin 2016-06-14 22:55:55 +02:00
emersion 52bd3b2c35 Adds uiFormDelete() 2016-06-14 22:41:37 +02:00
Pietro Gagliardi b6cb429d1a Fixed uiBox hidden control nonsense on Windows. FINALLY. 2016-06-14 16:06:39 -04:00
Pietro Gagliardi 997c8aac35 Implemented visibility change detection on Windows. Now to refine the actual implementation of hidden controls. 2016-06-14 15:55:24 -04:00
Pietro Gagliardi 6e5cf97623 Tied uiForm label visibility on GTK+ to the visibility of the control. This is the only visibility change needed on GTK+, fortunately. 2016-06-14 11:31:10 -04:00
Pietro Gagliardi cb81518e0f Implemented proper hiding and showing behavior on OS X on uiForm and uiGrid. 2016-06-14 11:18:38 -04:00
Pietro Gagliardi 44b4fa9c68 Fixed hiding on OS X uiBox. 2016-06-14 10:54:16 -04:00
Pietro Gagliardi d54f7dd682 Added a facility to the OS X port to be notified when a child's visibility has changed; this is necessary for implementing hiding and showing properly. 2016-06-14 10:37:19 -04:00
Pietro Gagliardi 48546f6b44 Clarified the update. 2016-06-13 22:44:11 -04:00
Pietro Gagliardi 207340f16f Finished the migration. 2016-06-13 22:42:11 -04:00
Pietro Gagliardi fa4542f217 Got rid of the last bit of intmax_t. Now to verify everything. 2016-06-13 22:00:18 -04:00
Pietro Gagliardi 4524ffce5e Removed most of the intmax_ts, which are all MinimumSize()s. 2016-06-13 21:54:15 -04:00
Pietro Gagliardi 8c974e7b77 Started removing intmax_ts, first with uipriv_windows.hpp. 2016-06-13 21:47:04 -04:00
Pietro Gagliardi cb3f10f243 Quick fix in the meantime. 2016-06-13 21:38:48 -04:00
Pietro Gagliardi 75a8ee9bf9 Removed intmax_t from everything else EXCEPT the Windows code. Now it's time for THAT... 2016-06-13 21:37:50 -04:00
Pietro Gagliardi 2affdab837 Removed intmax_t from the rest of the public API. 2016-06-13 21:23:05 -04:00
Pietro Gagliardi 864c6c2511 Finished stripping ui.h of intmax. 2016-06-13 21:20:20 -04:00
Pietro Gagliardi 155299cdb9 More intmax_t removal. 2016-06-13 21:11:59 -04:00
Pietro Gagliardi 440635447d More intmax_t removal. 2016-06-13 21:05:40 -04:00
Pietro Gagliardi 8d48d42201 More intmax_t elminiation. 2016-06-13 20:55:50 -04:00
Pietro Gagliardi b26354d1e7 Started replacement of intmax_t and uintmax_t with int. 2016-06-13 20:46:11 -04:00
Pietro Gagliardi 857bbbf506 Don't use 10.10-specific selectors in uiNewSearchEntry(). Fixes #132. 2016-06-13 15:15:40 -04:00
Pietro Gagliardi e46554f481 More work on the uiGrid test. 2016-06-13 13:57:20 -04:00
Pietro Gagliardi ba8e5b80ea More uiGrid tests. OS X falls apart as usual :D 2016-06-13 08:12:01 -04:00
Pietro Gagliardi f08cd96688 More control gallery rewriting. Removed some debugging code in the OS X grid. 2016-06-12 19:55:35 -04:00
Pietro Gagliardi 41ec54cb47 Started a new controlgallery. Fixed some glitches in OS X uiForm. 2016-06-12 19:08:08 -04:00
Pietro Gagliardi 9f4092dab5 And put uiGrid in the updates. Yay! 2016-06-12 18:28:34 -04:00
Pietro Gagliardi 144366c775 And got the last bit of grid working :D 2016-06-12 18:26:13 -04:00
Pietro Gagliardi 2cd97c8e60 Reworked hugging priorities a bit. We're getting closer... 2016-06-12 18:23:43 -04:00
Pietro Gagliardi 99e660377c More experiments. 2016-06-12 16:56:06 -04:00
Pietro Gagliardi f89feba680 Included spanning views in hugging priority management. 2016-06-12 16:27:29 -04:00
Pietro Gagliardi 629c242a83 Forgot to make the dummy views ignore autoresizing masks. 2016-06-12 15:35:54 -04:00
Pietro Gagliardi 0ce4fd6efd FIgured out that we need to ignore spanning cells; added support for that. Not yet perfect; still need to do a bit more... 2016-06-12 15:30:36 -04:00
Pietro Gagliardi 7908972d34 Continuing the current approach. This might work out better... 2016-06-12 15:08:07 -04:00
Pietro Gagliardi 77f4c2f309 Split out more of the uiGrid logic. Rewrote the edge constraints to use a topological map of views. Added dummy views for empty cells. 2016-06-12 13:47:33 -04:00
Pietro Gagliardi ebf4bce245 Moved the .m files out of the way. 2016-06-12 13:28:44 -04:00
Pietro Gagliardi a2e5dbc94c Saved some experiments. 2016-06-12 13:12:36 -04:00
Pietro Gagliardi 6496de0fb2 More TODOs. 2016-06-12 12:35:13 -04:00
Pietro Gagliardi 8f0bac54a3 Took an alternate route through the constraints in the grid. This should be a bit easier... 2016-06-12 12:31:44 -04:00
Pietro Gagliardi 31f2b6d059 More future plans. 2016-06-12 11:55:26 -04:00
Pietro Gagliardi 2c08f52a5b Moved Compatibility.md from ui to libui. 2016-06-12 11:55:02 -04:00
Pietro Gagliardi bf1595795c Fixed a tester bug. 2016-06-11 23:53:49 -04:00
Pietro Gagliardi fc2218b51c Added some rather fickle debugging. 2016-06-11 23:52:35 -04:00
Pietro Gagliardi 9650770554 Fixed a typo. Doesn't fix runtime bugs yet. 2016-06-11 23:42:58 -04:00
Pietro Gagliardi faa989aefd Fixed compile errors. Runtime errors, on the other hand... 2016-06-11 23:28:51 -04:00
Pietro Gagliardi d528fae1f4 Added uiGrid on OS X. Now to fix build errors. 2016-06-11 23:09:53 -04:00
Kevin Wojniak a18e3c71b9 Fix void* warning
"Format specifies type 'void *' but the argument has type 'uiWindow *' (aka 'struct uiWindow *')"
2016-06-10 21:23:13 -07:00
Pietro Gagliardi 61a94fde57 Fixed a memory leak in Windows uiForm. NOW OS X. 2016-06-10 22:29:20 -04:00