Pietro Gagliardi
|
9016935d5e
|
Changed onWM_NOTIFY() to only pass the NMHDR * in. The LPARAM is more useful as a NMHDR *, and the WPARAM contains duplicate data (http://blogs.msdn.com/b/oldnewthing/archive/2013/12/04/10473637.aspx). Ideally we wouldn't even have the NMHDR.idFrom (see previous commit message), but oh well :/
|
2015-04-09 19:07:41 -04:00 |
Pietro Gagliardi
|
a538412df2
|
Changed onWM_COMMAND() to give our controls only the notification code. We don't want to give the control the ID part of wParam because that's (or that'll be) dynamically assigned based on control parenting and prior controls; we don't want to give the control the LPARAM since that contains the window handle and uiControl already has that.
|
2015-04-09 18:54:14 -04:00 |
Pietro Gagliardi
|
d4271c8ceb
|
DlgUnit -> DlgUnits
|
2015-04-09 18:45:58 -04:00 |
Pietro Gagliardi
|
924d6d6a7c
|
More Windows conversion. Not done yet.
|
2015-04-09 17:46:26 -04:00 |
Pietro Gagliardi
|
880008b716
|
Implemented the text functions on Windows.
|
2015-04-09 11:12:01 -04:00 |
Pietro Gagliardi
|
f2537aadd3
|
More TODO resolution.
|
2015-04-08 20:01:33 -04:00 |
Pietro Gagliardi
|
afdce07d61
|
Removed some stale TODOs.
|
2015-04-08 19:22:13 -04:00 |
Pietro Gagliardi
|
00e31d0a2b
|
Finished Windows cleanup management. Everything (almost, only parentWindow is still around, but that shouldn't be a uiWindow to begin with) now cleaned!
|
2015-04-08 00:51:50 -04:00 |
Pietro Gagliardi
|
a272242052
|
Added WS_TABSTOP to uiButton on Windows.
|
2015-04-07 22:23:25 -04:00 |
Pietro Gagliardi
|
78aa64f7ca
|
Implemented uiButton.preferredSize() on Windows. This includes adding a function to get the width of text in a control.
|
2015-04-07 19:32:16 -04:00 |
Pietro Gagliardi
|
d88a727799
|
Implemented uiButton on GTK+. All we need to do is get it to show up...
|
2015-04-07 13:58:50 -04:00 |
Pietro Gagliardi
|
978e9b5e94
|
Added uiControlHandle() and fixed other uiButton issues.
|
2015-04-07 04:12:03 -04:00 |
Pietro Gagliardi
|
5b36956ecb
|
Wrote up the initial uiButton implementation. It (mostly; just needs text and for that I need to add a uiControlHandle()) works!
|
2015-04-07 04:02:21 -04:00 |