Ignore:
Timestamp:
Dec 9, 2000, 8:19:42 PM (25 years ago)
Author:
umoeller
Message:

Major updates; timers, LVM, miscellaneous.

File:
1 edited

Legend:

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

    r7 r14  
    99 *            numbering.
    1010 *
    11  *@@include #define INCL_GPILOGCOLORTABLE
     11 *@@include #define INCL_GPILOGCOLORTABLE       // for some funcs
    1212 *@@include #include <os2.h>
    1313 *@@include #include "gpih.h"
     
    1616/*
    1717 *      Copyright (C) 1997-2000 Ulrich M”ller.
    18  *      This file is part of the XWorkplace source package.
    19  *      XWorkplace is free software; you can redistribute it and/or modify
     18 *      This file is part of the "XWorkplace helpers" source package.
     19 *      This is free software; you can redistribute it and/or modify
    2020 *      it under the terms of the GNU General Public License as published
    2121 *      by the Free Software Foundation, in version 2 as it comes in the
     
    3535
    3636    /* ******************************************************************
    37      *                                                                  *
    38      *   Device helpers                                                 *
    39      *                                                                  *
     37     *
     38     *   Device helpers
     39     *
    4040     ********************************************************************/
    4141
     
    4343
    4444    /* ******************************************************************
    45      *                                                                  *
    46      *   Color helpers                                                  *
    47      *                                                                  *
     45     *
     46     *   Color helpers
     47     *
    4848     ********************************************************************/
    4949
     
    7272                           BYTE bDivisor);
    7373
    74     /*
    75      *@@ gpihSwitchToRGB:
    76      *      this switches the given HPS into RGB mode.
    77      *      Requires INCL_GPILOGCOLORTABLE.
    78      */
    79 
    80     #define gpihSwitchToRGB(hps)                \
    81         GpiCreateLogColorTable(hps, 0, LCOLF_RGB, 0, 0, NULL);
    82 
    83     /* ******************************************************************
    84      *                                                                  *
    85      *   Drawing primitives helpers                                     *
    86      *                                                                  *
     74    #ifdef INCL_GPILOGCOLORTABLE
     75
     76        /*
     77         *@@ gpihSwitchToRGB:
     78         *      this switches the given HPS into RGB mode.
     79         *      Requires INCL_GPILOGCOLORTABLE.
     80         */
     81
     82        #define gpihSwitchToRGB(hps)                \
     83            GpiCreateLogColorTable(hps, 0, LCOLF_RGB, 0, 0, NULL);
     84
     85    #endif
     86
     87    /* ******************************************************************
     88     *
     89     *   Drawing primitives helpers
     90     *
    8791     ********************************************************************/
    8892
     
    100104                    LONG lColor);
    101105
    102     VOID gpihDraw3DFrame(HPS hps,
    103                          PRECTL prcl,
    104                          USHORT usWidth,
    105                          LONG lColorLeft,
    106                          LONG lColorRight);
     106    VOID gpihDrawThickFrame(HPS hps,
     107                            PRECTL prcl,
     108                            ULONG ulWidth);
     109
     110    VOID APIENTRY gpihDraw3DFrame(HPS hps,
     111                                  PRECTL prcl,
     112                                  USHORT usWidth,
     113                                  LONG lColorLeft,
     114                                  LONG lColorRight);
     115    typedef VOID APIENTRY GPIHDRAW3DFRAME(HPS hps,
     116                                          PRECTL prcl,
     117                                          USHORT usWidth,
     118                                          LONG lColorLeft,
     119                                          LONG lColorRight);
     120    typedef GPIHDRAW3DFRAME *PGPIHDRAW3DFRAME;
    107121
    108122    LONG gpihCharStringPosAt(HPS hps,
     
    114128
    115129    /* ******************************************************************
    116      *                                                                  *
    117      *   Font helpers                                                   *
    118      *                                                                  *
     130     *
     131     *   Font helpers
     132     *
    119133     ********************************************************************/
    120134
     
    144158
    145159    /* ******************************************************************
    146      *                                                                  *
    147      *   Bitmap helpers                                                 *
    148      *                                                                  *
     160     *
     161     *   Bitmap helpers
     162     *
    149163     ********************************************************************/
    150164
Note: See TracChangeset for help on using the changeset viewer.