Changeset 3143


Ignore:
Timestamp:
Mar 17, 2000, 6:10:53 PM (25 years ago)
Author:
cbratschi
Message:

* empty log message *

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/changelog

    r3141 r3143  
    1  /* $Id: changelog,v 1.813 2000-03-17 16:13:07 sandervl Exp $ */
     1 /* $Id: changelog,v 1.814 2000-03-17 17:09:59 cbratschi Exp $ */
     2
     3 2000-03-17: Christoph Bratschi <cbratschi@datacomm.ch>
     4        - COMCTL32: fixed trackbar buddy alignment
     5                    added useful internal tooltip styles
    26
    37 2000-03-17: Sander van Leeuwen <sandervl@xs4all.nl>
  • TabularUnified trunk/include/win/commctrl.h

    r2894 r3143  
    1 /* $Id: commctrl.h,v 1.23 2000-02-25 16:58:32 cbratschi Exp $ */
     1/* $Id: commctrl.h,v 1.24 2000-03-17 17:10:51 cbratschi Exp $ */
    22/*
    33 * Common controls definitions
     
    12521252
    12531253#define TOOLTIPS_CLASS16        "tooltips_class"
    1254 #define TOOLTIPS_CLASSA       "tooltips_class32"
     1254#define TOOLTIPS_CLASSA         "tooltips_class32"
    12551255#define TOOLTIPS_CLASS32W       L"tooltips_class32"
    12561256#define TOOLTIPS_CLASS          WINELIB_NAME_AW(TOOLTIPS_CLASS)
     
    12721272#define TTF_TRANSPARENT         0x0100
    12731273#define TTF_DI_SETITEM          0x8000  /* valid only on the TTN_NEEDTEXT callback */
    1274 
     1274//CB: Odin only position flags (TTF_ABSOLUTE must be set)
     1275#define TTF_ALIGNRIGHT  0x00000000
     1276#define TTF_ALIGNLEFT   0x10000000
     1277#define TTF_HCENTER     0x20000000
     1278#define TTF_ALIGNBOTTOM 0x00000000
     1279#define TTF_ALIGNTOP    0x40000000
     1280#define TTF_VCENTER     0x80000000
     1281#define TTF_ALIGNMASK   0xF0000000
    12751282
    12761283#define TTDT_AUTOMATIC          0
  • TabularUnified trunk/include/win/monthcal.h

    r2634 r3143  
    1 /* $Id: monthcal.h,v 1.3 2000-02-04 17:00:23 cbratschi Exp $ */
     1/* $Id: monthcal.h,v 1.4 2000-03-17 17:10:51 cbratschi Exp $ */
    22
    33/*
     
    1111#define __WINE_MONTHCAL_H
    1212
    13 #define MC_SEL_LBUTUP       1   /* Left button released */
    14 #define MC_SEL_LBUTDOWN     2   /* Left button pressed in calendar */
     13#define MC_SEL_LBUTUP       1   /* Left button released */
     14#define MC_SEL_LBUTDOWN     2   /* Left button pressed in calendar */
    1515#define MC_PREVPRESSED      4   /* Prev month button pressed */
    1616#define MC_NEXTPRESSED      8   /* Next month button pressed */
    17 #define MC_NEXTMONTHDELAY   350 /* when continuously pressing `next */
    18                                                                                 /* month', wait 500 ms before going */
    19                                                                                 /* to the next month */
    20 #define MC_NEXTMONTHTIMER   1                   /* Timer ID's */
    21 #define MC_PREVMONTHTIMER   2                   
     17#define MC_NEXTMONTHDELAY   350 /* when continuously pressing `next */
     18                                                                                /* month', wait 500 ms before going */
     19                                                                                /* to the next month */
     20#define MC_NEXTMONTHTIMER   1                   /* Timer ID's */
     21#define MC_PREVMONTHTIMER   2
    2222
    2323typedef struct tagMONTHCAL_INFO
    2424{
    25     COLORREF    bk;
    26     COLORREF    txt;
    27     COLORREF    titlebk;
    28     COLORREF    titletxt;
    29     COLORREF    monthbk;
    30     COLORREF    trailingtxt;
    31     HFONT       hFont;
    32     HFONT       hBoldFont;
    33     int         textHeight;
    34     int         textWidth;
    35     int         height_increment;
    36     int         width_increment;
    37     int         left_offset;
    38     int         top_offset;
    39     int         firstDayplace; /* place of the first day of the current month */
    40     int         delta;  /* scroll rate; # of months that the */
     25    COMCTL32_HEADER header;
     26
     27    COLORREF    bk;
     28    COLORREF    txt;
     29    COLORREF    titlebk;
     30    COLORREF    titletxt;
     31    COLORREF    monthbk;
     32    COLORREF    trailingtxt;
     33    HFONT       hFont;
     34    HFONT       hBoldFont;
     35    int         textHeight;
     36    int         textWidth;
     37    int         height_increment;
     38    int         width_increment;
     39    int         left_offset;
     40    int         top_offset;
     41    int         firstDayplace; /* place of the first day of the current month */
     42    int         delta;  /* scroll rate; # of months that the */
    4143                        /* control moves when user clicks a scroll button */
    42     int         visible;        /* # of months visible */
    43     int         firstDay;       /* Start month calendar with firstDay's day */
    44     int         monthRange;
     44    int         visible;        /* # of months visible */
     45    int         firstDay;       /* Start month calendar with firstDay's day */
     46    int         monthRange;
    4547    MONTHDAYSTATE *monthdayState;
    46     SYSTEMTIME  todaysDate;
    47     DWORD       currentMonth;
    48     DWORD       currentYear;
    49     int         status;         /* See MC_SEL flags */
    50     int         curSelDay;      /* current selected day */
    51     int         firstSelDay;    /* first selected day */
    52     int         maxSelCount;
    53     SYSTEMTIME  minSel;
    54     SYSTEMTIME  maxSel;
    55     DWORD       rangeValid;
    56     SYSTEMTIME  minDate;
    57     SYSTEMTIME  maxDate;
    58                
    59     RECT rcClient;      /* rect for whole client area */
    60     RECT rcDraw;        /* rect for drawable portion of client area */
    61     RECT title;         /* rect for the header above the calendar */
    62     RECT titlebtnnext;  /* the `next month' button in the header */
    63     RECT titlebtnprev;  /* the `prev month' button in the header */     
    64     RECT titlemonth;    /* the `month name' txt in the header */
    65     RECT titleyear;     /* the `year number' txt in the header */
    66     RECT prevmonth;     /* day numbers of the previous month */
    67     RECT nextmonth;     /* day numbers of the next month */
    68     RECT days;          /* week numbers at left side */
    69     RECT weeknums;      /* week numbers at left side */
    70     RECT today;         /* `today: xx/xx/xx' text rect */
     48    SYSTEMTIME  todaysDate;
     49    DWORD       currentMonth;
     50    DWORD       currentYear;
     51    int         status;         /* See MC_SEL flags */
     52    int         curSelDay;      /* current selected day */
     53    int         firstSelDay;    /* first selected day */
     54    int         maxSelCount;
     55    SYSTEMTIME  minSel;
     56    SYSTEMTIME  maxSel;
     57    DWORD       rangeValid;
     58    SYSTEMTIME  minDate;
     59    SYSTEMTIME  maxDate;
     60
     61    RECT rcClient;      /* rect for whole client area */
     62    RECT rcDraw;        /* rect for drawable portion of client area */
     63    RECT title;         /* rect for the header above the calendar */
     64    RECT titlebtnnext;  /* the `next month' button in the header */
     65    RECT titlebtnprev;  /* the `prev month' button in the header */
     66    RECT titlemonth;    /* the `month name' txt in the header */
     67    RECT titleyear;     /* the `year number' txt in the header */
     68    RECT prevmonth;     /* day numbers of the previous month */
     69    RECT nextmonth;     /* day numbers of the next month */
     70    RECT days;          /* week numbers at left side */
     71    RECT weeknums;      /* week numbers at left side */
     72    RECT today;         /* `today: xx/xx/xx' text rect */
    7173} MONTHCAL_INFO, *LPMONTHCAL_INFO;
    7274
  • TabularUnified trunk/include/win/nativefont.h

    r4 r3143  
    1 /* $Id: nativefont.h,v 1.1 1999-05-24 20:19:15 ktk Exp $ */
     1/* $Id: nativefont.h,v 1.2 2000-03-17 17:10:52 cbratschi Exp $ */
    22
    33/*
     
    1212typedef struct tagNATIVEFONT_INFO
    1313{
    14     DWORD  dwDummy;   /* just to keep the compiler happy ;-) */
    15 
     14    COMCTL32_HEADER header;
    1615} NATIVEFONT_INFO;
    1716
  • TabularUnified trunk/include/win/pager.h

    r4 r3143  
    1 /* $Id: pager.h,v 1.1 1999-05-24 20:19:16 ktk Exp $ */
     1/* $Id: pager.h,v 1.2 2000-03-17 17:10:52 cbratschi Exp $ */
    22
    33/*
     
    1313typedef struct tagPAGER_INFO
    1414{
     15    COMCTL32_HEADER header;
     16
    1517    HWND   hwndChild;
    1618    COLORREF clrBk;
  • TabularUnified trunk/include/win/progress.h

    r4 r3143  
    1 /* $Id: progress.h,v 1.1 1999-05-24 20:19:17 ktk Exp $ */
     1/* $Id: progress.h,v 1.2 2000-03-17 17:10:52 cbratschi Exp $ */
    22
    33/*
     
    1414typedef struct
    1515{
     16  COMCTL32_HEADER header;
     17
    1618  INT       CurVal;       /* Current progress value */
    1719  INT       MinVal;       /* Minimum progress value */
    1820  INT       MaxVal;       /* Maximum progress value */
    1921  INT       Step;         /* Step to use on PMB_STEPIT */
    20   COLORREF    ColorBar;     /* Bar color */
    21   COLORREF    ColorBk;      /* Background color */
     22  COLORREF  ColorBar;     /* Bar color */
     23  COLORREF  ColorBk;      /* Background color */
    2224  HFONT     hFont;        /* Handle to font (not unused) */
    2325} PROGRESS_INFO;
  • TabularUnified trunk/include/win/tooltips.h

    r4 r3143  
    1 /* $Id: tooltips.h,v 1.1 1999-05-24 20:19:20 ktk Exp $ */
     1/* $Id: tooltips.h,v 1.2 2000-03-17 17:10:53 cbratschi Exp $ */
    22
    33/*
     
    2626    RECT      rect;
    2727    HINSTANCE hinst;
    28     LPWSTR      lpszText;
    29     LPARAM      lParam;
    30 } TTTOOL_INFO; 
     28    LPWSTR    lpszText;
     29    LPARAM    lParam;
     30} TTTOOL_INFO;
    3131
    3232
  • TabularUnified trunk/include/win/trackbar.h

    r967 r3143  
    1 /* $Id: trackbar.h,v 1.3 1999-09-18 12:09:47 sandervl Exp $ */
     1/* $Id: trackbar.h,v 1.4 2000-03-17 17:10:53 cbratschi Exp $ */
    22
    33/*
     
    1313typedef struct tagTRACKBAR_INFO
    1414{
     15    COMCTL32_HEADER header;
     16
    1517    INT  nRangeMin;
    1618    INT  nRangeMax;
     
    2325    UINT uNumTics;
    2426    UINT  uTicFreq;
    25     HWND hwndNotify;
    2627    HWND hwndToolTip;
    2728    HWND hwndBuddyLA;
Note: See TracChangeset for help on using the changeset viewer.