Pietro Gagliardi
|
b60953ed1c
|
More TODOs.
|
2018-07-28 13:57:20 -04:00 |
Pietro Gagliardi
|
fb67c429d8
|
Made background color columns only settable at creation time; added a uiTableParams struct for the purpose. This should end edits to uitable.h for now (until we're ready to document it). Now to just clean up all the implementations.
|
2018-06-24 10:28:41 -04:00 |
Pietro Gagliardi
|
72c7c05f04
|
Fixed up AddColumn parameter and private fields names; made them consistent.
|
2018-06-24 09:52:01 -04:00 |
Pietro Gagliardi
|
4dbf1994a6
|
Deduplicated the default text column parameters across platforms.
|
2018-06-24 00:45:54 -04:00 |
Pietro Gagliardi
|
74ec21f4c7
|
Turned the direct method calls on uiTableModel into functions to make the call sites look a bit cleaner. More stuff will go into common/tablemodel.c...
|
2018-06-23 23:35:42 -04:00 |
Pietro Gagliardi
|
9a79eed2ac
|
Final cleanup, first part: renamed uiTableData to uiTableValue.
|
2018-06-23 20:19:30 -04:00 |
Pietro Gagliardi
|
ac27e24add
|
And even more still. I'm just gonna clean everything up for a merge at this point.
|
2018-06-23 11:27:02 -04:00 |
Pietro Gagliardi
|
f180423096
|
Integrated tablemetrics.cpp into tableediting.cpp and added resize-on-type.
|
2018-06-20 18:47:55 -04:00 |
Pietro Gagliardi
|
25a443f4f2
|
Handled the finished-editing cases I can right now. It is... mostly good???????????? IListView is very tantalizing now...
|
2018-06-19 23:07:24 -04:00 |
Pietro Gagliardi
|
ff4b424ab0
|
Added WS_CLIPCHILDREN to uiTable to prevent drawing over children.
|
2018-06-19 07:51:34 -04:00 |
Pietro Gagliardi
|
799c613a6f
|
Added code for detecting that text is to be edited. Now for actually implementing editing text.
|
2018-06-17 15:06:45 -04:00 |
Pietro Gagliardi
|
6d0b276d6d
|
Started handling table events. This covers checkboxes and buttons.
|
2018-06-17 11:48:39 -04:00 |
Pietro Gagliardi
|
2fb3676a8f
|
More TODOs.
|
2018-06-17 10:50:24 -04:00 |
Pietro Gagliardi
|
db2f3352c4
|
Added dummy code to evaluate LVM_SUBITEMHITTEST. The code will remain, but will be #if'd out.
|
2018-06-17 09:29:51 -04:00 |
Pietro Gagliardi
|
9fba903c4a
|
Started button columns. LVN_GETDISPINFO handled. Also filled in the rest of the new column functions.
|
2018-06-16 22:12:54 -04:00 |
Pietro Gagliardi
|
301376706f
|
And made indeterminate progressbars work. Now to theme them.
|
2018-06-16 19:40:06 -04:00 |
Pietro Gagliardi
|
c7555dcfd3
|
Started a more flexible indeterminate-state implementation. Now to build and test it.
|
2018-06-16 19:05:36 -04:00 |
Pietro Gagliardi
|
f96c0f410e
|
Started the implementation of progressbar columns. This handles LVN_GETDISPINFO.
|
2018-06-16 13:06:20 -04:00 |
Pietro Gagliardi
|
bcab521311
|
And consolidated the LVN_DISPINFO handlers. Everything's a lot cleaner now too, woo!
|
2018-06-16 12:33:16 -04:00 |
Pietro Gagliardi
|
43bb983f5b
|
Wrote new (incomplete) image drawing code. Now to build and test.
|
2018-06-15 22:50:39 -04:00 |
Pietro Gagliardi
|
e6da33121e
|
And integrated tabledraw.cpp. It works, barring some technical gltiches. It also makes me realize the alpha blending issue was my fault...
|
2018-06-15 10:04:32 -04:00 |
Pietro Gagliardi
|
fda8f2fbae
|
Started a separate file just for drawing tables; integrated text.
|
2018-06-14 21:31:45 -04:00 |
Pietro Gagliardi
|
c79f9b4ecd
|
Added bitmap margins to the draw parameters. We'll need it later.
|
2018-06-13 21:46:28 -04:00 |
Pietro Gagliardi
|
caa0688687
|
Started drawing uiTable text. We're drawing fully manually from here on out. Also fixed LVIF_INDENT settings and a few other things.
|
2018-06-13 21:07:58 -04:00 |
Pietro Gagliardi
|
15bc55dd5e
|
Started work on backgrounds. This isn't ideal quite yet, but.
|
2018-06-13 10:09:13 -04:00 |
Pietro Gagliardi
|
c01b010fd7
|
Fixed memory corruption issues. See code for details.
|
2018-06-13 08:30:00 -04:00 |
Pietro Gagliardi
|
c4251894b5
|
Flipped the memory corruption back on so we can debug it.
|
2018-06-12 20:15:59 -04:00 |
Pietro Gagliardi
|
f216af94e7
|
Made our new custom draw code only run on item prepaint.
|
2018-06-12 08:20:15 -04:00 |
Pietro Gagliardi
|
f28c97d4d6
|
Switched checkboxes from postpaint to prepaint and turned off drawing everything while we slowly transition everything over.
|
2018-06-12 08:17:31 -04:00 |
Pietro Gagliardi
|
e52373c59a
|
Reintegrated wintablemetrics, properly this time (for the most part). It works. Now we can start switching to custom-drawing everything.
|
2018-06-12 07:58:27 -04:00 |
Pietro Gagliardi
|
c843f1e62d
|
More TODOs.
|
2018-06-11 08:01:18 -04:00 |
Pietro Gagliardi
|
0c6e7add01
|
Experimented with custom-drawing the text, this time in a nicer place thatn the default. Okay, this isn't too bad, especially now that it seems everything is vertically centered...
|
2018-06-10 23:03:54 -04:00 |
Pietro Gagliardi
|
cd2a6f7c29
|
Fixed the checkbox y-offset issue. There are other issues, but this is more hopeful already...
|
2018-06-10 19:54:44 -04:00 |
Pietro Gagliardi
|
2a2990f19c
|
I have no clue anymore. Tempted to undo checkbox stuff entirely for now.
|
2018-06-10 19:07:34 -04:00 |
Pietro Gagliardi
|
94a3397894
|
Tried to resolve checkboxes appearing selected. It doesn't work fully yet, so the actual drawing that makes it work is disabled for now. But the handler for NM_CUSTOMDRAW now has a hook to become cleaner in the future.
|
2018-06-10 17:38:51 -04:00 |
Pietro Gagliardi
|
c22f643df7
|
More image and checkbox fixups. Next: themed checkboxes.
|
2018-06-10 10:43:29 -04:00 |
Pietro Gagliardi
|
a3feb425a1
|
Started splitting image and checkbox stuff into its own file. Also started adopting HRESULT returns everywhere, because why not make the conversion to it later slightly easier by starting now.
|
2018-06-10 00:51:50 -04:00 |
Pietro Gagliardi
|
8d43b55ff8
|
Removed some now-unused stuff.
|
2018-06-09 23:55:43 -04:00 |
Pietro Gagliardi
|
405a6defd2
|
Started using normal images for checkboxes in Windows uiTables. It doesn't quite work yet.
|
2018-06-09 23:25:16 -04:00 |
Pietro Gagliardi
|
4c5f0961fe
|
Started an implementation of checkboxes in table.cpp. List View simply does not seem to support state images in subitems, so we'll have to improvise. Hopefully this won't screw accessibility.
|
2018-06-09 23:02:37 -04:00 |
Pietro Gagliardi
|
b43fb4b247
|
And added images to uiTable. Right now it's loading the 32x32 images into the table instead of the 16x16 ones, but hey, it works!
|
2018-06-09 20:35:05 -04:00 |
Pietro Gagliardi
|
a858300f25
|
Filled in image.cpp. Also switched on WIC since we'll need it for uiArea, though uiTable will still need classic GDI. Now let's integrate this into uiTable.
|
2018-06-09 19:24:36 -04:00 |
Pietro Gagliardi
|
3aee505f4e
|
Weirdness workarounds.
|
2018-06-09 14:32:04 -04:00 |
Pietro Gagliardi
|
ff64685655
|
More work. List View is starting to show its dumbness again.
|
2018-06-09 13:57:43 -04:00 |
Pietro Gagliardi
|
1c9f9627c0
|
Started image support for Windows tables.
|
2018-06-09 12:15:50 -04:00 |
Pietro Gagliardi
|
c6c4dbd580
|
Started handling colors in the Windows table code.
|
2018-06-09 10:40:42 -04:00 |
Pietro Gagliardi
|
06a8044c2c
|
Oops, forgot to keep the string queue full. It works! Now to switch to custom draw.
|
2018-06-08 22:11:46 -04:00 |
Pietro Gagliardi
|
69e91a9678
|
Fixed build errors and some logic errors. Let's hope it works!
|
2018-06-08 22:05:11 -04:00 |
Pietro Gagliardi
|
71a310909d
|
Oops
|
2018-06-08 21:45:30 -04:00 |
Pietro Gagliardi
|
41d63bd0cf
|
And finished rewriting table.cpp. That wasn't too bad for just text columns. Let's hope it works.
|
2018-06-08 21:44:55 -04:00 |