Commit Graph

2446 Commits

Author SHA1 Message Date
Pietro Gagliardi 25b9231ff8 Whoops, forgot the important bit! Minimum sizes! 2016-04-26 17:37:16 -04:00
Pietro Gagliardi d4d81a41a8 Started ~ the big Windows rewrite ~. You'll see a bunch of obviously new things. And as you can guess, we're dropping the scheduled sizing for now. 2016-04-26 17:35:10 -04:00
Pietro Gagliardi 2391454409 Added a rules.unix just to be safe. 2016-04-25 23:36:06 -04:00
Pietro Gagliardi 4e11b6efe1 Fixed build errors. It works! (Except for radiobuttons now needing a destroy; that'll come later.) Next up... Windows. Yay... 2016-04-25 20:34:12 -04:00
Pietro Gagliardi d65a263bb4 Whoops, forgot unix/area.c. Now let's try. 2016-04-25 20:19:57 -04:00
Pietro Gagliardi 3f16e28d1b Finished the conversions. Let's hope it works! 2016-04-25 20:15:02 -04:00
Pietro Gagliardi 289ca0ed78 More conversion work, including getting rid of a few now-unnecessary function declarations. 2016-04-25 20:09:20 -04:00
Pietro Gagliardi 01912877ce Converted the basic GTK+ controls. Now for the containers. 2016-04-25 20:00:25 -04:00
Pietro Gagliardi 85ee2e93dd More ui_unix.h and unix/control.c work. NOW we're ready to migrate the controls. 2016-04-25 19:45:05 -04:00
Pietro Gagliardi 6d655cde45 Finished rewriting ui_unix.h. Now to rewrite all the controls. Yay? 2016-04-25 19:16:48 -04:00
Pietro Gagliardi 12e519f928 Adjusted the rules based on the previous commit. 2016-04-25 18:08:26 -04:00
Pietro Gagliardi d7d7d4fd76 Fixed the SyncEnableState() machinery not quite working properly. 2016-04-25 18:07:29 -04:00
Pietro Gagliardi 7b0780be2a Made SyncEnableState() a uiDarwinControl method instead of a uiControl method since it's not needed on GTK+. 2016-04-25 17:52:16 -04:00
Pietro Gagliardi a651caac89 Started migrating ui_unix.h. SyncEnableState can be dropped from the GTK+ port, so let's do that next. 2016-04-25 16:45:49 -04:00
Pietro Gagliardi 98e7afc5de Freed most of the mapTables. 2016-04-25 13:47:24 -04:00
Pietro Gagliardi 5cfcf81a67 Fixed runtime errors. It seems to work! An autolayout step will need to be added... 2016-04-25 13:44:13 -04:00
Pietro Gagliardi d0d0efce1a Fixed build errors. Now to test! 2016-04-25 13:38:17 -04:00
Pietro Gagliardi 3ca4a28bb3 Settled the SetParent stuff. NOW we can test. 2016-04-25 12:59:45 -04:00
Pietro Gagliardi 23c2998040 Migrated darwin/control.m. Forgot the SetParent/SetSuperview rule! One more commit before we can build... 2016-04-25 12:55:51 -04:00
Pietro Gagliardi 189d661b7f Migrated darwin/tab.m and fixed up the other files. Now for darwin/control.m, then we can test... 2016-04-25 12:52:54 -04:00
Pietro Gagliardi b50eda0303 Migrated darwin/group.m. That just leaves darwin/tab.m and a few fixups to a number of other controls. 2016-04-25 12:42:43 -04:00
Pietro Gagliardi f0ca2dcee5 Migrated darwin/box.m. 2016-04-25 12:35:01 -04:00
Pietro Gagliardi 6e584f26d3 Migrated darwin/window.m. 2016-04-25 12:28:36 -04:00
Pietro Gagliardi c36d5079db Migrated the controls that don't have children to the new object method model on OS X. 2016-04-25 11:54:09 -04:00
Pietro Gagliardi e69010139d Fixed one last error. 2016-04-25 10:26:00 -04:00
Pietro Gagliardi 639a010a56 Tested everything by migrating darwin/combobox.m; fixed errors along the way. Also more TODOs. 2016-04-25 10:23:16 -04:00
Pietro Gagliardi a97171ed86 Quick fixes to previous commit. 2016-04-25 10:00:31 -04:00
Pietro Gagliardi a6b324a33c Finished the new ui_darwin.h. 2016-04-25 09:57:05 -04:00
Pietro Gagliardi 31dee85b5e More work with changing things for OS X. Still not fully sure about things... 2016-04-24 21:51:08 -04:00
Pietro Gagliardi e643dc3693 More new control structure work. This is turning into a disaster already. 2016-04-24 19:56:14 -04:00
Pietro Gagliardi dda30cdb3c Started the new uiControl infrastructure. 2016-04-24 19:22:21 -04:00
Pietro Gagliardi 19f563a2ac ...and a new system for allocating uiControls. 2016-04-24 18:49:28 -04:00
Pietro Gagliardi 5f624f6a38 Set up a new system for uiControl methods. 2016-04-24 18:46:03 -04:00
Pietro Gagliardi cf51ec823f Got rid of toplevelOwning(); I didn't like that one. 2016-04-24 18:23:00 -04:00
Pietro Gagliardi bc0a1d43c9 Applied the new type system to the Windows backend and fixed some more C++ stupidity related to it. 2016-04-24 17:38:48 -04:00
Pietro Gagliardi 96e8f1f8ea Did the rest of the object changes on GTK+. 2016-04-24 16:59:46 -04:00
Pietro Gagliardi fa4632d101 Fixed more build errors building the tests. OS X backend converted! 2016-04-24 16:20:57 -04:00
Pietro Gagliardi b6c54aac43 Fixed build errors. Let's test! 2016-04-24 16:14:19 -04:00
Pietro Gagliardi ded1ee6997 Removed typed stuff from darwin/menu.m. Now let's try building it. 2016-04-24 16:07:45 -04:00
Pietro Gagliardi 5efad5e850 Migrated the uiNewControl() definitions on OS X. This just leaves uiMenu. 2016-04-24 16:03:13 -04:00
Pietro Gagliardi b2c9577cb9 Set up all the control signatures and the framework for signature-based control types on OS X. 2016-04-24 15:46:29 -04:00
Pietro Gagliardi 24ac560f4b Elminated the type functions FOR REAL THIS TIME. 2016-04-24 15:18:14 -04:00
Pietro Gagliardi 8a532d66cc Adjusted common/control.c for the new type-based control system. Now to fix up the individual OSs. 2016-04-24 15:15:36 -04:00
Pietro Gagliardi f60178798f Removed common type code. 2016-04-24 15:08:48 -04:00
Pietro Gagliardi 7b0f930185 Removed all the type function declarations from all the controls. More TODOs. 2016-04-24 15:04:36 -04:00
Pietro Gagliardi 6f46bea054 Discontinued the Haiku port for now. 2016-04-24 14:18:56 -04:00
Pietro Gagliardi 46391367fe Removed the typefn stuff from ui_*.h*. 2016-04-24 14:15:56 -04:00
Pietro Gagliardi 2870f3239d More TODOs. 2016-04-24 13:32:20 -04:00
Pietro Gagliardi 712be2608e Got rid of the type checking stuff from ui.h. 2016-04-24 13:31:33 -04:00
Pietro Gagliardi 6760816b13 Updated the controlgallery screenshots. More TODOs. 2016-04-24 13:07:19 -04:00