Commit Graph

616 Commits

Author SHA1 Message Date
Pietro Gagliardi f275a9a043 Converted box.m's auto layout code to the new format. Stretchiness isn't handled yet. Next up is box.m's actual view itself. 2015-08-02 22:29:35 -04:00
Pietro Gagliardi bdf3bed5f4 Changed tWindow to use the single-view-per-control model. 2015-08-02 21:34:54 -04:00
Pietro Gagliardi 90cd19fca6 Removed the separate spinbox. It's not going to happen; every component has to be its own NSView for tBox to work. 2015-08-02 21:03:06 -04:00
Pietro Gagliardi f1b372569a Tried to do lateral dimension tuning. Didn't work -_- Recursive tBoxes might have to be individual NSViews as well :|
Psy in #macdev said things which confirm that Auto Layout does NOT give me Interface Builder metrics for free. This destroys the whole point...
2015-08-02 19:27:55 -04:00
Pietro Gagliardi 2fe193563e Resolved that TODO. 2015-08-02 18:54:33 -04:00
Pietro Gagliardi 03212b6b02 More TODOs. 2015-08-02 18:43:50 -04:00
Pietro Gagliardi f434b8e1b9 Started constructing the final test tBox. 2015-08-02 18:40:45 -04:00
Pietro Gagliardi 10efe52513 "Fixed" another crash. 2015-08-02 18:34:47 -04:00
Pietro Gagliardi b3ad1768b0 Fixed Auto Layout prefix issues. 2015-08-02 18:19:11 -04:00
Pietro Gagliardi ebae310ff1 Fixed crashing. Made relayouts optional in tSetParent. Rewrote the tBox auto layout code a fair bit, thinking crashing was caused by stack overflow (it was not). 2015-08-02 18:16:44 -04:00
Pietro Gagliardi 4a97a3cdb9 Wrote the tBox code to deal with starts and ends and attachments. It doesn't quite work yet... 2015-08-02 16:55:21 -04:00
Pietro Gagliardi f72b47c4dc Added horizontal/vertical first/last flags. These flags are used by single controls for attachments. tBox will set them conditionally, so it can use the attachment values directly. 2015-08-02 15:03:30 -04:00
Pietro Gagliardi 3e8aad0068 Started converting tBox to the attachcment-based system. I think I'll need to introduce a few more parameters (first/last horz/vert). 2015-08-02 14:49:10 -04:00
Pietro Gagliardi 15ecebbccc Adjusted tWindow to use the new attachment system. 2015-08-02 14:06:49 -04:00
Pietro Gagliardi b508161d1e Added a framework for handling attachments to the frame. These are only handled by the shallowest control level (the immediate child of a tWindow). 2015-08-02 13:57:59 -04:00
Pietro Gagliardi 5bc53f937d More stretchiness work. 2015-08-02 12:52:24 -04:00
Pietro Gagliardi 88f137aa80 Laid the foundation for handling stretchiness. 2015-08-02 12:35:48 -04:00
Pietro Gagliardi fbbe1fdd3b Added vertical boxes. 2015-08-02 12:22:24 -04:00
Pietro Gagliardi 64ed23e933 Changed the Auto Layout generation function to use a structure of parameters. This will make adding parameters easier. 2015-08-02 11:26:03 -04:00
Pietro Gagliardi 96dfd95fd3 Fixed spinbox single-view issues. 2015-08-02 09:31:49 -04:00
Pietro Gagliardi 2daf46b711 Moved the combined spinbox back. Forgot to auto layout its contents :D 2015-08-02 09:10:17 -04:00
Pietro Gagliardi f0d1c5d171 Added a copy of the spinbox code with just one view containing the two controls. This is going to hurt is it... 2015-08-02 00:39:16 -04:00
Pietro Gagliardi aca81945e8 Added some support code for our changes to tSpinbox to make it have only one view. Unfortunately, this is how we're going to need to do stretchiness with tSpinbox. 2015-08-02 00:10:30 -04:00
Pietro Gagliardi 08c3602130 Saved stretchy values in box.m. We'll need to figure out how to incorporate these into the generated files... 2015-08-01 22:38:01 -04:00
Pietro Gagliardi 30a30cb5be Added tRelayout to all controls. Also changed the order of stretchy controls in main.m because Auto Layout's defaults aren't optimal. 2015-08-01 22:13:41 -04:00
Pietro Gagliardi 8868ad3b53 Stored parents in the various tControls. This is neccessary for making tRelayout on all controls. 2015-08-01 21:41:36 -04:00
Pietro Gagliardi 399f18f3ad Removed the old Auto Layout routines from the other classes. 2015-08-01 18:35:24 -04:00
Pietro Gagliardi a2925e3b0b Implemented more of the tBox auto layout logic. Now we need to get rid of the methods I had before and implement tRelayout on all classes. 2015-08-01 18:33:17 -04:00
Pietro Gagliardi a06216eb34 Fixed some build errors. 2015-08-01 18:13:43 -04:00
Pietro Gagliardi a7b0df8198 Updated the main program to use tBox. If we test it, nothing should show up... 2015-08-01 18:08:45 -04:00
Pietro Gagliardi 7bd98bafc9 Started reimplementing uiBox. Added a first argument to the main Auto Layout function so uiBox can have subviews. 2015-08-01 18:05:50 -04:00
Pietro Gagliardi b528d1ff0c Added multiple primary horizontal and vertical Auto Layout views. This will accomodate tSpinbox. Now we can go back to tBox. 2015-08-01 17:26:56 -04:00
Pietro Gagliardi 4dc63828e4 Added spinboxes to the test. We're going to need multiple horizontals and verticals. 2015-08-01 17:19:45 -04:00
Pietro Gagliardi 554454f036 Added margined to tWindow. 2015-08-01 15:44:06 -04:00
Pietro Gagliardi 391f6dd265 Implemented the basic Auto Layout manager for tWindow and tButton. Added tWindow this time too >_> 2015-08-01 15:38:59 -04:00
Pietro Gagliardi 9ecf15f4e0 Changed things around a bit; going to build things from tWindow's perspective first. 2015-08-01 15:21:03 -04:00
Pietro Gagliardi cdbf2d5b5c Moved tBox out of the way. We'll start with just a tButton for now. 2015-08-01 15:08:33 -04:00
Pietro Gagliardi 63439daffc Some cleanup in the Auto Layout test. 2015-08-01 14:22:45 -04:00
Pietro Gagliardi c9da21e350 More Auto Layout test work. It compiles1 2015-08-01 12:43:54 -04:00
Pietro Gagliardi 8bcaeb5d85 More TODOs. 2015-08-01 02:28:10 -04:00
Pietro Gagliardi 52152f0f9d More uiBox mock work. 2015-08-01 02:16:35 -04:00
Pietro Gagliardi 0d27b4e30f Started mocking the implementation of uiBox. 2015-07-31 23:25:59 -04:00
Pietro Gagliardi 32905f5989 More Auto Layout test work. 2015-07-31 23:06:29 -04:00
Pietro Gagliardi 046a7303c4 Started mocking out how uiBox will work in Auto Layout. This will be a separate program for now; hopefully I can salvage its code for the actual implementation. 2015-07-31 22:33:49 -04:00
Pietro Gagliardi c8ac7ffaf5 Added planning for new auto layout-based uiBoxes for OS X. 2015-07-31 14:06:48 -04:00
Pietro Gagliardi 43341f51e9 Switched the GTK+ implementation to use this new uiBox, completed the implementation a bit more, and fixed some other build errors. 2015-07-30 12:43:40 -04:00
Pietro Gagliardi d4d30285ff Wrote up an untested implementation of a GtkBox-based uiBox, redux. This system of having one uiControl vtable to rule them all isn't going to work; each backend will need a wildly different implementation; oh well :/ 2015-07-30 12:31:39 -04:00
Pietro Gagliardi 29220bde2d Implemented autoresize of bin controls. It won't work now because uiBox tries to do its own size management. This is going to be a mess... :) 2015-07-29 19:57:23 -04:00
Pietro Gagliardi bddbe16ea9 Fixed some more runtime errors. 2015-07-29 13:43:54 -04:00
Pietro Gagliardi 10eefc7a61 Verified some stuff. 2015-07-29 13:35:49 -04:00
Pietro Gagliardi fde28fefe2 Fixed some runtime errors. 2015-07-29 13:34:25 -04:00
Pietro Gagliardi 7d1b97fb28 Fixed the other build errors. Now to fix runtime errors. 2015-07-29 13:29:32 -04:00
Pietro Gagliardi 0128e9f85e Added bins to the OS X backend. Let's try this again I guess :/ 2015-07-29 12:28:13 -04:00
Pietro Gagliardi 3d79ccf24c Migrated container.m. This will behave similarly to the GTK+ backend; bin.m will come next. 2015-07-29 12:17:12 -04:00
Pietro Gagliardi 7e25241045 Added a dummy implementation of uiSpinbox on OS X. 2015-07-28 14:56:50 -04:00
Pietro Gagliardi 87e4245e34 Fixed some compiler errors. 2015-07-28 14:14:41 -04:00
Pietro Gagliardi da73d003ba Updated the OS X makefile. Will test the build later. 2015-07-28 11:57:56 -04:00
Pietro Gagliardi 58ad6989c9 More OS X control work. 2015-07-28 11:47:05 -04:00
Pietro Gagliardi 15a3d151cd More OS X control work. 2015-07-27 23:38:44 -04:00
Pietro Gagliardi 23e1fe0c98 And more TODOs. 2015-07-27 20:12:52 -04:00
Pietro Gagliardi 1fd334c490 Oops forgot NSDatePicker 2015-07-27 20:11:44 -04:00
Pietro Gagliardi b3137b469a Constructed a list of things we need to figure out about each of the controls we need to implement. More TODOs. 2015-07-27 20:08:17 -04:00
Pietro Gagliardi ce82174013 More OS X control work. 2015-07-26 13:53:35 -04:00
Pietro Gagliardi 75bc1c13bb Started mapping out new OS X uiControl Interface Builder default parameters. 2015-07-24 23:30:27 -04:00
Pietro Gagliardi 2e4af8a123 More OS X uiControl work... kinda. At least all the controls that were in previously are now back in; that just leaes the new ones now. 2015-07-24 15:42:10 -04:00
Pietro Gagliardi 62b5365577 More OS X uiControl work. 2015-07-22 23:20:01 -04:00
Pietro Gagliardi d5744df476 More OS X uiControl work, finally. 2015-07-22 23:03:26 -04:00
Pietro Gagliardi 4234b47f62 More OS X uiControl work. 2015-07-11 22:56:43 -04:00
Pietro Gagliardi 89f8bd8643 Migrated OS X uiButton. We're off to a meh start... 2015-07-11 20:28:04 -04:00
Pietro Gagliardi 71c8bfc539 More OS X control stuff. 2015-07-11 17:02:01 -04:00
Pietro Gagliardi dc9bf84256 Started rewriting the OS X controls. Imported stubs. 2015-07-11 16:56:37 -04:00
Pietro Gagliardi 9b5fe800c7 More basic OS X backend functions work. 2015-07-03 23:32:01 -04:00
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 c73b506709 Reimplemented GTK+ uiCheckbox. 2015-06-30 11:20:14 -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
Pietro Gagliardi 039bc5083b More build fixes. Almost linking now... 2015-06-14 20:02:52 -04:00
Pietro Gagliardi c5fa717c7d Some compilation fixes. 2015-06-14 19:58:00 -04:00
Pietro Gagliardi b5d20864cb More file migrations. 2015-06-14 19:50:11 -04:00
Pietro Gagliardi 61b791d9f1 Moved uipriv_unix.h back. 2015-06-14 00:58:10 -04:00
Pietro Gagliardi d7c2b778cd Worked on GTK+ window.c. 2015-06-13 12:59:13 -04:00
Pietro Gagliardi 95e29fef68 Wrote the boilerplate for GTK+ uiControls. 2015-06-11 19:23:47 -04:00
Pietro Gagliardi 49aca6141e Started work on the GTK+ controls. 2015-06-11 19:07:06 -04:00
Pietro Gagliardi 930c4e6883 More migration. 2015-06-11 18:01:05 -04:00
Pietro Gagliardi 7b2c76bb31 Added the stub window.c. Now we can really start the new GTK+ backend. 2015-06-11 18:00:08 -04:00
Pietro Gagliardi 45cb2890f2 More stub controls. This just leaves stub uiWindow. 2015-06-11 16:53:52 -04:00
Pietro Gagliardi a6d38831cc More stubs. 2015-06-11 14:03:43 -04:00
Pietro Gagliardi a019dab679 Started building stubs of the controls so new backends can be added more easily. 2015-06-10 23:01:26 -04:00
Pietro Gagliardi 8d9e229183 Started the new GTK+ backend. Migrated files that don't need changing back. 2015-06-09 22:45:35 -04:00
Pietro Gagliardi 1e1a69f1bb Revert "Added more robust debugger logging to the Windows backend, PROPERLY this time."
Bleh, still don't quite feel like it...

This reverts commit a105522e0a.
2015-06-09 18:08:41 -04:00
Pietro Gagliardi a105522e0a Added more robust debugger logging to the Windows backend, PROPERLY this time. 2015-06-09 12:38:06 -04:00
Pietro Gagliardi daa9a42e46 Added more robust compiler version verification to the Windows code, including a minimum version of MSVC for logging utilities. 2015-06-09 12:16:59 -04:00
Pietro Gagliardi 60556482e1 TODO updates. 2015-06-08 23:03:58 -04:00
Pietro Gagliardi bdf5ebad3d Removed a TODO related to shutdown-type cleanup. We can't rely on it. 2015-06-08 21:18:26 -04:00
Pietro Gagliardi bf0b38b6c2 Revert "Set up basic logging."
Not right now.

This reverts commit 499bf2d00c.
2015-06-08 19:09:57 -04:00
Pietro Gagliardi 499bf2d00c Set up basic logging. 2015-06-08 13:07:14 -04:00
Pietro Gagliardi 3c7f19565d Quashed Aero progressbar issues. 2015-06-08 03:56:17 -04:00
Pietro Gagliardi 5a5193f6ec Added DS_CONTROL to the tab page dialog. It's more correct, but it doesn't fix the hanging bug :( 2015-06-07 22:21:08 -04:00
Pietro Gagliardi 557ee68e47 Overdue change: handled WM_PRINTCLIENT in uiWindow. 2015-06-07 22:06:41 -04:00
Pietro Gagliardi 317c4dbc22 Updated some TODOs. 2015-06-07 21:28:40 -04:00
Pietro Gagliardi f8d97949bc More TODOs. 2015-06-07 20:47:18 -04:00
Pietro Gagliardi 03a5ffe797 Fixed unthemed dialog painting on Windows Classic. 2015-06-07 20:36:03 -04:00
Pietro Gagliardi cb1b5ee48b Got rid of the TaskDialog() linker kludge. This will require a version of MinGW-w64 newer than available; there's a patch I need to submit for approval for that. 2015-06-07 14:05:18 -04:00
Pietro Gagliardi bf9e43b185 TODO shuffling. 2015-06-06 16:37:13 -04:00
Pietro Gagliardi 02e9c0c4f2 This commit message intentionally left blank. 2015-06-06 16:01:32 -04:00
Pietro Gagliardi f0483f294d More TODO resolution. uiGroup API finished. 2015-06-05 17:31:15 -04:00
Pietro Gagliardi a12326f586 Decided not to have a vertical space between radiobuttons. 2015-06-05 17:16:03 -04:00
Pietro Gagliardi ad66aa25d5 More TODO resolution. 2015-06-05 17:12:51 -04:00
Pietro Gagliardi 3f5df058c2 More TODO resolution. 2015-06-05 16:56:43 -04:00
Pietro Gagliardi b57221772f More TODO resolution. 2015-06-05 16:52:21 -04:00
Pietro Gagliardi d1fd35d240 More TODO resolutions. 2015-06-05 16:35:56 -04:00
Pietro Gagliardi fb9d7a2a99 Made uiSpinbox not use singleHWNDControls. More TODOs. 2015-06-05 16:22:50 -04:00
Pietro Gagliardi 7ff81f69b3 Fixed spinbox numeric entry woes. 2015-06-05 16:13:03 -04:00
Pietro Gagliardi 69d6ecfac5 Resolved a TODO. 2015-06-05 16:05:49 -04:00
Pietro Gagliardi 7e9f0c4c59 Settled date-time picker height issues. 2015-06-05 15:53:26 -04:00
Pietro Gagliardi f8ac32e761 Settled date/time format stuff. Voided my ability to contribute to wine's comctl32.dll in the process, so a clause has been added to the relevant code. 2015-06-05 15:43:18 -04:00
Pietro Gagliardi 5536e80ef2 Removed unnecessary styes from windows/radiobuttons.c. 2015-06-05 13:20:30 -04:00
Pietro Gagliardi 93a73f2e9a Added some notes. 2015-06-05 10:23:31 -04:00
Pietro Gagliardi 5672b9cab9 More TODOs. Will this ever end... 2015-06-05 00:11:34 -04:00
Pietro Gagliardi de726086da Properly tested parent changes for radiobuttons... Z-order changes are still an issue 2015-06-05 00:09:07 -04:00
Pietro Gagliardi 932340719b Clipped radiobuttons to the allocated height. 2015-06-04 23:39:11 -04:00
Pietro Gagliardi d056c07ba9 Implemented correct z-ordering for radiobuttons. 2015-06-04 23:31:43 -04:00
Pietro Gagliardi bd194660c0 Verified SetWindowPos() flags. 2015-06-04 16:42:19 -04:00
Pietro Gagliardi 7ab0ebbcab Switched from InvalidateRect() to RedrawWindow(). Fixes some minor bugs. 2015-06-04 16:36:28 -04:00
Pietro Gagliardi 3b8533f033 Forgot to uninit the util window. 2015-06-04 15:17:23 -04:00
Pietro Gagliardi 6a7d0d87eb Removed a TODO about Vista-specific options for Windows text functions; there are none relevent to us. 2015-06-04 15:05:47 -04:00
Pietro Gagliardi efc5e9c801 Some TODO resolution and expository comments. 2015-06-04 15:02:19 -04:00
Pietro Gagliardi 28656fc3d0 Implemented automatic date/time format changes for the date/time format date/time picker. Some diagnostic string updates in windows/tab.c as well. 2015-06-04 10:55:54 -04:00
Pietro Gagliardi 225248ecb8 Implemented WM_WININICHANGE forwarding for the date/time picker. Right now, it only has an effect for the built-in styles. The same change for the date/time picker itself will come next. 2015-06-04 10:47:24 -04:00
Pietro Gagliardi 47f856263c Split apart the date/time string stuff from uiNewDateTimePicker(). This is in preparation for WM_WININICHANGE handling. 2015-06-04 09:55:28 -04:00
Pietro Gagliardi 2aa1227238 Added a swap horizontal/vertical uiBox mode to the test program. 2015-06-04 00:51:41 -04:00
Pietro Gagliardi 4d48b08ae2 Fixed errors in the previous commit. 2015-06-04 00:30:34 -04:00
Pietro Gagliardi 3ecd94e9b4 Added a framework for handling WM_WININICHANGE to child windows; this will be used by the date-time picker. 2015-06-04 00:26:13 -04:00
Pietro Gagliardi fd6cfa54b3 Made some variables that should be static static. 2015-06-03 23:16:58 -04:00
Pietro Gagliardi 068e76236a Removed a stale TODO. 2015-06-03 18:03:20 -04:00
Pietro Gagliardi e5be9e1810 Added uiWindow ContainerUpdateState() and removed an unnecessary TODO. 2015-06-03 17:57:04 -04:00
Pietro Gagliardi 95646538f7 Reimplemented window margins. 2015-06-03 17:42:08 -04:00
Pietro Gagliardi 27e7057672 Removed a TODO in windows/window.c; we need to guard *anyway* (for example, with empty windows). 2015-06-03 17:30:17 -04:00
Pietro Gagliardi be747af77c Settled Z-ordering for spinboxes. 2015-06-03 15:58:47 -04:00
Pietro Gagliardi f01b6303e9 Have controls whose size depends on their text request a resize on text changed. This fixes the TODO removed in the previous commit. Also removed the single-HWND control text functions and added more TODOs. 2015-06-03 15:49:44 -04:00
Pietro Gagliardi 0b7dc94822 Fixed up the layout of test/pge5.c. The change necessary to make it work will come next. 2015-06-03 15:19:37 -04:00
Pietro Gagliardi 4edef818b9 Split apart the uiControl text stuff in the same way the other uiControl functions are split in windows/control.c. This is a prerequisite for autoresizing on text change. Also simplified the title handling code in windows/window.c; it can use these functions too. 2015-06-03 14:55:33 -04:00
Pietro Gagliardi 96570d78be Temporarily turned off control background painting for wine. 2015-06-03 14:41:37 -04:00
Pietro Gagliardi 55dbade482 More TODOs, sigh... 2015-06-03 12:35:02 -04:00
Pietro Gagliardi f4c9647d2c TODO resolution and updates. 2015-06-03 12:10:08 -04:00
Pietro Gagliardi ee17ba6e46 Some separator work. 2015-06-02 18:48:41 -04:00
Pietro Gagliardi fd846cb01f Installed the Z-order stuff into box.c; tab order is now correct. There are some loose ends, though. 2015-06-02 17:42:51 -04:00
Pietro Gagliardi f26a3a18de Forgot to make containers WS_EX_CONTROLPARENT; this fixes tab navigation hanging issues. Now we can implement the Z-order functions! 2015-06-02 17:28:23 -04:00
Pietro Gagliardi 9c6fc415c5 Quick comment fix. 2015-06-02 15:10:58 -04:00
Pietro Gagliardi 572084aaeb More TODO resolution/shuffling. 2015-06-02 14:22:49 -04:00
Pietro Gagliardi b3adda2287 More TODO resolution in windows/init.c. 2015-06-02 14:12:12 -04:00
Pietro Gagliardi b793692199 Some TODO resolution. 2015-06-02 13:21:27 -04:00
Pietro Gagliardi 5260c4cd96 Some TODO updates. 2015-06-02 12:55:12 -04:00
Pietro Gagliardi d96f7a5c07 More TODOs. 2015-06-02 12:48:49 -04:00
Pietro Gagliardi 680c9face7 Fixed windows/init.c to properly report HRESULT error codes. 2015-06-02 12:31:47 -04:00
Pietro Gagliardi cf05629175 Settled WS_EX_CLIENTEDGE issues. 2015-06-02 12:16:14 -04:00
Pietro Gagliardi 199222eb31 Temporarily turned off container backgrounds for WS_EX_CLIENTEDGE tests. 2015-06-02 11:58:22 -04:00
Pietro Gagliardi 4893bdb3cd Some TODO resolution. 2015-06-02 11:56:44 -04:00
Pietro Gagliardi 0f6b70b65c Updated some TODOs. 2015-06-02 11:28:30 -04:00
Pietro Gagliardi a25d7b2a0c Some TODO resolution and stale TODO deletion in windows/spinbox.c. Also decided to keep defaultOnChanged() where it was. 2015-06-02 10:35:10 -04:00
Pietro Gagliardi 884bd5c862 Implemented tabPreferredSize(). This finally eliminates windows/OLDtab.c. 2015-06-02 10:20:59 -04:00
Pietro Gagliardi a48aa36251 Some TODO resolution. 2015-06-01 22:12:39 -04:00
Pietro Gagliardi ae54ff0141 Reimplemented uiTab tab stop handling. 2015-06-01 22:00:50 -04:00
Pietro Gagliardi b109ab4bb9 Removed a stale TODO. 2015-06-01 21:50:34 -04:00
Pietro Gagliardi 2a71d2dc78 Fixed a typo. 2015-06-01 21:50:06 -04:00
Pietro Gagliardi 54d727bf42 Changed handling of WS_TABSTOP in uiTab so that it is only applied if there are tabs. This gets rid of the need for our complex HasTabStops() handling. 2015-06-01 21:46:39 -04:00
Pietro Gagliardi d90eeb84f7 More tab work and tab TODOs. 2015-06-01 21:25:57 -04:00
Pietro Gagliardi c96fa44786 Fixed tabDelete() not properly preserving the child control. 2015-06-01 21:14:30 -04:00
Pietro Gagliardi 4db24bff05 Implemented tabContainerUpdateState() and removed migrated code from windows/OLDtab.c. 2015-06-01 21:01:26 -04:00
Pietro Gagliardi 993bc58691 Separated tab page child assignment from the constructor to keep the vtable together. 2015-06-01 20:12:55 -04:00
Pietro Gagliardi 6d64922055 Handled events in tab pages. 2015-06-01 19:27:28 -04:00
Pietro Gagliardi 54e71b3357 Started splitting out contribution-related TODOs into a separate list. Also fixed a typo in windows/tabpage.c. 2015-06-01 19:12:54 -04:00
Pietro Gagliardi c15fd6968c Fixed a use-after-free bug in windows/tabpage.c. 2015-06-01 19:09:13 -04:00
Pietro Gagliardi 9bf2c2b025 More work with tabPage. 2015-06-01 19:07:00 -04:00
Pietro Gagliardi 162c6f8e4d Reimplemented uiGroup sizing. This gets rid of the need for windows/OLDgroup.c. 2015-06-01 18:45:37 -04:00
Pietro Gagliardi a29c15a897 Removed TODO for dequeueResize(); we won't add that. 2015-06-01 18:17:59 -04:00
Pietro Gagliardi c08cad8a7e Added deallocation of type information to types.c. We are finally back to NOT crashing when quitting!! 2015-06-01 18:11:23 -04:00
Pietro Gagliardi a892e6b339 Handled memory destruction for uiRadioButtons properly. 2015-06-01 18:06:15 -04:00
Pietro Gagliardi fb10d65249 Handled uiGroup parenting and destruction. 2015-06-01 18:00:20 -04:00
Pietro Gagliardi 678ddbedf3 Finished uiTab destruction code. 2015-06-01 17:37:43 -04:00
Pietro Gagliardi bc4ac108ce Started properly handling uiControl functions in uiTab and tabPage. Removed a few stale TODOs as well. 2015-06-01 17:21:21 -04:00
Pietro Gagliardi d9c209e524 Required MinGW-w64 4.0.0 or newer to build now. 2015-06-01 16:28:26 -04:00
Pietro Gagliardi 85c60ef033 Made sliders transparent. This is the first change that requires MinGW-w64 4.0; adding a check for that comes next. 2015-06-01 16:21:34 -04:00
Pietro Gagliardi 56fc38301b More TODOs. 2015-06-01 16:16:01 -04:00
Pietro Gagliardi 5fa84c1914 Filled in more of windows/radiobuttons.c. 2015-06-01 13:51:53 -04:00
Pietro Gagliardi f7c19d2213 More TODOs. 2015-06-01 13:46:22 -04:00
Pietro Gagliardi b540d93e3d Fixed errors in the previous commit. 2015-06-01 13:02:43 -04:00
Pietro Gagliardi e7801222be Added show/hide/enable/disable to uiSpinbox. 2015-06-01 12:29:00 -04:00
Pietro Gagliardi e3079ce62c Switched to GetLocaleInfoEx(). 2015-06-01 09:48:30 -04:00
Pietro Gagliardi afb7c773fe Converted the save file dialog to the Common Item Dialog system and resolved a few TODOs. 2015-05-31 21:23:44 -04:00
Pietro Gagliardi a8ddd7f94f Fixed the new uiOpenFile(). Now I can do uiSaveFile() too... 2015-05-31 20:36:16 -04:00
Pietro Gagliardi f403c23001 Began moving the file dialogs to the new Common Item Dialog. Doesn't quite work yet. 2015-05-31 20:27:01 -04:00
Pietro Gagliardi ef1b594ef0 Initialized COM. 2015-05-31 19:26:21 -04:00
Pietro Gagliardi 409407b761 Switched to task dialogs for MsgBox() and friends. This is the first Vista-specific feature. 2015-05-31 19:17:35 -04:00
Pietro Gagliardi c45aeb31a0 Dropped XP support from windows/winapi.h. The next few commits will move to Vista-specific features and APIs. 2015-05-31 18:45:11 -04:00
Pietro Gagliardi 3d537e754c More TODOs. 2015-05-31 11:19:07 -04:00
Pietro Gagliardi 8d5131a5f6 Split the Windows API #defines and #includes into its own file winapi.h so resources.rc can include it. 2015-05-31 11:12:29 -04:00
Pietro Gagliardi af20c0828c Decided to keep networking on windows/stddialogs.c open/save dialogs; added OFN_SHAREAWARE. 2015-05-31 11:06:22 -04:00
Pietro Gagliardi 60eb38ddcb Properly saved window enable state in windows/dialoghelper.c. 2015-05-31 11:01:10 -04:00
Pietro Gagliardi f9f5abc802 Reimplemented tab page margins. 2015-05-31 10:53:20 -04:00
Pietro Gagliardi 8a84b9e062 Fixed some compiler warnings. 2015-05-30 22:18:30 -04:00
Pietro Gagliardi fc1ef99965 Set the standard control font on uiRadioButtons and clenaed up the code a bit. 2015-05-30 21:54:52 -04:00
Pietro Gagliardi 3a424b65d6 More TODOs. 2015-05-30 21:46:03 -04:00
Pietro Gagliardi c0c6aef610 Moved everything back now that everything's been migrated. Now to test the build! 2015-05-30 21:31:28 -04:00
Pietro Gagliardi 8f51e01b4c Completed the migration of windows/window.c. 2015-05-30 21:30:55 -04:00
Pietro Gagliardi 205887d77d More windows/window.c migration. 2015-05-30 21:24:33 -04:00