summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-07More TODOs.Pietro Gagliardi
2014-12-07Make tablePanic static; it should not be exported.Pietro Gagliardi
2014-12-07Let's get error handling right first time now.Pietro Gagliardi
2014-12-06"Started" re-adding the header code.Pietro Gagliardi
2014-12-05Readded main code (but stripped to its essentials for now, as everything ↵Pietro Gagliardi
will be slowly readded, but in a different order) and fixed compilation errors (and some warnings).
2014-12-05Made the various event handler arrays const.Pietro Gagliardi
2014-12-05Moved the rewrite of the new Windows Table to its /own/ folder.Pietro Gagliardi
2014-12-05Added the new Windows Table event handling framework.Pietro Gagliardi
2014-12-04More new Windows Table stuff.Pietro Gagliardi
2014-12-04Don't use GetMessagePos(); it returns the same LPARAM format... (and the ↵Pietro Gagliardi
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-04Started restructuring the Windows Table code; this creates stubs for ↵Pietro Gagliardi
coordinate system management.
2014-12-03More TODOs.Pietro Gagliardi
2014-12-03More Windows Table work.Pietro Gagliardi
2014-12-02More TODOs. Or rather, a really big, API stupidity-reducing TODO...Pietro Gagliardi
2014-12-01Small precautionary change in Windows Table: use WM_USER + 20 instead of ↵Pietro Gagliardi
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-01Isolated vertical scroll messages with the other vertical scroll code.Pietro Gagliardi
2014-12-01Changed the handler functions array to be const, as that's the intent.Pietro Gagliardi
2014-11-30Started splitting message handlers for the new Windows Table into their ↵Pietro Gagliardi
respective files.
2014-11-30Moved the api.h include to the bottom of the include list so that when I ↵Pietro Gagliardi
move the public-facing API code (namely the WM_SETFONT handler) there we can use functions defined later.
2014-11-30More Windows Table separation.Pietro Gagliardi
2014-11-29Started splitting the new Windows Table code into more manageable chunks.Pietro Gagliardi
2014-11-28More TODOs.Pietro Gagliardi
2014-11-27More TODOs.Pietro Gagliardi
2014-11-26Improved the example window program that was just merged.Pietro Gagliardi
2014-11-26Merge pull request #61 from adamar/masterPietro Gagliardi
Added basic window example. Thanks @adamar.
2014-11-26Added basic window exampleAndrew Martin
2014-11-25Now require Go 1.4 due to crazy Go bugs unfixed in 1.3 stable releases. ↵Pietro Gagliardi
Thanks to github user @infogulch.
2014-11-24Removed all the checkbox stuff for now. I need to do it a better way.Pietro Gagliardi
2014-11-23Added a "flag" (actually just specify at least one argument; doesn't matter ↵Pietro Gagliardi
what) to the Windows Table main() to specify using the lfMessageFont, for vertical centering testing purposes.
2014-11-23More TODOs.Pietro Gagliardi
2014-11-23More TODOs.Pietro Gagliardi
2014-11-22More TODOs.Pietro Gagliardi
2014-11-21Added checkbox heights to rowHeight() in the new Windows Table.Pietro Gagliardi
2014-11-20More TODOs.Pietro Gagliardi
2014-11-20More TODOs.Pietro Gagliardi
2014-11-20Implemented mouse hot-tracking for checkboxes. Clicking and dragging is ↵Pietro Gagliardi
still an issue, but :S
2014-11-20Wrote up a lParamInCheckbox() that we will use for properly hit-testing ↵Pietro Gagliardi
checkboxes in the new Windows Table.
2014-11-19More mouse tracking. This is getting complicated the way I'm doing it...Pietro Gagliardi
2014-11-19Split the code to turn x/y LPARAM into a row/column number to its own ↵Pietro Gagliardi
function. The mouse tracking code will need it.
2014-11-19More checkbox mouse code. This implements tracking.Pietro Gagliardi
2014-11-19More TODOs.Pietro Gagliardi
2014-11-18Began the work for actually doing checkbox events in the new Windows Table. ↵Pietro Gagliardi
Currently it mostly responds correctly to mouse presses and releases; it just needs to be hit-tested properly.
2014-11-18Started the work to handle checkboxes. For now, we draw just a red ↵Pietro Gagliardi
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-18Fixed keyboard navigation in the new Windows Table.Pietro Gagliardi
2014-11-18Elaborated some comments.Pietro Gagliardi
2014-11-18More critical TODOs.Pietro Gagliardi
2014-11-18Mostly implemented vertical scrolling on selection change. The bottom row ↵Pietro Gagliardi
still needs fixing.
2014-11-18Optimized new Windows Table selection redraw and did most of the work for ↵Pietro Gagliardi
scroliing on selection change. Also more TODOs.
2014-11-17Added a prev parameter to finishSelect() on the new Windows Table. This will ↵Pietro Gagliardi
allow proper scrolling to the selection.
2014-11-17Added redrawRow() to the Windows Table and changed WM_SETFOCUS/WM_KILLFOCUS ↵Pietro Gagliardi
handling to use it. It will be used for selections later.