Changeset 127 for branches


Ignore:
Timestamp:
Jul 1, 2008, 4:57:41 PM (17 years ago)
Author:
lpino
Message:

Changed the comment styles to avoid warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/watcom_ant17_java141/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/library/editcol.h

    r14 r127  
    22   #include <os2.h>
    33#endif
    4 //=========================================================================\
     4/*=========================================================================\
    55// edit color dialog based on the undocumented color wheel OS/2 control    |
    66// from an idea of Paul Ratcliffe (E-mail: paulr@orac.clara.co.uk or       |
     
    88// coded by Alessandro Cantatore (alexcant@tin.it                          |
    99// version 1.1                                                             |
    10 //=========================================================================/
     10//=========================================================================*/
    1111
    1212// color wheel class ------------------------------------------------------
     
    1515
    1616
    17 //=========================================================================\
     17/*=========================================================================\
    1818// messages:                                                               |
    1919// WM_COLORWHEELCHANGED : mp1 = LONG RGB color                             |
     
    2727//                        is sent to the color wheel to set the current    |
    2828//                        color                                            |
    29 //=========================================================================/
     29//=========================================================================*/
    3030
    3131
    32 // warp 4 messages
     32/* warp 4 messages*/
    3333#define WM_COLORWHEELCHANGED        0x0601
    3434#define CWM_COLORWHEELSETVAL        0x0602
    3535
    36 // warp 3 messages
     36/* warp 3 messages */
    3737#define WM_COLORWHEELCHANGED3       0x130C
    3838#define CWM_COLORWHEELSETVAL3       0x1384
    3939
    4040
    41 // various constants ------------------------------------------------------
     41/* various constants ------------------------------------------------------ */
    4242
    43 #define MAXTITLESIZE           128     // max length of dialog title
    44 #define SZ_MODULE     "EDITCOL.DLL"    // DLL name
     43#define MAXTITLESIZE           128     /* max length of dialog title */
     44#define SZ_MODULE     "EDITCOL.DLL"    /* DLL name */
    4545
    4646
    47 // application structures -------------------------------------------------
     47/* application structures ------------------------------------------------- */
    4848
    4949#pragma pack(1)
     
    5959
    6060typedef struct {
    61    USHORT cbSize;                  // structure size
    62    USHORT res;                     // not used
    63    HAB hab;                        // anchor block handle
    64    HLIB hlib;                      // WPCONFIG.DLL handle
    65    HMODULE hDlgMod;                // COLWHEEL.DLL handle
    66    HWND hwndParent;                // handle parent window
    67    HWND hwndOwner;                 // handle owner window
    68    ULONG ulVer;                    // OS version
    69    ULONG cwChangedMsg;             // WM_COLORWHEELCHANGED(-3)
    70    ULONG cwSetMsg;                 // CWM_COLORWHEELSETVAL(-3)
    71    CHAR achDlgTitle[MAXTITLESIZE]; // dialog title
    72    BOOL flUpd;                     // update color-wheel/spinbuttons flag
    73    CLR clrUndo;                    // start color
    74    CLR clrCurr;                    // current color
    75    RECTL rclPar;                   // parent window rectangle
    76    RECTL rcl;                      // dialog window rectangle
     61   USHORT cbSize;                  /* structure size */
     62   USHORT res;                     /* not used */
     63   HAB hab;                        /* anchor block handle */
     64   HLIB hlib;                      /* WPCONFIG.DLL handle */
     65   HMODULE hDlgMod;                /* COLWHEEL.DLL handle */
     66   HWND hwndParent;                /* handle parent window */
     67   HWND hwndOwner;                 /* handle owner window */
     68   ULONG ulVer;                    /* OS version */
     69   ULONG cwChangedMsg;             /* WM_COLORWHEELCHANGED(-3) */
     70   ULONG cwSetMsg;                 /* CWM_COLORWHEELSETVAL(-3) */
     71   CHAR achDlgTitle[MAXTITLESIZE]; /* dialog title */
     72   BOOL flUpd;                     /* update color-wheel/spinbuttons flag */
     73   CLR clrUndo;                    /* start color */
     74   CLR clrCurr;                    /* current color */
     75   RECTL rclPar;                   /* parent window rectangle */
     76   RECTL rcl;                      /* dialog window rectangle */
    7777} APPDATA, * PAPPDATA;
    7878
     
    8181// functions --------------------------------------------------------------
    8282
    83 LONG APIENTRY WinEditColorDlg(HWND hwndParent,  // parent handle
    84                                       HWND hwndOwner,   // owner handle
    85                                       COLOR color,      // RGB color (LONG)
    86                                       PSZ pszTitle);    // dialog title
     83LONG APIENTRY WinEditColorDlg(HWND hwndParent,  /* parent handle */
     84                                      HWND hwndOwner,   /* owner handle */
     85                                      COLOR color,      /* RGB color (LONG) */
     86                                      PSZ pszTitle);    /* dialog title */
    8787
    8888MRESULT EXPENTRY EditColorDlgProc(HWND hwnd,
Note: See TracChangeset for help on using the changeset viewer.