Commit Graph

2116 Commits

Author SHA1 Message Date
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
Pietro Gagliardi d8f8812c85 Further reworking. 2016-04-24 09:50:06 -04:00
Pietro Gagliardi 68194bbfd1 Started reworking the controlgallery example's layout. 2016-04-24 09:48:38 -04:00
Pietro Gagliardi e90da765e3 Fixed a simple typo. IT WORKS! Also shortened one of the debug log messages. 2016-04-24 00:54:31 -04:00
Pietro Gagliardi 1f90366edd strsafe is a crock that does not follow its own documentation. Switch to the equivalent vcrt functions instead. 2016-04-24 00:50:19 -04:00
Pietro Gagliardi d258ac1d1d Fixed the other compiler and linker errors. We have a build! But does it work? If it does it's time to really tune this rewrite down. 2016-04-24 00:33:42 -04:00
Pietro Gagliardi c53e1c0b7d More fixes. Halfway through the alphabet now. 2016-04-23 22:29:54 -04:00
Pietro Gagliardi 158db39b68 More fixes. 2016-04-23 22:23:07 -04:00
Pietro Gagliardi 5236aa5855 More compiler error fixes. 2016-04-23 22:15:33 -04:00
Pietro Gagliardi 47aff78aae More compiler error fixes. Warning fixes will come later. 2016-04-23 21:38:51 -04:00
Pietro Gagliardi e0a8c8ce60 More fixes. 2016-04-23 21:25:56 -04:00
Pietro Gagliardi 2e352db4aa Fixed the wide string nonsense once and for all. Didn't need to switch to char at all! 2016-04-23 20:26:37 -04:00
Pietro Gagliardi 050cc3aa16 Fixed some things so far. It looks like I can't have __FILE__, etc. turned into wide strings because the way to do so works *ahead of time* :| Have to restructure debug.cpp. 2016-04-23 17:31:59 -04:00
Pietro Gagliardi ee6fa439f7 And updated the makefiles. Let's test! 2016-04-23 16:55:34 -04:00
Pietro Gagliardi cef1f90634 Oh right, also changed this to me in control implementations. Forgot that. NOW we can fix up the makefiles and test. 2016-04-23 16:52:53 -04:00
Pietro Gagliardi 0200af0301 Oh I forgot a few things. First, the other .cpp_ files. 2016-04-23 16:49:46 -04:00
Pietro Gagliardi 0307e11bf2 Migrated ui_windows.h. Now to fix up the makefiles and test. 2016-04-23 16:47:44 -04:00
Pietro Gagliardi e916c2f5fc Migrated uipriv_windows.h. Mostly. 2016-04-23 15:46:39 -04:00
Pietro Gagliardi 0e24e16bda Converted the uiArea files to C++. Now to fill in the header files... 2016-04-23 15:39:51 -04:00
Pietro Gagliardi 686e1ee58b "Migrated" menu.c. That just leaves the uiArea code and patching up holes in the header files, then we can test the build and further refine everything. 2016-04-23 15:26:57 -04:00
Pietro Gagliardi 2c097f5587 Mostly migrated draw.c. 2016-04-23 12:47:15 -04:00
Pietro Gagliardi a8b6cab2ab Did a proper migration of d2dscratch.c. 2016-04-23 11:50:47 -04:00
Pietro Gagliardi fbef804608 Quick and dirty C++ conversions of box.c, tab.c, and window.c. I feel like I need another rewrite... 2016-04-23 11:22:46 -04:00
Pietro Gagliardi ff096410a8 More migrations. 2016-04-22 22:20:02 -04:00
Pietro Gagliardi f829a06a7c Migrated child.c. Ugh... 2016-04-22 21:36:19 -04:00
Pietro Gagliardi 805e5f9811 Migrated spinbox.cpp. Now for the containers I guess... 2016-04-22 20:47:29 -04:00
Pietro Gagliardi 5d954712ea Migrated datetimepicker.c. 2016-04-22 20:40:16 -04:00
Pietro Gagliardi 955203bfb8 Migrated container.c and radiobuttons.c. 2016-04-22 20:37:28 -04:00
Pietro Gagliardi 6ec5f4800d Migrated simple controls to C++. 2016-04-22 20:14:12 -04:00
Pietro Gagliardi b514ba7cb0 Got rid of UtilText and UtilSetText. 2016-04-22 20:04:30 -04:00
Pietro Gagliardi b49091b897 Migrated label.c and separator.c. 2016-04-22 20:03:10 -04:00