Changeset 14 for trunk/include/helpers/gpih.h
- Timestamp:
- Dec 9, 2000, 8:19:42 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/gpih.h
r7 r14 9 9 * numbering. 10 10 * 11 *@@include #define INCL_GPILOGCOLORTABLE 11 *@@include #define INCL_GPILOGCOLORTABLE // for some funcs 12 12 *@@include #include <os2.h> 13 13 *@@include #include "gpih.h" … … 16 16 /* 17 17 * Copyright (C) 1997-2000 Ulrich Mller. 18 * This file is part of the XWorkplacesource package.19 * XWorkplaceis free software; you can redistribute it and/or modify18 * This file is part of the "XWorkplace helpers" source package. 19 * This is free software; you can redistribute it and/or modify 20 20 * it under the terms of the GNU General Public License as published 21 21 * by the Free Software Foundation, in version 2 as it comes in the … … 35 35 36 36 /* ****************************************************************** 37 * *38 * Device helpers *39 * *37 * 38 * Device helpers 39 * 40 40 ********************************************************************/ 41 41 … … 43 43 44 44 /* ****************************************************************** 45 * *46 * Color helpers *47 * *45 * 46 * Color helpers 47 * 48 48 ********************************************************************/ 49 49 … … 72 72 BYTE bDivisor); 73 73 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 * 87 91 ********************************************************************/ 88 92 … … 100 104 LONG lColor); 101 105 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; 107 121 108 122 LONG gpihCharStringPosAt(HPS hps, … … 114 128 115 129 /* ****************************************************************** 116 * *117 * Font helpers *118 * *130 * 131 * Font helpers 132 * 119 133 ********************************************************************/ 120 134 … … 144 158 145 159 /* ****************************************************************** 146 * *147 * Bitmap helpers *148 * *160 * 161 * Bitmap helpers 162 * 149 163 ********************************************************************/ 150 164
Note:
See TracChangeset
for help on using the changeset viewer.