Commit Graph

3022 Commits

Author SHA1 Message Date
Pietro Gagliardi 9f1ef9eaa1 Migrated the OS X uiWindow code back, modernizing it in the process. Also fixed a latent bug in the GTK+ uiWindow code. 2015-07-03 23:12:31 -04:00
Pietro Gagliardi eae17fef21 Wrote the uiControl core for the OS X backend. 2015-07-02 22:25:20 -04:00
Pietro Gagliardi ed9e70c058 Started redoing the OS X port. 2015-07-02 16:09:57 -04:00
Pietro Gagliardi 9eed7020e9 Implemented uiMsgBox() and uiMsgBoxError() on the GTK+ backend. I think that's all of the GTK+ backend done now... 2015-07-02 12:57:37 -04:00
Pietro Gagliardi af961e945e Implemented uiOpenFile() and uiSaveFile() on GTK+. 2015-07-02 11:50:35 -04:00
Pietro Gagliardi 0099983c09 Some GTK+ backend cleanup. 2015-07-02 11:33:20 -04:00
Pietro Gagliardi 582677a7f1 Removed PUT_CODE_HERE from uipriv_unix.h; we've implemented everything. 2015-07-02 11:31:37 -04:00
Pietro Gagliardi 8a0f914026 More GTK+ work. 2015-07-02 11:28:25 -04:00
Pietro Gagliardi 45b67d7da6 Whoops, fixed the GTK+ containerWidget bug. Wrong function in the control base code! 2015-07-02 08:57:35 -04:00
Pietro Gagliardi 31bf280d4f Fixed a bug in unix/control.c. 2015-07-02 07:58:15 -04:00
Pietro Gagliardi 89445cabfc Started to bring back the shared uiBox implementation. Need to figure out why the child clip area is 0x0... 2015-07-02 02:11:42 -04:00
Pietro Gagliardi 5cb27c115d Decided not to use GtkBox for uiBox; its expand rules don't fit my stretchy rules.We'll need to bring back containerWidget, but this time in a VERY REDUCED FORM. 2015-07-02 01:43:40 -04:00
Pietro Gagliardi 0966b9448a Settled uiSlider and uiSpinbox spurious event inhibition on GTK+. 2015-07-01 19:11:51 -04:00
Pietro Gagliardi 05c7a7b7c7 Called uninitTypes() in uiUninit() for the GTK+ backend. 2015-07-01 12:47:16 -04:00
Pietro Gagliardi 7bacc356a7 Maybe we won't need to switch to GtkBox entirely... 2015-07-01 12:46:10 -04:00
Pietro Gagliardi c3abede628 Implemented uiRadioButtons on GTK+. 2015-07-01 12:39:05 -04:00
Pietro Gagliardi 395cc5108c Finished GTK+ uiComboBox. 2015-07-01 11:29:19 -04:00
Pietro Gagliardi 6dd714e61b Implemented GTK+ uiSlider. 2015-07-01 11:26:14 -04:00
Pietro Gagliardi 7ce9a8c277 Reimplemented GTK+ uiProgressBar and uiSpinbox. 2015-07-01 11:21:06 -04:00
Pietro Gagliardi 92aaa1ae07 Finished the implementation of GTK+ uiGroup. 2015-07-01 08:07:53 -04:00
Pietro Gagliardi 7abf88d9ef Finished reimplemented GTK+ uiTab. 2015-07-01 01:02:34 -04:00
Pietro Gagliardi 381c7e9277 Implemented the new bin system on uiTab. 2015-06-30 22:36:12 -04:00
Pietro Gagliardi dc617bcfe2 Added a bin type to the GTK+ backend to handle uiWindow parenting and uiWindow/uiTab margins. 2015-06-30 22:30:00 -04:00
Pietro Gagliardi 8e89f60330 Reimplemented GTK+ uiLabel. 2015-06-30 22:10:52 -04:00
Pietro Gagliardi a79368e26b Reimplemented GTK+ uiEntry. 2015-06-30 11:26:54 -04:00
Pietro Gagliardi 8361b4d41a Removed the old GTK+ uiCheckbox. 2015-06-30 11:20:28 -04:00
Pietro Gagliardi c73b506709 Reimplemented GTK+ uiCheckbox. 2015-06-30 11:20:14 -04:00
Pietro Gagliardi cf4dd17bb4 Removed the old unix/button.c. 2015-06-30 10:54:08 -04:00
Pietro Gagliardi 96172d9b04 Finished the implementation of GTK+ uiButton and implemented a few fixes and added some TODOs. 2015-06-30 10:52:38 -04:00
Pietro Gagliardi a2fee7aeb7 Implemented stretchiness in the new GTK+ uiBox. 2015-06-30 01:22:09 -04:00
Pietro Gagliardi b8c69fc733 Got rid of unix/container.c. 2015-06-30 01:17:52 -04:00
Pietro Gagliardi 21319201f2 Finished the migration for now. Yeah, this will work... 2015-06-30 01:16:35 -04:00
Pietro Gagliardi af8fe560ff Moved the old box.c to windows/box.c and updated all the Makefiles. 2015-06-30 01:06:36 -04:00
Pietro Gagliardi 56c8dd6939 Decided to have uiBox implementations be per-OS and switched to using GtkBox on GTK+. This has the advantage that a) all uiControls on GTK+ now use exactly one GtkWidget so we don't need container, and b) we can use Auto Layout on OS X. Only more work will decide if we keep this system.. 2015-06-30 01:05:07 -04:00
Pietro Gagliardi 4635eda295 Some more GTK+ tab fixes. This is getting nowhere. 2015-06-29 22:57:12 -04:00
Pietro Gagliardi c8a53277c3 Readded the tab 2015-06-29 22:49:12 -04:00
Pietro Gagliardi 1860f6a731 More TODOs. 2015-06-29 20:41:41 -04:00
Pietro Gagliardi 3acc1ed917 Oops forgot uiControlPreferredSize() in GTK+ uiControls; fixed. 2015-06-29 20:40:58 -04:00
Pietro Gagliardi b86fe98abd Fixed some other flaws. 2015-06-29 20:37:55 -04:00
Pietro Gagliardi e22439c0a2 First draft of integrating holders into uiWindow. Increasing urge to just ditch the cross-platform uiBox and have the GTK+ uiBox be a thin GtkBox wrapper (in which case we don't even need containerWidget!). 2015-06-29 11:48:27 -04:00
Pietro Gagliardi 2af0ffb3c6 Fixed typos in unix/container.c. 2015-06-29 11:19:56 -04:00
Pietro Gagliardi c0bb1ff7a8 Added a system for holding a uiControl in a single GtkWidget. 2015-06-29 11:18:39 -04:00
Pietro Gagliardi 2ca99e3ffe Finished the control stubbing. Everything (that is expected to work) works (so far)! 2015-06-27 19:57:10 -04:00
Pietro Gagliardi 7cafbd223a More GTK+ control stubbing. Incidentally, this actually finishes the implementation of uiSeparator. 2015-06-27 19:48:01 -04:00
Pietro Gagliardi da520af372 More GTK+ control stubbing. 2015-06-27 19:46:11 -04:00
Pietro Gagliardi 5ae4afd0d5 More work. Guess I'm creating all the widgets now... 2015-06-26 21:52:42 -04:00
Pietro Gagliardi 9f6043153c More GTK+ work. 2015-06-26 18:45:00 -04:00
Pietro Gagliardi a30db90e91 More GTK+ backend work. I'm doubting the stability of this thing... 2015-06-26 18:28:38 -04:00
Pietro Gagliardi 10e8d3203f Started migrating the GTK+ container. 2015-06-15 23:03:07 -04:00
Pietro Gagliardi 58a4b5d2da More work. uiSizing on Unix done. 2015-06-15 22:36:49 -04:00