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 |
Pietro Gagliardi
|
2ff913cd58
|
Started splitting the shared control code into portable and non-portable files. This handles the portable part; the non-portable part comes next.
|
2015-05-18 22:02:37 -04:00 |
Pietro Gagliardi
|
025b00a6ac
|
Removed the uiBox parent stuff from box.c; it's no longer needed (and having the parented check there isn't necessary; it'll be reached eventually).
|
2015-05-18 19:02:23 -04:00 |
Pietro Gagliardi
|
33d6609675
|
Fixed errors in the previous commit.
|
2015-05-18 15:27:56 -04:00 |
Pietro Gagliardi
|
8b3b0c4baa
|
Reimplemented uiTabDelete()... kinda.
|
2015-05-18 15:11:59 -04:00 |
Pietro Gagliardi
|
3ec28551e6
|
Fixed groupbox-caused tab issues on Windows for now (uninitialized memory bug; will preoprly fix later).
|
2015-05-18 15:00:12 -04:00 |
Pietro Gagliardi
|
df867375ce
|
Implemented margins in the new Windows uiTab.
|
2015-05-18 13:03:22 -04:00 |
Pietro Gagliardi
|
68da6be00d
|
More TODOs.
|
2015-05-18 12:57:57 -04:00 |
Pietro Gagliardi
|
4202ae2666
|
More TODOs.
|
2015-05-18 12:17:35 -04:00 |
Pietro Gagliardi
|
2ea6607594
|
Implemented tab changing on the Windows backend's new tab.c.
|
2015-05-18 12:10:54 -04:00 |
Pietro Gagliardi
|
cd39bef019
|
More TODOs.
|
2015-05-18 12:05:34 -04:00 |
Pietro Gagliardi
|
e1554c38ef
|
Handled window coordinates properly in resizes.
|
2015-05-18 12:04:52 -04:00 |
Pietro Gagliardi
|
a4cfd3880d
|
Converted uiSizing to a dynamically allocated structure. This will be needed for handling coordinate conversion.
|
2015-05-18 11:46:50 -04:00 |
Pietro Gagliardi
|
e06f9ae9fe
|
Started reimplementing uiTab on Windows.
|
2015-05-18 11:41:09 -04:00 |
Pietro Gagliardi
|
9cea909dec
|
Brought the tabs back to the test program.
|
2015-05-18 10:36:24 -04:00 |
Pietro Gagliardi
|
d8624c87c9
|
InsertBefore -> InsertAt.
|
2015-05-18 10:32:08 -04:00 |
Pietro Gagliardi
|
b2c0b631b7
|
More TODOs.
|
2015-05-18 10:30:13 -04:00 |
Pietro Gagliardi
|
d893102106
|
Important change: ptrArrayAppend() is now implemented in terms of ptrArrayInsertBefore(). ptrArrayInsertBefore() can safely insert at the first invalid index; ValleyBell helped ensure this. tabAppend() will also be implemented this way; boxAppend() might be if uiBoxInsertBefore() becomes a thing. We can rename InsertBefore() to InsertAt() now too.
|
2015-05-18 10:24:51 -04:00 |
Pietro Gagliardi
|
ef794a6db5
|
Dropped Page from uiTab method names. This keeps things consistent and allows us to do a more important change: InsertBefore -> InsertAt.
|
2015-05-18 10:20:11 -04:00 |
Pietro Gagliardi
|
2a5cdb6662
|
Re-enabled events on Windows.
|
2015-05-18 09:52:37 -04:00 |
Pietro Gagliardi
|
bf6357ef86
|
"Fixed" the buttons not showing up properly.
|
2015-05-18 09:49:14 -04:00 |
Pietro Gagliardi
|
7c5459ff01
|
Windows resize work.
|
2015-05-17 21:15:39 -04:00 |
Pietro Gagliardi
|
f5f38d1fa5
|
Began working on reworking the resizing code AGAIN.
|
2015-05-17 20:48:55 -04:00 |
Pietro Gagliardi
|
ad2c432c4a
|
Fixed duplication of types.
|
2015-05-17 20:04:19 -04:00 |
Pietro Gagliardi
|
0019681b02
|
Fixed some errors in type.c. Now to see why uiControl is being registered twice...
|
2015-05-17 19:19:51 -04:00 |
Pietro Gagliardi
|
97cb70527e
|
Finished the type system.
|
2015-05-17 19:07:07 -04:00 |
Pietro Gagliardi
|
69e27488f7
|
Made complain() break into the debugger on Windows because abort() is eaten up and seen as successful termination.
|
2015-05-17 18:53:49 -04:00 |
Pietro Gagliardi
|
bec0cdce84
|
More type stuff. Almost working.
|
2015-05-17 18:53:06 -04:00 |