277 delete[] pAttributes;
303 delete[] pAttributes;
362 unsigned long iFakeResult = cbString;
386 dwBufferCoord, &srWriteRegion);
395 int iFakeResult = cbString;
437 dwBufferCoord, &srWriteRegion);
480 unsigned long iFakeResult = cbString;
493 unsigned long temp = cbString;
517 if(
temp < cbString) {
543 unsigned long total = 0;
544 while(
total < cbString) {
635 if ( iStartRow == -1) iStartRow = 0;
638 if ( iEndRow == -1) {
658 COORD dwDestOrg = {srScrollWindow.
Left, srScrollWindow.
Top + bUp};
664 if(dwDestOrg.
Y >
CON_TOP + iEndRow) {
669 }
else if(dwDestOrg.
Y + (iEndRow-iStartRow+1) <
CON_TOP + iStartRow) {
674 }
else if(dwDestOrg.
Y <
CON_TOP + iStartRow) {
677 srScrollWindow.
Top -= bUp;
678 }
else if(dwDestOrg.
Y + (iEndRow-iStartRow+1) >
CON_TOP + iEndRow) {
680 srScrollWindow.
Bottom -= bUp;
684 0, dwDestOrg, &ciChar);
703 (
DWORD)(iEndRow-iStartRow+1), Coord, &dwWritten);
793 fill.Char.AsciiChar =
' ';
819 to.
X = (
SHORT)(actx + numchar);
822 fill.Char.AsciiChar =
' ';
851 to.
X = (
SHORT)(actx - numchar);
854 fill.Char.AsciiChar =
' ';
void deleteBuffer(CHAR_INFO *chiBuffer)
void SetBackground(unsigned char wAttrib)
void ClearBOScreen(char c=' ')
GLint GLint GLsizei width
BOOL WINAPI FillConsoleOutputAttribute(IN HANDLE hConsoleOutput, IN WORD wAttribute, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfAttrsWritten)
void ClearScreen(char c=' ')
void DeleteCharacter(int numchar)
TConsole(HANDLE hConsole)
int get_underline_fg() const
int get_term_width() const
unsigned long WriteCtrlString(const char *pszString, unsigned long cbString)
void ClearEOLine(char c=' ')
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
GLint GLint GLint GLint GLint x
void SetRawCursorPosition(int x, int y)
#define WriteConsoleOutput
GLfloat GLfloat GLfloat GLfloat h
BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleScreenBufferSize(HANDLE hConsoleOutput, COORD dwSize)
bool get_vt100_mode() const
unsigned long WriteString(const char *pszString, unsigned long cbString)
void saveScreen(CHAR_INFO *chiBuffer)
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
union _CHAR_INFO::@3238 Char
void InsertCharacter(int numchar)
bool get_preserve_colors() const
BOOL WINAPI SetConsoleCursorPosition(IN HANDLE hConsoleOutput, IN COORD dwCursorPosition)
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
void SetCursorSize(int pct)
BOOL WINAPI GetConsoleScreenBufferInfo(IN HANDLE hConsoleOutput, OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo)
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
BOOL WINAPI SetConsoleTextAttribute(IN HANDLE hConsoleOutput, IN WORD wAttributes)
void SetCursorPosition(int x, int y)
int get_underline_bg() const
void MoveCursorPosition(int x, int y)
BOOL WINAPI SetConsoleCursorInfo(IN HANDLE hConsoleOutput, IN const CONSOLE_CURSOR_INFO *lpConsoleCursorInfo)
unsigned long WriteStringFast(const char *pszString, unsigned long cbString)
_STLP_MOVE_TO_STD_NAMESPACE void fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val)
void SetForeground(unsigned char wAttrib)
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleOutputAttribute(IN HANDLE hConsoleOutput, OUT LPWORD lpAttribute, IN DWORD nLength, IN COORD dwReadCoord, OUT LPDWORD lpNumberOfAttrsRead)
void ScrollDown(int iStartRow, int iEndRow, int bUp)
int printit(const char *it)
void restoreScreen(CHAR_INFO *chiBuffer)
void ClearBOLine(char c=' ')
void ClearWindow(int start, int end, char c=' ')
void ClearEOScreen(char c=' ')
unsigned long WriteCtrlChar(char c)
int get_term_height() const
#define STD_OUTPUT_HANDLE
#define FillConsoleOutputCharacter
void SetWindowSize(int width, int height)
GLint GLint GLsizei GLsizei height
int get_normal_bg() const
#define ReadConsoleOutput
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
CONSOLE_SCREEN_BUFFER_INFO ConsoleInfo
#define ScrollConsoleScreenBuffer
unsigned long WriteText(const char *pszString, unsigned long cbString)
void SetExtendedMode(int iFunction, BOOL bEnable)
static CONSOLE_SCREEN_BUFFER_INFO ConsoleInfo
GLint GLint GLint GLint GLint GLint y
void InsertLine(int numlines)
int get_ulblink_bg() const
BOOL WINAPI Beep(IN DWORD dwFreq, IN DWORD dwDuration)
unsigned char wAttributes
int get_ulblink_fg() const
void SetScroll(int start, int end)
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputAttribute(IN HANDLE hConsoleOutput, IN CONST WORD *lpAttribute, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfAttrsWritten)
BOOL WINAPI SetConsoleWindowInfo(HANDLE hConsoleOutput, BOOL bAbsolute, CONST SMALL_RECT *lpConsoleWindow)
#define WriteConsoleOutputCharacter
void ClearLine(char c=' ')
int get_normal_fg() const
bool get_speaker_beep() const
static unsigned(__cdecl *hash_bstr)(bstr_t s)
_In_ DWORD _In_ DWORD _Out_writes_to_opt_ pcchString LPSTR pszString