Commit Graph

944 Commits

Author SHA1 Message Date
Pietro Gagliardi 7d7f3c6a4d Added the Windows uiButton implementation as-is to the new object model; will edit accordingly soon. 2015-05-28 21:17:15 -04:00
Pietro Gagliardi fb82ea1c5d More thinking about objects. 2015-05-28 20:40:59 -04:00
Pietro Gagliardi 0861d4e440 More of the previous commit. 2015-05-27 16:47:44 -04:00
Pietro Gagliardi d88282a676 More object implementation mocking. Windows-specific common code. 2015-05-27 13:26:49 -04:00
Pietro Gagliardi 3c68e73dea Fixed a latent bug in uiControlSetParent() in the object plan. 2015-05-27 00:40:00 -04:00
Pietro Gagliardi 2fb8e38852 Wrote code for what the base uiControl should be. 2015-05-26 22:40:52 -04:00
Pietro Gagliardi 72ead3a23e Switch to explicit Unicode functions for DispatchMessage(). 2015-05-25 13:46:38 -04:00
Pietro Gagliardi 0acc15c38f Started planning the new object implementation. 2015-05-25 11:22:08 -04:00
Pietro Gagliardi 4b2bb2f75f Made a plan for showing, hiding, enabling, and disabling controls. 2015-05-24 21:30:32 -04:00
Pietro Gagliardi b991496f83 Set up Windows containers to draw their parents as backgrounds again. 2015-05-24 14:50:25 -04:00
Pietro Gagliardi bcad0080b2 Added some basic messageboxes. 2015-05-23 15:07:16 -04:00
Pietro Gagliardi 13a4e3f4e5 Added a save file dialog. 2015-05-22 21:59:32 -04:00
Pietro Gagliardi ded1bf05de Started standard dialogs. Added Open File dialog first. 2015-05-22 19:14:50 -04:00
Pietro Gagliardi e7102c0c61 Set up the boilerplate for dialog boxes. 2015-05-22 17:41:36 -04:00
Pietro Gagliardi d9f94d4326 More date/time picker work. 2015-05-22 13:24:07 -04:00
Pietro Gagliardi d5e956e254 Added a basic date/time picker. 2015-05-22 10:36:24 -04:00
Pietro Gagliardi 677048222e More TODOs. 2015-05-22 09:43:45 -04:00
Pietro Gagliardi 27260d6b0b Might as well get editable comboboxes overwith. 2015-05-21 21:45:31 -04:00
Pietro Gagliardi 5e4e01ef52 More radio button work. 2015-05-21 17:26:25 -04:00
Pietro Gagliardi 0cade42c6d Actually made radiobutton clicking work now. 2015-05-21 15:52:59 -04:00
Pietro Gagliardi 09d1a5e5db Now really started the implementation of radio buttons. 2015-05-21 15:48:16 -04:00
Pietro Gagliardi a0dbad7c2a Added an HWND parameter to all the event handlers. This is needed for radio buttons. 2015-05-21 14:52:21 -04:00
Pietro Gagliardi 23f6c3271c Finished migrating WM_HSCROLLhandlers away from being in the creation parameters. 2015-05-21 13:04:57 -04:00
Pietro Gagliardi cbdaa780ff Started removing onWM_HSCROLL from uiWindowsMakeControlsParams. 2015-05-21 12:43:40 -04:00
Pietro Gagliardi 50c7adf597 Removed onWM_NOTIFY from uiWIndowsMakeControlParams. 2015-05-21 12:39:19 -04:00
Pietro Gagliardi 12b4d0a7c0 Removed onWM_COMMAND from uiWindowsMakeControlParams. 2015-05-21 12:07:11 -04:00
Pietro Gagliardi 96bd7013f8 Converted the WM_NOTIFY and WM_HSCROLL handlers to use the new windows/events.c system. 2015-05-21 11:29:25 -04:00
Pietro Gagliardi 1fcd3354d3 Converted windows/events.c to use uthash. 2015-05-21 11:02:10 -04:00
Pietro Gagliardi 9c3391f3db Fixed stdint inclusion in uthash.h 2015-05-21 10:39:30 -04:00
Pietro Gagliardi 0cd82b7c3d Integrated uthash into uipriv.h. 2015-05-21 10:32:55 -04:00
Pietro Gagliardi 85503bac62 Added uthash. This will be useful for a number of things. 2015-05-21 10:06:22 -04:00
Pietro Gagliardi 6a6ddc61f9 Started a major overhaul of the control system on Windows. Events are now handled using registered handlers rather than having them be part of the singleHWND. This is needed for radio buttons. Right now, only WM_COMMAND has been modified as such. 2015-05-20 22:46:50 -04:00
Pietro Gagliardi 02c81c7b0d Started radiobutton work. This event model isn't going to work. 2015-05-20 17:52:21 -04:00
Pietro Gagliardi 237cdffee6 Added basic uiComboboxes. 2015-05-20 17:09:58 -04:00
Pietro Gagliardi 0c061e3bd2 Added uiSeparator. 2015-05-20 14:08:34 -04:00
Pietro Gagliardi fbfccf6b0f More slider work. 2015-05-20 13:43:29 -04:00
Pietro Gagliardi ea4017f29d More spinbox and slider work. 2015-05-20 13:25:45 -04:00
Pietro Gagliardi 7a86dc92cb More spinbox and slider work. 2015-05-20 12:24:06 -04:00
Pietro Gagliardi 1f7b6ca1ed More uiSlider work. 2015-05-20 11:22:29 -04:00
Pietro Gagliardi e1744b17a2 Added uiSlider. 2015-05-20 10:29:57 -04:00
Pietro Gagliardi 854f036197 Added onWM_HSCROLL to the Windows control creation parameters since sliders will be using it; also did other assorted preparations for sliders. 2015-05-19 23:16:46 -04:00
Pietro Gagliardi 180193231d Added a basic progressbar. More TODOs. 2015-05-19 21:05:18 -04:00
Pietro Gagliardi 44153a32df More uiSpinbox functionality. 2015-05-19 18:17:30 -04:00
Pietro Gagliardi 13f926b397 Moved the spinbox to a new test page Page 4. 2015-05-19 18:07:34 -04:00
Pietro Gagliardi 31aaf78718 More TODOs. 2015-05-19 13:39:08 -04:00
Pietro Gagliardi 3011068cae More Windows uiSpinbox work. On second thought we might not need to do anything *too* special... 2015-05-19 13:37:06 -04:00
Pietro Gagliardi a3f183b6e8 Started implementing uiSpinbox on Windows. 2015-05-19 12:32:14 -04:00
Pietro Gagliardi f50a146a5d Added an interface for uiSpinbox. Why? Because its Windows implementation will throw a wrench through every object system implementation I can think of. 2015-05-19 12:15:50 -04:00
Pietro Gagliardi 7fff5b046a Forgot to install InitCommonControlsEx() in the Windows code. 2015-05-19 12:01:45 -04:00
Pietro Gagliardi ca697fa533 Reworked (most of) windows/control.c to play with the portable control base. Not too happy with having to store the uiControl in the singleHWND for the subclass procedure, but... I think I've reached the breaking point with this particular object-oriented model. 2015-05-18 22:32:22 -04:00