Ignore:
Timestamp:
Feb 2, 2001, 8:04:03 PM (25 years ago)
Author:
sandervl
Message:

class, dialog control size & drawedge fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/uitools.cpp

    r4931 r5056  
    1 /* $Id: uitools.cpp,v 1.28 2001-01-11 18:04:19 sandervl Exp $ */
     1/* $Id: uitools.cpp,v 1.29 2001-02-02 19:04:02 sandervl Exp $ */
    22/*
    33 * User Interface Functions
     
    2424 * UITOOLS_DrawRectEdge()
    2525 */
    26 static const char LTInnerNormal[] = {
     26static const signed LTInnerNormal[] = {
    2727    -1,           -1,                 -1,                 -1,
    2828    -1,           COLOR_BTNHIGHLIGHT, COLOR_BTNHIGHLIGHT, -1,
     
    3131};
    3232
    33 static const char LTOuterNormal[] = {
     33static const signed char LTOuterNormal[] = {
    3434    -1,                 COLOR_3DLIGHT,     COLOR_BTNSHADOW, -1,
    3535    COLOR_BTNHIGHLIGHT, COLOR_3DLIGHT,     COLOR_BTNSHADOW, -1,
     
    3838};
    3939
    40 static const char RBInnerNormal[] = {
     40static const signed char RBInnerNormal[] = {
    4141    -1,           -1,                -1,              -1,
    4242    -1,           COLOR_BTNSHADOW,   COLOR_BTNSHADOW, -1,
     
    4545};
    4646
    47 static const char RBOuterNormal[] = {
     47static const signed char RBOuterNormal[] = {
    4848    -1,              COLOR_3DDKSHADOW,  COLOR_BTNHIGHLIGHT, -1,
    4949    COLOR_BTNSHADOW, COLOR_3DDKSHADOW,  COLOR_BTNHIGHLIGHT, -1,
     
    5252};
    5353
    54 static const char LTInnerSoft[] = {
     54static const signed char LTInnerSoft[] = {
    5555    -1,                  -1,                -1,              -1,
    5656    -1,                  COLOR_3DLIGHT,     COLOR_3DLIGHT,   -1,
     
    5959};
    6060
    61 static const char LTOuterSoft[] = {
     61static const signed char LTOuterSoft[] = {
    6262    -1,              COLOR_BTNHIGHLIGHT, COLOR_3DDKSHADOW, -1,
    6363    COLOR_3DLIGHT,   COLOR_BTNHIGHLIGHT, COLOR_3DDKSHADOW, -1,
     
    6969#define RBOuterSoft RBOuterNormal
    7070
    71 static const char LTRBOuterMono[] = {
     71static const signed char LTRBOuterMono[] = {
    7272    -1,           COLOR_WINDOWFRAME, COLOR_WINDOWFRAME, COLOR_WINDOWFRAME,
    7373    COLOR_WINDOW, COLOR_WINDOWFRAME, COLOR_WINDOWFRAME, COLOR_WINDOWFRAME,
     
    7676};
    7777
    78 static const char LTRBInnerMono[] = {
     78static const signed char LTRBInnerMono[] = {
    7979    -1, -1,           -1,           -1,
    8080    -1, COLOR_WINDOW, COLOR_WINDOW, COLOR_WINDOW,
     
    8383};
    8484
    85 static const char LTRBOuterFlat[] = {
     85static const signed char LTRBOuterFlat[] = {
    8686    -1,                COLOR_BTNSHADOW, COLOR_BTNSHADOW, COLOR_BTNSHADOW,
    8787    COLOR_WINDOWFRAME, COLOR_BTNSHADOW, COLOR_BTNSHADOW, COLOR_BTNSHADOW,
     
    9090};
    9191
    92 static const char LTRBInnerFlat[] = {
     92static const signed char LTRBInnerFlat[] = {
    9393    -1, -1,              -1,              -1,
    9494    -1, COLOR_WINDOWFRAME, COLOR_WINDOWFRAME, COLOR_WINDOWFRAME,
     
    110110{
    111111    POINT Points[4];
    112     char InnerI, OuterI;
     112    signed char InnerI, OuterI;
    113113    HPEN InnerPen, OuterPen;
    114114    POINT SavePoint;
     
    424424                                     UINT uType, UINT uFlags)
    425425{
    426     char LTInnerI, LTOuterI;
    427     char RBInnerI, RBOuterI;
     426    signed char LTInnerI, LTOuterI;
     427    signed char RBInnerI, RBOuterI;
    428428    HPEN LTInnerPen, LTOuterPen;
    429429    HPEN RBInnerPen, RBOuterPen;
Note: See TracChangeset for help on using the changeset viewer.