summaryrefslogtreecommitdiff
path: root/new/button_windows.c
AgeCommit message (Collapse)Author
2015-04-12Fix helper: get rid of direct casts to HWND to make errors more obvious.Pietro Gagliardi
2015-04-10Changed the Windows new control system to automatically assign the standard ↵Pietro Gagliardi
control font if a flag is set in the creation parameters structure.
2015-04-09Changed onWM_NOTIFY() to only pass the NMHDR * in. The LPARAM is more useful ↵Pietro Gagliardi
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-09Changed onWM_COMMAND() to give our controls only the notification code. We ↵Pietro Gagliardi
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-09DlgUnit -> DlgUnitsPietro Gagliardi
2015-04-09More Windows conversion. Not done yet.Pietro Gagliardi
2015-04-09Implemented the text functions on Windows.Pietro Gagliardi
2015-04-08More TODO resolution.Pietro Gagliardi
2015-04-08Removed some stale TODOs.Pietro Gagliardi
2015-04-08Finished Windows cleanup management. Everything (almost, only parentWindow ↵Pietro Gagliardi
is still around, but that shouldn't be a uiWindow to begin with) now cleaned!
2015-04-07Added WS_TABSTOP to uiButton on Windows.Pietro Gagliardi
2015-04-07Implemented uiButton.preferredSize() on Windows. This includes adding a ↵Pietro Gagliardi
function to get the width of text in a control.
2015-04-07Implemented uiButton on GTK+. All we need to do is get it to show up...Pietro Gagliardi
2015-04-07Added uiControlHandle() and fixed other uiButton issues.Pietro Gagliardi
2015-04-07Wrote up the initial uiButton implementation. It (mostly; just needs text ↵Pietro Gagliardi
and for that I need to add a uiControlHandle()) works!