Mercurial > dwindows
comparison dwtest.c @ 567:81ca08481d49
Added the basics of the color chooser on OS/2. Needs some more logic to
be finished.
Removed DW_OS2_RGB() since it was no longer used.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 24 Jun 2004 08:54:19 +0000 |
parents | f6de197ecbe9 |
children | 420c6c94abc7 |
comparison
equal
deleted
inserted
replaced
566:f6de197ecbe9 | 567:81ca08481d49 |
---|---|
25 #define SCROLLBARWIDTH 14 | 25 #define SCROLLBARWIDTH 14 |
26 | 26 |
27 unsigned long flStyle = DW_FCF_SYSMENU | DW_FCF_TITLEBAR | | 27 unsigned long flStyle = DW_FCF_SYSMENU | DW_FCF_TITLEBAR | |
28 DW_FCF_SHELLPOSITION | DW_FCF_TASKLIST | DW_FCF_DLGBORDER; | 28 DW_FCF_SHELLPOSITION | DW_FCF_TASKLIST | DW_FCF_DLGBORDER; |
29 | 29 |
30 unsigned long current_color = DW_CLR_GREEN; | 30 unsigned long current_color = DW_RGB(100,100,100); |
31 | 31 |
32 void create_button( int); | 32 void create_button( int); |
33 | 33 |
34 #ifdef __MAC__ | 34 #ifdef __MAC__ |
35 int main(int argc, char *argv[]) | 35 int main(int argc, char *argv[]) |