163 {
166
167
169
171
175
179
180
181 long iScrollBegin, iScrollLast;
183 iScrollBegin = 0;
185 } else {
188 }
189
190
191
194 iScrollBegin);
197 int strippedlines = (*strip)(stripped, stripped + iScrollLast,
199
200
203
204
207
208
209
210 char * szStatusLine;
215
216
218 while (!done){
222 szStatusLine[8] = ':';
223 szStatusLine[34] = '-';
226 for (
c = 0;
c < 16;
c++){
229 else
232 hexify((
char)
p, &szStatusLine[11 + 3*
c], 2);
234 szStatusLine[60 +
c] = (
char)
p;
235 } else {
236 szStatusLine[60 +
c] =
'.';
237 }
238 }
239 for(
int j = 0;
j < 16;
j++) {
240 }
244 }
245 break;
254 else
255 szStatusLine[
c] =
'.';
256 }
257 szStatusLine[
c] =
'\0';
260 }
261 break;
270 else
271 szStatusLine[
c] =
' ';
272 }
273 szStatusLine[
c] =
'\0';
276 }
277 break;
280
283
284 if(stripped[ch] ==
'\n')
lines++;
285 if(stripped[ch] ==
'\r')
x = 1;
286 }
287
293 else p = stripped[ch];
295 case 10: done =
TRUE;
break;
296 case 13:
c = 0;
break;
297 default: szStatusLine[
c] =
p;
298 }
299 ch++;
300 if(done) break;
301 }
305 }
306 }
307 break;
308 }
309
313
314
315
319 break;
323 else
325 break;
329 else
331 break;
334 break;
337 break;
344 break;
348 break;
351 break;
354 break;
355 }
356 }
357
358
360 delete[] szStatusLine;
361 delete[] chiBuffer;
362 delete[] stripped;
363}
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
BOOL WINAPI GetConsoleScreenBufferInfo(IN HANDLE hConsoleOutput, OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo)
int get_status_bg() const
int get_status_fg() const
int get_scroll_fg() const
int get_scroll_bg() const
GLint GLint GLint GLint GLint x
GLdouble GLdouble GLdouble r
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 GLint GLint j
_Check_return_ _CRTIMP int __cdecl iscntrl(_In_ int _C)
#define memcpy(s1, s2, n)
struct task_struct * current
static CONSOLE_SCREEN_BUFFER_INFO ConsoleInfo
void saveScreen(CHAR_INFO *chiBuffer)
void restoreScreen(CHAR_INFO *chiBuffer)
#define STD_OUTPUT_HANDLE