Go to the source code of this file.
◆ _B
◆ _G
◆ _I
◆ _R
◆ CP_BLANK_NOT_FOUND
◆ CP_END_OF_STRING
◆ CP_OK
◆ SC_HEX
◆ SC_TXT
◆ CLRTABLE
◆ chop_blank()
◆ hex_clr()
Definition at line 125 of file strtoclr.c.
126{
129
131
134 else
135 {
137
138 if ( ch >=
_T(
'A') && ch <=
_T(
'F') )
140 else
142 }
143
145
147 ret |= (ch-
_T(
'0')) << 4;
148 else
149 {
151
152 if ( ch >=
_T(
'A') && ch <=
_T(
'F') )
153 ret |= (ch-
_T(
'A')+10) <<4;
154 else
156 }
157
159}
Referenced by StringToColor().
◆ str_to_color()
Definition at line 181 of file strtoclr.c.
182{
185
186 WORD tmp_clr,ret_clr;
187
189
192
193
195
197 {
199
202 }
203
205 {
207 }
208
209
212
213 ret_clr = tmp_clr | (bBri << 3);
214
215
217
219 {
221
224 }
225
228
230
232
233
234 return ret_clr | tmp_clr << 4 | bBri << 7;
235}
static INT chop_blank(LPTSTR *arg_str)
static WORD txt_clr(LPTSTR str)
Referenced by StringToColor().
◆ StringToColor()
Definition at line 255 of file strtoclr.c.
256{
258
260 if (wRet == (
WORD)-1)
261 {
264 if (wRet == (
WORD)-1)
266 }
267
268 *lpColor = wRet;
269
271}
static WORD hex_clr(LPTSTR str)
static WORD str_to_color(LPTSTR *arg_str)
Referenced by CommandColor().
◆ txt_clr()
Definition at line 167 of file strtoclr.c.
168{
170
174
176}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by str_to_color().
◆ clrtable