Changeset 1108 for trunk/include


Ignore:
Timestamp:
Oct 2, 1999, 3:55:46 PM (26 years ago)
Author:
cbratschi
Message:

added DrawTextExA/W

Location:
trunk/include/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/header.h

    r4 r1108  
    1 /* $Id: header.h,v 1.1 1999-05-24 20:19:12 ktk Exp $ */
     1/* $Id: header.h,v 1.2 1999-10-02 13:55:45 cbratschi Exp $ */
    22
    33/*
     
    1111#define __WINE_HEADER_H_
    1212
    13 typedef struct 
     13typedef struct
    1414{
    1515    INT     cxy;
    1616    HBITMAP hbm;
    17     LPWSTR    pszText;
     17    LPWSTR  pszText;
    1818    INT     fmt;
    19     LPARAM    lParam;
     19    LPARAM  lParam;
    2020    INT     iImage;
    21     INT     iOrder;             /* see documentation of HD_ITEM */
     21    INT     iOrder;             /* see documentation of HD_ITEM */
    2222
    23     BOOL    bDown;              /* is item pressed? (used for drawing) */
    24     RECT    rect;               /* bounding rectangle of the item */
     23    BOOL    bDown;              /* is item pressed? (used for drawing) */
     24    RECT    rect;               /* bounding rectangle of the item */
    2525} HEADER_ITEM;
    2626
     
    2828typedef struct
    2929{
    30     UINT      uNumItem; /* number of items (columns) */
    31     INT       nHeight;  /* height of the header (pixels) */
    32     HFONT     hFont;            /* handle to the current font */
    33     HCURSOR   hcurArrow;        /* handle to the arrow cursor */
    34     HCURSOR   hcurDivider;      /* handle to a cursor (used over dividers) <-|-> */
    35     HCURSOR   hcurDivopen;      /* handle to a cursor (used over dividers) <-||-> */
    36     BOOL      bCaptured;        /* Is the mouse captured? */
    37     BOOL      bPressed; /* Is a header item pressed (down)? */
    38     BOOL      bTracking;        /* Is in tracking mode? */
     30    UINT      uNumItem; /* number of items (columns) */
     31    INT       nHeight;  /* height of the header (pixels) */
     32    HFONT     hFont;            /* handle to the current font */
     33    HCURSOR   hcurArrow;        /* handle to the arrow cursor */
     34    HCURSOR   hcurDivider;      /* handle to a cursor (used over dividers) <-|-> */
     35    HCURSOR   hcurDivopen;      /* handle to a cursor (used over dividers) <-||-> */
     36    BOOL      bCaptured;        /* Is the mouse captured? */
     37    BOOL      bPressed; /* Is a header item pressed (down)? */
     38    BOOL      bTracking;        /* Is in tracking mode? */
    3939    BOOL      bUnicode;       /* Unicode flag */
    40     INT       iMoveItem;        /* index of tracked item. (Tracking mode) */
    41     INT       xTrackOffset;     /* distance between the right side of the tracked item and the cursor */
    42     INT       xOldTrack;        /* track offset (see above) after the last WM_MOUSEMOVE */
    43     INT       nOldWidth;        /* width of a sizing item after the last WM_MOUSEMOVE */
    44     INT       iHotItem; /* index of hot item (cursor is over this item) */
     40    INT       iMoveItem;        /* index of tracked item. (Tracking mode) */
     41    INT       xTrackOffset;     /* distance between the right side of the tracked item and the cursor */
     42    INT       xOldTrack;        /* track offset (see above) after the last WM_MOUSEMOVE */
     43    INT       nOldWidth;        /* width of a sizing item after the last WM_MOUSEMOVE */
     44    INT       iHotItem; /* index of hot item (cursor is over this item) */
    4545
    46     HIMAGELIST  himl;           /* handle to a image list (may be 0) */
    47     HEADER_ITEM *items;         /* pointer to array of HEADER_ITEM's */
     46    HIMAGELIST  himl;           /* handle to a image list (may be 0) */
     47    HEADER_ITEM *items;         /* pointer to array of HEADER_ITEM's */
    4848    LPINT     pOrder;         /* pointer to order array */
    4949} HEADER_INFO;
  • trunk/include/win/winuser.h

    r874 r1108  
    1 /* $Id: winuser.h,v 1.8 1999-09-08 12:12:28 sandervl Exp $ */
     1/* $Id: winuser.h,v 1.9 1999-10-02 13:55:46 cbratschi Exp $ */
    22
    33#ifndef __INCLUDE_WINUSER_H
     
    31573157INT       WINAPI DrawTextW(HDC,LPCWSTR,INT,LPRECT,UINT);
    31583158#define     DrawText WINELIB_NAME_AW(DrawText)
     3159INT       WINAPI DrawTextExA(HDC,LPCSTR,INT,LPRECT,UINT,LPDRAWTEXTPARAMS);
     3160INT       WINAPI DrawTextExW(HDC,LPWSTR,INT,LPRECT,UINT,LPDRAWTEXTPARAMS);
     3161#define DrawTextEx WINELIB_NAME_AW(DrawTextEx)
    31593162BOOL      WINAPI EmptyClipboard(void);
    31603163BOOL      WINAPI EnableMenuItem(HMENU,UINT,UINT);
Note: See TracChangeset for help on using the changeset viewer.