[PATCH 1/2] include: add colordlg.h header file for color dialogs

Vijay Kiran Kamuju infyquest at gmail.com
Fri Nov 15 18:37:25 CST 2019


Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
---
 include/Makefile.in |  1 +
 include/colordlg.h  | 62 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 include/colordlg.h

diff --git a/include/Makefile.in b/include/Makefile.in
index c31fb50d7498..421e3d6c5988 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -60,6 +60,7 @@ SOURCES = \
 	cmdtxt.idl \
 	cmnquery.idl \
 	colinf.idl \
+	colordlg.h \
 	comcat.idl \
 	commctrl.h \
 	commctrl.rh \
diff --git a/include/colordlg.h b/include/colordlg.h
new file mode 100644
index 000000000000..330659f7a435
--- /dev/null
+++ b/include/colordlg.h
@@ -0,0 +1,62 @@
+/*
+ * Color Dialog definitions
+ *
+ * Copyright (C) 2019 Vijay Kiran Kamuju
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __WINE_COLORDLG_H
+#define __WINE_COLORDLG_H
+
+#define DLG_COLOR
+
+#define COLOR_HUESCROLL     700
+#define COLOR_SATSCROLL     701
+#define COLOR_LUMSCROLL     702
+#define COLOR_HUE           703
+#define COLOR_SAT           704
+#define COLOR_LUM           705
+#define COLOR_RED           706
+#define COLOR_GREEN         707
+#define COLOR_BLUE          708
+#define COLOR_CURRENT       709
+#define COLOR_RAINBOW       710
+#define COLOR_SAVE          711
+#define COLOR_ADD           712
+#define COLOR_SOLID         713
+#define COLOR_TUNE          714
+#define COLOR_SCHEMES       715
+#define COLOR_ELEMENT       716
+#define COLOR_SAMPLES       717
+#define COLOR_PALETTE       718
+#define COLOR_MIX           719
+#define COLOR_BOX1          720
+#define COLOR_CUSTOM1       721
+
+#define COLOR_HUEACCEL      723
+#define COLOR_SATACCEL      724
+#define COLOR_LUMACCEL      725
+#define COLOR_REDACCEL      726
+#define COLOR_GREENACCEL    727
+#define COLOR_BLUEACCEL     728
+
+#define COLOR_SOLID_LEFT    730
+#define COLOR_SOLID_RIGHT   731
+
+#define NUM_BASIC_COLORS    48
+#define NUM_CUSTOM_COLORS   16
+
+#endif  /* __WINE_COLORDLG_H */
-- 
2.21.0




More information about the wine-devel mailing list