Commit Graph

38 Commits

Author SHA1 Message Date
Eric Pouech 05fef74867 comdlg32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-09 18:37:32 +01:00
Eric Pouech 0c0f80a333 comdlg32: Removed useless casts to long.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:19 +01:00
Zhiyi Zhang 665fa81a51 comdlg32: Fix a memory leak.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-01 10:10:35 +01:00
Michael Stefaniuc b97542cef7 comdlg32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-23 12:37:23 +01:00
Vijay Kiran Kamuju a9c4b309f6 comdlg32: Use the new colordlg.h file and update the resources.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Nikolay Sivov 7514475c1c comdlg32: Use ARRAY_SIZE macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:40:25 +01:00
Nikolay Sivov 38898e939c comdlg32: Use memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:40:15 +01:00
Nikolay Sivov 3c33ebd662 comdlg32: Use existing symbol for Help button id.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:50 -05:00
Carlo Bramini a1b0d92587 comdlg32: Uses SetDlgItemInt() to simplify the code.
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:48:47 -07:00
Michael Stefaniuc 4e7272f087 comdlg32: Avoid using CopyRect().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 22:16:35 +09:00
Frédéric Delanoy 3e3efd1e1b comdlg32: Use BOOL type where appropriate. 2013-10-23 11:21:15 +02:00
Nikolay Sivov 3dea8a69ec comdlg32: Simplify more internal helpers. 2013-05-14 17:28:34 +02:00
Nikolay Sivov 489707f9e3 comdlg32: Simplify some internal helpers. 2013-05-13 11:44:17 +02:00
Nikolay Sivov 1616eb6fca comdlg32: Pass full colorref to RGB -> HSL conversion function. 2013-05-13 11:44:12 +02:00
Nikolay Sivov 31351376d1 comdlg32: Return combined color from HSL -> RGB transform. 2013-05-13 11:44:00 +02:00
Nikolay Sivov adbb96fb5c comdlg32: Add controls codes defines for color choosing dialog. 2013-05-13 11:43:51 +02:00
Michael Stefaniuc 5b389bacc5 comdlg32: Use IS_INTRESOURCE instead of HIWORD to check a resource. 2010-01-27 18:46:09 +01:00
Gerald Pfeifer 5e3f66c211 comdlg32: Simplify CC_WMPaint, CC_WMLButtonUp and CC_WMLButtonDown by shedding unused parameters. 2009-11-21 14:31:45 +01:00
Alexandre Julliard 024a0683eb comdlg32: Reimplement the 16-bit color dialog on top of the 32-bit one.
Stub out the functionality that cannot be supported that way.
2009-11-12 20:33:49 +01:00
Andrew Talbot 8a1a2a9511 comdlg32: Declare a function static. 2009-01-02 14:28:02 +01:00
Ricardo Filipe 25f7ad44e5 comdlg32: Removed dead assignments (llvm/clang). 2008-11-25 13:09:53 +01:00
Michael Stefaniuc 48960eef2c comdlg32: Don't cast the return value of GetProp() as it is a HANLE aka void pointer. 2008-10-31 12:57:53 +01:00
Divan Burger c8b626fa1d comdlg32: Fix memory leak in colour dialog. 2008-02-18 14:10:12 +01:00
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Divan Burger ad92cdcf55 comdlg32: Modernize the look of the colour boxes in the colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 3a508e605b comdlg32: Modernize the look of the selected colour box in the colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 285c9fc640 comdlg32: Modernize the look of the colour graph's cross in the colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 155d320ae6 comdlg32: Modernize the look of the luminance bar in the colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 8a0dab38c8 comdlg32: Clamp hue and saturation when clicking in colour graph in colour dialog. 2008-01-09 13:38:03 +01:00
Divan Burger 19ed584903 comdlg32: Fix bug where the colour graph's cross is not painted. 2008-01-09 13:38:03 +01:00
Andrew Talbot 750a56016d comdlg32: Remove unnecessary casts. 2007-12-04 14:32:39 +01:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Andrew Talbot fc5f6d4bdc comdlg32: Constify some variables. 2007-04-05 10:54:07 +02:00
Ivan Sinitsin a4ff5c550b comdlg32: Set the right background color of the dialog window "Choose color". 2007-02-14 22:17:29 +01:00
Andrew Talbot 0c868151db comdlg32: Cast-qual warnings fix. 2006-10-23 15:07:06 +02:00
Andrew Talbot 778d5d65e8 comdlg32: Cast-qual warnings fix. 2006-09-07 13:46:15 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard ca1e72a402 comdlg32: Renamed the dlls/commdlg directory to dlls/comdlg32. 2006-04-10 17:00:03 +02:00