Commit Graph

3075 Commits

Author SHA1 Message Date
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
Pietro Gagliardi f73b384fd9 Migrated GTK+ uiGroup. Also nuked bin and container; they aren't needed anymore. 2015-08-27 18:40:00 -04:00
Pietro Gagliardi e1113d2204 More GTK+ control migration. I'll need to handle bin now I suppose... 2015-08-27 16:17:18 -04:00
Pietro Gagliardi f9e4735510 Started migrating GTK+ controls. 2015-08-27 15:30:55 -04:00
Pietro Gagliardi 46b865a298 Begin the GTK+ backend migration. 2015-08-27 12:29:19 -04:00
Pietro Gagliardi d8eeab30eb Decided to nuke the stubs. 2015-08-27 12:22:58 -04:00
Pietro Gagliardi e1efbb1b8f Started cleaning out the toplevel (the old redo/). 2015-08-27 12:06:31 -04:00
Pietro Gagliardi 8213eac2d7 Moved everything up a directory level. 2015-08-27 12:05:11 -04:00
Pietro Gagliardi 4405001f07 Removed the Auto Layout uiBox plan now that it's implemented. The Swift program will stay for now as I will mock uiGrid on it too. 2015-08-27 12:00:41 -04:00
Pietro Gagliardi d98ca5dfd4 Removed more files from the top level. 2015-08-27 11:59:59 -04:00
Pietro Gagliardi 269e99aec3 Removed the old OS X code. 2015-08-27 11:56:07 -04:00
Pietro Gagliardi fec3129664 More TODO resolution. 2015-08-26 21:57:38 -04:00
Pietro Gagliardi a390aac089 Settled uiWindow show/hide differences. 2015-08-25 20:31:43 -04:00
Pietro Gagliardi 283ae5329e Implemented uiMsgBox() and uiMsgBoxError() and resolved a TODO on the OS X side. 2015-08-25 19:26:51 -04:00
Pietro Gagliardi ccd46d11f7 Implemented uiOpenFile() and uiSaveFile() on OS X. 2015-08-25 19:10:29 -04:00
Pietro Gagliardi 03bb30947c Updated some uiRadioButtons TODO. 2015-08-25 17:34:18 -04:00
Pietro Gagliardi 1ba27d325e Fixed progressbar animation issue. Re-added TODO for clipping because I can't tell how it happens anymore. 2015-08-23 23:10:17 -04:00
Pietro Gagliardi bc8d6a2fe7 Removed TODOs about 10.8 clipping the sides of controls; it's because those clipped edges overlap with the NSTabView border :( Not much we can do about it. 2015-08-23 21:55:59 -04:00
Pietro Gagliardi 35ed8a2125 Fixed uiRadioButtons sizing problems. 2015-08-23 17:53:29 -04:00
Pietro Gagliardi 5a6d96c20c More uiRadioButtons work. Moved the sizeToCells call into Relayout, thinking it would fix a bug with adding a certain number of cells. It does not, but this is more correct anyway. 2015-08-22 21:39:25 -04:00
Pietro Gagliardi f6d10e4194 Changed the single-view containers to break their layouts before calling their childrens's Relayout()s. This is part of what I hope will fix uiRadioButtons. 2015-08-22 21:29:22 -04:00
Pietro Gagliardi 9216013e55 More uiRadioButtons work. Fixed most of the sizing issues. 2015-08-22 17:21:27 -04:00
Pietro Gagliardi bcf7916336 More uiRadioButtons work. 2015-08-22 16:15:11 -04:00