Ignore:
Timestamp:
Jan 29, 2003, 7:41:39 PM (23 years ago)
Author:
umoeller
Message:

New build system, multimedia, other misc fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/comctl.h

    r242 r243  
    5252
    5353    /*
    54      *@@ SYSCOLORSET:
     54     *@@ CCTLCOLOR:
    5555     *
    5656     *@@added V1.0.1 (2002-11-30) [umoeller]
    5757     */
    5858
    59     typedef struct _SYSCOLORSET
     59    typedef struct _CCTLCOLOR
    6060    {
    6161        BOOL    fInheritPP;
    62 
    63         LONG    lBackIndex,
    64                 lForeIndex;
    65     } SYSCOLORSET, *PSYSCOLORSET;
     62        ULONG   ulPP,
     63                ulSysColor;
     64    } CCTLCOLOR, *PCCTLCOLOR;
     65
     66    #define CTLCOL_BGND         0
     67    #define CTLCOL_FGND         1
     68
     69    #define CCS_NOSENDCTLPTR            0x0001
    6670
    6771    /*
     
    7781
    7882        PFNWP       pDefWindowProc;
    79         const SYSCOLORSET *pSysColorSet;
    80 
    81         LONG        lcolBackground,
    82                     lcolForeground;
     83
     84        ULONG       flCtl;              // CTL_* flags
    8385
    8486        SIZEL       szlWin;             // current window dimensions
    8587
    8688        PSZ         pszText;            // window text or NULL
     89
     90        const CCTLCOLOR *paCtlColors;
     91        ULONG       cCtlColors;
     92
     93        PLONG       palColorValues;
    8794
    8895    } DEFWINDATA, *PDEFWINDATA;
     
    9299                    PDEFWINDATA pdwd,
    93100                    PFNWP pDefWindowProc,
    94                     const SYSCOLORSET *pSysColorSet);
     101                    ULONG flCtl,
     102                    const CCTLCOLOR *paCtlColors,
     103                    ULONG cCtlColors);
    95104
    96105    VOID ctlRefreshColors(PDEFWINDATA pdwd);
     106
     107    LONG ctlQueryColor(PDEFWINDATA pdwd, ULONG ulIndex);
    97108
    98109    MRESULT ctlDefWindowProc(PDEFWINDATA pdwd, ULONG msg, MPARAM mp1, MPARAM mp2);
     
    10051016        HPOINTER    hptr;               // icon to paint or NULLHANDLE
    10061017
    1007         // BOOL        fPaintButtonSunk;
    1008 
    10091018    } XBUTTONDATA, *PXBUTTONDATA;
    10101019
     
    14101419    #define WC_CCTL_CNR             "ComctlCnr"
    14111420
     1421    typedef struct _CNRVIEWPORT
     1422    {
     1423        HWND        hwndCnr;
     1424        SIZEL       szlWorkarea,
     1425                    szlWin;
     1426        POINTL      ptlScroll;
     1427    } CNRVIEWPORT, *PCNRVIEWPORT;
     1428
     1429    #define CN_VIEWPORTCHANGED              159
     1430
    14121431    MRESULT EXPENTRY fnwpCnr(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
    14131432
Note: See TracChangeset for help on using the changeset viewer.