Mercurial > controlcenter
changeset 48:0219806a18ca
Fixed color selector not working.
Fixed properties dialog not closing.
Fixed compile issues on Linux.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Fri, 06 Apr 2012 05:07:17 -0500 |
parents | 54d542f732d1 |
children | 711075dc6532 |
files | cc.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/cc.c Fri Apr 06 04:47:33 2012 -0500 +++ b/cc.c Fri Apr 06 05:07:17 2012 -0500 @@ -338,7 +338,7 @@ } /* Creates pull down or popup menu */ -int DWSIGNAL display_menu(HWND handle, HWND hwnd) +int DWSIGNAL display_menu(HWND hwnd, void *data) { HMENUI hwndMenu; HWND menuitem; @@ -504,7 +504,7 @@ } /* Handle changing the color of an item */ -int DWSIGNAL color_click(HWND hwnd, void *data) +int DWSIGNAL color_click(HWND hwnd, int x, int y, int buttonmask, void *data) { int color = DW_POINTER_TO_INT(data); unsigned long thiswidth, thisheight, newcol; @@ -547,7 +547,7 @@ int DWSIGNAL properties_delete(HWND hwnd, void *data) { in_properties = 0; - return TRUE; + return FALSE; } /* Create the properties dialog */