summaryrefslogtreecommitdiff
path: root/new/ui_windows.h
AgeCommit message (Collapse)Author
2015-04-16Split the rewrite into a new repository.Pietro Gagliardi
2015-04-16Migrated newcontrol.c and button.c on the Windows backend.Pietro Gagliardi
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-09Migrated the new control logic on Windows to the new uiControl/uiSizing system.Pietro Gagliardi
2015-04-09Implemented the text functions on Windows.Pietro Gagliardi
2015-04-08More TODO resolution.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-07Implemented uiButton.preferredSize() on Windows. This includes adding a ↵Pietro Gagliardi
function to get the width of text in a control.
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!
2015-04-07Hooked up resizing. Now to make a control that uses this.Pietro Gagliardi
2015-04-07Added subclassing, which finishes off newcontrol_windows.c.Pietro Gagliardi
2015-04-07More Windows control work.Pietro Gagliardi
2015-04-07More work on the Windows control hooking.Pietro Gagliardi
2015-04-07Added a public API for creating raw Windows controls. Removed include guards ↵Pietro Gagliardi
from uipriv_*.h.
2015-04-07Changed ui_*.h to uipriv_*.h pending a public non-portable API.Pietro Gagliardi
2015-04-07Decided to start with the parenting stuff now.Pietro Gagliardi
2015-04-06Started writing code for handling single-HWND controls on Windows. Similar ↵Pietro Gagliardi
code will exist for single-GtkWidget controls on GTK+ and single-NSView controls on Cocoa.
2015-04-06Started working on uiControl.Pietro Gagliardi
2015-04-06Implemented what we have so far, but on Windows.Pietro Gagliardi