Pietro Gagliardi
|
fe78114ec1
|
Let's get error handling right first time now.
|
2014-12-07 13:23:39 -05:00 |
Pietro Gagliardi
|
545743090e
|
"Started" re-adding the header code.
|
2014-12-06 22:01:04 -05:00 |
Pietro Gagliardi
|
3232b47b43
|
Readded main code (but stripped to its essentials for now, as everything will be slowly readded, but in a different order) and fixed compilation errors (and some warnings).
|
2014-12-05 22:23:39 -05:00 |
Pietro Gagliardi
|
51e6028951
|
Made the various event handler arrays const.
|
2014-12-05 21:58:16 -05:00 |
Pietro Gagliardi
|
61f7316d56
|
Moved the rewrite of the new Windows Table to its /own/ folder.
|
2014-12-05 10:27:45 -05:00 |
Pietro Gagliardi
|
f7daa5580f
|
Added the new Windows Table event handling framework.
|
2014-12-05 10:18:37 -05:00 |
Pietro Gagliardi
|
19358785f6
|
More new Windows Table stuff.
|
2014-12-04 21:12:24 -05:00 |
Pietro Gagliardi
|
ad6249422b
|
Don't use GetMessagePos(); it returns the same LPARAM format... (and the POINT in MSG is in screen coordinates, which means we need to call the potentially-erroring ScreenToClient(), and /even then/ we would need to hack up the message pump to get that point out, which is not guaranteed if someone takes our Table code and uses it in their own Windows program, or if I even export this Table for such use!).
|
2014-12-04 10:17:38 -05:00 |
Pietro Gagliardi
|
74f9630bcc
|
Started restructuring the Windows Table code; this creates stubs for coordinate system management.
|
2014-12-04 07:55:01 -05:00 |
Pietro Gagliardi
|
5c22fceb9b
|
More TODOs.
|
2014-12-03 19:55:00 -05:00 |
Pietro Gagliardi
|
5b904dfa94
|
More Windows Table work.
|
2014-12-03 19:38:08 -05:00 |
Pietro Gagliardi
|
bb28a02b15
|
More TODOs. Or rather, a really big, API stupidity-reducing TODO...
|
2014-12-02 07:27:20 -05:00 |
Pietro Gagliardi
|
c550a1a958
|
Small precautionary change in Windows Table: use WM_USER + 20 instead of WM_USER just in case we ever get dialog manager messages (which are the first few WM_USER messages because technically they belong to WC_DIALOG).
|
2014-12-01 23:53:56 -05:00 |
Pietro Gagliardi
|
6b2c295fdc
|
Isolated vertical scroll messages with the other vertical scroll code.
|
2014-12-01 15:34:26 -05:00 |
Pietro Gagliardi
|
16a88c548b
|
Changed the handler functions array to be const, as that's the intent.
|
2014-12-01 15:18:12 -05:00 |
Pietro Gagliardi
|
84d66b6b50
|
Started splitting message handlers for the new Windows Table into their respective files.
|
2014-11-30 21:27:32 -05:00 |
Pietro Gagliardi
|
c41b9b16ff
|
Moved the api.h include to the bottom of the include list so that when I move the public-facing API code (namely the WM_SETFONT handler) there we can use functions defined later.
|
2014-11-30 21:11:12 -05:00 |
Pietro Gagliardi
|
c67be58377
|
More Windows Table separation.
|
2014-11-30 17:05:42 -05:00 |
Pietro Gagliardi
|
d23cdd7682
|
Started splitting the new Windows Table code into more manageable chunks.
|
2014-11-29 18:29:50 -05:00 |
Pietro Gagliardi
|
6cce68074a
|
More TODOs.
|
2014-11-28 22:38:41 -05:00 |
Pietro Gagliardi
|
dafb337b32
|
More TODOs.
|
2014-11-27 10:36:04 -05:00 |
Pietro Gagliardi
|
dbeb1e8004
|
Improved the example window program that was just merged.
|
2014-11-26 22:09:56 -05:00 |
Pietro Gagliardi
|
07b68e6236
|
Merge pull request #61 from adamar/master
Added basic window example. Thanks @adamar.
|
2014-11-26 22:05:36 -05:00 |
Andrew Martin
|
1478f59740
|
Added basic window example
|
2014-11-26 10:35:17 +11:00 |
Pietro Gagliardi
|
1e5aa3b5d1
|
Now require Go 1.4 due to crazy Go bugs unfixed in 1.3 stable releases. Thanks to github user @infogulch.
|
2014-11-25 07:45:01 -05:00 |
Pietro Gagliardi
|
af7830cc5c
|
Removed all the checkbox stuff for now. I need to do it a better way.
|
2014-11-24 10:49:36 -05:00 |
Pietro Gagliardi
|
1083ceefde
|
Added a "flag" (actually just specify at least one argument; doesn't matter what) to the Windows Table main() to specify using the lfMessageFont, for vertical centering testing purposes.
|
2014-11-23 20:28:52 -05:00 |
Pietro Gagliardi
|
7b855d3abb
|
More TODOs.
|
2014-11-23 14:39:50 -05:00 |
Pietro Gagliardi
|
9d10a7f90c
|
More TODOs.
|
2014-11-23 12:43:11 -05:00 |
Pietro Gagliardi
|
906b365aa5
|
More TODOs.
|
2014-11-22 20:32:30 -05:00 |
Pietro Gagliardi
|
e63cd21f96
|
Added checkbox heights to rowHeight() in the new Windows Table.
|
2014-11-21 16:25:44 -05:00 |
Pietro Gagliardi
|
b5bc1077b8
|
More TODOs.
|
2014-11-20 18:28:01 -05:00 |
Pietro Gagliardi
|
83d36265f1
|
More TODOs.
|
2014-11-20 18:27:03 -05:00 |
Pietro Gagliardi
|
3d87f8c5ce
|
Implemented mouse hot-tracking for checkboxes. Clicking and dragging is still an issue, but :S
|
2014-11-20 18:25:14 -05:00 |
Pietro Gagliardi
|
2ddafc8230
|
Wrote up a lParamInCheckbox() that we will use for properly hit-testing checkboxes in the new Windows Table.
|
2014-11-20 18:21:52 -05:00 |
Pietro Gagliardi
|
396d73a634
|
More mouse tracking. This is getting complicated the way I'm doing it...
|
2014-11-19 22:46:25 -05:00 |
Pietro Gagliardi
|
031c67e38d
|
Split the code to turn x/y LPARAM into a row/column number to its own function. The mouse tracking code will need it.
|
2014-11-19 22:33:18 -05:00 |
Pietro Gagliardi
|
d75795f968
|
More checkbox mouse code. This implements tracking.
|
2014-11-19 10:38:20 -05:00 |
Pietro Gagliardi
|
20b6a3cf2a
|
More TODOs.
|
2014-11-19 10:17:29 -05:00 |
Pietro Gagliardi
|
896239371e
|
Began the work for actually doing checkbox events in the new Windows Table. Currently it mostly responds correctly to mouse presses and releases; it just needs to be hit-tested properly.
|
2014-11-18 20:30:52 -05:00 |
Pietro Gagliardi
|
cb2642765a
|
Started the work to handle checkboxes. For now, we draw just a red rectangle; when we do events this will change color dynamically. When I hook up the control to its parent, I will move from these rectangles to the actual checkbox images. In the meantime, fix some pointer bugs in imagelist_windows.c as well.
|
2014-11-18 13:53:53 -05:00 |
Pietro Gagliardi
|
8175bd411a
|
Fixed keyboard navigation in the new Windows Table.
|
2014-11-18 13:22:38 -05:00 |
Pietro Gagliardi
|
2103a14c16
|
Elaborated some comments.
|
2014-11-18 12:51:00 -05:00 |
Pietro Gagliardi
|
a77969754f
|
More critical TODOs.
|
2014-11-18 12:36:12 -05:00 |
Pietro Gagliardi
|
8a5d4f8b0e
|
Mostly implemented vertical scrolling on selection change. The bottom row still needs fixing.
|
2014-11-18 12:29:14 -05:00 |
Pietro Gagliardi
|
0e13193310
|
Optimized new Windows Table selection redraw and did most of the work for scroliing on selection change. Also more TODOs.
|
2014-11-18 08:17:42 -05:00 |
Pietro Gagliardi
|
46056e54e4
|
Added a prev parameter to finishSelect() on the new Windows Table. This will allow proper scrolling to the selection.
|
2014-11-17 22:52:15 -05:00 |
Pietro Gagliardi
|
d893ba6c03
|
Added redrawRow() to the Windows Table and changed WM_SETFOCUS/WM_KILLFOCUS handling to use it. It will be used for selections later.
|
2014-11-17 10:21:43 -05:00 |
Pietro Gagliardi
|
c8f732c44b
|
More TODOs.
|
2014-11-16 10:31:10 -05:00 |
Pietro Gagliardi
|
93046dc868
|
Split the code to compute the last visible item in the new Windows Table into its own function. This is needed for keyboard vertical scrolling.
|
2014-11-15 20:36:56 -05:00 |