Commit Graph

1547 Commits

Author SHA1 Message Date
Pietro Gagliardi d44f966fc3 Removed the obsolete HasTabStops() from the Windows backend. It was needed for uiTab due to the incorrect way it worked before; soon I will make it the correct way, and we won't need it. 2015-09-02 09:39:21 -04:00
Pietro Gagliardi 8846af48d4 Implemented z-ordering on uiBox. 2015-09-02 09:36:53 -04:00
Pietro Gagliardi 6be1cabf22 Started integrating tab stops and control IDs. Single-control situations handled. 2015-09-02 09:18:49 -04:00
Pietro Gagliardi 42f6d0f974 Set up the framework for handling Z-order and control IDs. Not actually used yet; we'll do that next. 2015-09-01 21:36:33 -04:00
Pietro Gagliardi 1bb98b2c61 Removed the OLD radio buttons and spinbox code. 2015-09-01 21:27:03 -04:00
Pietro Gagliardi f130360be6 More TODO resolution and TODOs. 2015-09-01 16:44:09 -04:00
Pietro Gagliardi e46822a9b1 More TODO resolution. 2015-09-01 16:10:29 -04:00
Pietro Gagliardi 25208dcab4 Some TODO resolution. 2015-09-01 13:51:25 -04:00
Pietro Gagliardi 9a3bffe566 Fixed a whole bunch of sizing issues on the Windows backend. 2015-09-01 11:46:53 -04:00
Pietro Gagliardi 862b0402b9 More Windows uiTab work. 2015-09-01 11:33:25 -04:00
Pietro Gagliardi 57b9927a25 Some more testing hooks for Windows. 2015-09-01 11:24:16 -04:00
Pietro Gagliardi 5ea3307027 Partial uiTab rewiring. 2015-09-01 09:39:25 -04:00
Pietro Gagliardi 4714bbacd5 Set up uiBox sizing. 2015-09-01 09:18:37 -04:00
Pietro Gagliardi d3d62c849c Fixed uiWindows window sizing issues. 2015-09-01 08:42:42 -04:00
Pietro Gagliardi c4103afb49 Some runtime error fixes. 2015-09-01 07:47:29 -04:00
Pietro Gagliardi 993cb67ba4 Fixed linker errors. Now for runtime errors. 2015-09-01 07:33:13 -04:00
Pietro Gagliardi 099d15b638 More compiler issue fixing. 2015-09-01 07:21:18 -04:00
Pietro Gagliardi 7e11274e3a Fixed very many compilation issues. There's a lot more left to fix, though... 2015-08-31 17:50:23 -04:00
Pietro Gagliardi 67e87f213a Finished the initial run of box.c and GNUmakefile. Now to finally test the build which will break miserably! :D 2015-08-31 17:05:50 -04:00
Pietro Gagliardi 25bbd58915 And wrote up the new Windows control.c. Let's take this to the bridge!... oh right, box.c :| 2015-08-31 15:16:36 -04:00
Pietro Gagliardi cefd262f42 More migration. Just control.c left, and then we can build. 2015-08-31 15:14:02 -04:00
Pietro Gagliardi 413ec1a2c3 More migration. 2015-08-31 13:37:56 -04:00
Pietro Gagliardi 3a607cbbf2 Moved back a whole bunch of Windows files. 2015-08-31 12:45:53 -04:00
Pietro Gagliardi 1a39797a14 More Windows control work. 2015-08-31 12:33:44 -04:00
Pietro Gagliardi ec4ac0d596 Started the migration of uiTab on Windows. Phew; we're getting close... 2015-08-31 11:31:42 -04:00
Pietro Gagliardi 99c37b9697 Wrote up the boilerplate needed for tab pages. 2015-08-31 10:55:33 -04:00
Pietro Gagliardi 411afe4480 "Migrated" uiSpinbox in the same way as with uiRadioButtons. I might need a container and a uiWindowsSpinboxEditHandle()... 2015-08-31 07:28:15 -04:00
Pietro Gagliardi 887c087920 Started the migration of Windows uiRadioButtons. There are two files here: OLDradiobuttons.c, which is the old code as is, and radiobuttons.c, which is the partially-migrated file. 2015-08-30 22:08:25 -04:00
Pietro Gagliardi 311a7d4124 More migration work. 2015-08-30 19:32:05 -04:00
Pietro Gagliardi 34f0d71d0c Added Windows child.c. 2015-08-30 18:45:45 -04:00
Pietro Gagliardi f5cfdaddb9 Started work on reimplementing Windows API controls with parents. This handles uiGroup. Need to add child.c next. 2015-08-30 18:38:22 -04:00
Pietro Gagliardi 6df9ad49a1 More ui_windows.h work. 2015-08-30 18:24:57 -04:00
Pietro Gagliardi 465d497cb6 Migrated all the single-HWND controls that don't have a child. Moment of truth time: do we require all controls to have a single HWND? Leaning toward yes. 2015-08-30 12:25:53 -04:00
Pietro Gagliardi d4bb41f4c0 Migrated uiButton on Windows to the new backend. Most controls will, fortunately, be this smooth. 2015-08-29 21:02:38 -04:00
Pietro Gagliardi 8b564c2427 More ui_windows.h work. PreferredSize is now MinimumSize. Still need to figure out what I'm going to do about Box, Tab, and Spinbox... 2015-08-29 20:38:12 -04:00
Pietro Gagliardi a00bc3cb9d Started migrating ui_windows.h. This is going to be a pain... Also fixed an error in ui_unix.h. 2015-08-28 21:42:21 -04:00
Pietro Gagliardi 4f930ca8c3 Commit message withheld 2015-08-28 18:27:17 -04:00
Pietro Gagliardi 8661ffa377 Removed duplicate uthash. 2015-08-28 18:14:02 -04:00
Pietro Gagliardi 3fa52f811e Migrated uiBox to use the child system. It all works! :D 2015-08-28 18:12:24 -04:00
Pietro Gagliardi ef0f36a8ec Moved GTK+ uiWindow to the new child system and fixed a latent bug in uiGroup. Now it's just uiBox and the GTK+ port will be migrated! 2015-08-28 17:16:02 -04:00
Pietro Gagliardi 77b53b5278 Migrated GTK+ uiTab to the child functions. 2015-08-28 16:50:55 -04:00
Pietro Gagliardi 19c9b0f9da Switched GTK+ uiGroup to the new child functions. 2015-08-28 16:43:41 -04:00
Pietro Gagliardi a6da02b3f7 Added a separate system for handling children of controls on GTK+. (I was thinking of doing this on OS X first, but this is probably simpler than saving the expand/align states for uiGroup and uiTab, so I'm doing the GTK+ backend first.) Not actually used yet, just written. 2015-08-28 16:38:04 -04:00
Pietro Gagliardi 8ba1ed9960 Fixed most runtime issues. 2015-08-28 10:43:53 -04:00
Pietro Gagliardi 89b47316f9 Fixed build issues; now to fix runtime bugs. 2015-08-28 10:30:42 -04:00
Pietro Gagliardi 18f23a2ef5 Migrated unix/menu.c. Now to continue the build. 2015-08-28 10:22:49 -04:00
Pietro Gagliardi cee974f4fc Fixed some compiler issues. Oops, forgot to migrate menu.c. 2015-08-28 10:10:52 -04:00
Pietro Gagliardi 1a24465cc9 Finished GTK+ backend migration. Now to test. 2015-08-28 10:01:57 -04:00
Pietro Gagliardi d3663ae44b Finished uiControl migration. Now to fix up the rest of the code... 2015-08-28 09:56:41 -04:00
Pietro Gagliardi 56db594d4d More GTK+ control migration. 2015-08-27 23:00:34 -04:00