Searched refs:ConsoleDraw (Results 1 – 3 of 3) sorted by relevance
567 PCONSOLE_DRAW ConsoleDraw; in ScreenDeviceControl()574 /* FIXME: remove */ { ConsoleDraw->X++; ConsoleDraw->CursorX++; } in ScreenDeviceControl()575 /* FIXME: remove */ { ConsoleDraw->Y++; ConsoleDraw->CursorY++; } in ScreenDeviceControl()577 ConsoleDraw->X, ConsoleDraw->Y, in ScreenDeviceControl()578 ConsoleDraw->SizeX, ConsoleDraw->SizeY); in ScreenDeviceControl()583 ASSERT(ConsoleDraw->X + ConsoleDraw->SizeX >= 1); in ScreenDeviceControl()584 ASSERT(ConsoleDraw->Y + ConsoleDraw->SizeY >= 1); in ScreenDeviceControl()585 ASSERT(ConsoleDraw->X + ConsoleDraw->SizeX - 1 <= DeviceExtension->Columns); in ScreenDeviceControl()586 ASSERT(ConsoleDraw->Y + ConsoleDraw->SizeY - 1 <= DeviceExtension->Rows); in ScreenDeviceControl()593 if (ConsoleDraw->X == 1 in ScreenDeviceControl()[all …]
854 PCONSOLE_DRAW ConsoleDraw; in TuiDrawRegion() local863 ConsoleDraw = ConsoleAllocHeap(0, ConsoleDrawSize); in TuiDrawRegion()864 if (NULL == ConsoleDraw) in TuiDrawRegion()869 ConsoleDraw->X = Region->Left; in TuiDrawRegion()870 ConsoleDraw->Y = Region->Top; in TuiDrawRegion()871 ConsoleDraw->SizeX = ConioRectWidth(Region); in TuiDrawRegion()872 ConsoleDraw->SizeY = ConioRectHeight(Region); in TuiDrawRegion()873 ConsoleDraw->CursorX = Buff->CursorPosition.X; in TuiDrawRegion()874 ConsoleDraw->CursorY = Buff->CursorPosition.Y; in TuiDrawRegion()882 ConsoleFreeHeap(ConsoleDraw); in TuiDrawRegion()[all …]
1425 CONSOLE_DRAW ConsoleDraw; in ScrIoControl() local1444 ConsoleDraw = *pConsoleDraw; in ScrIoControl()1448 < ((ULONG)ConsoleDraw.SizeX * (ULONG)ConsoleDraw.SizeY)) in ScrIoControl()1457 … DeviceExtension->CursorX = min(max(ConsoleDraw.CursorX, 0), DeviceExtension->Columns - 1); in ScrIoControl()1465 if ( ConsoleDraw.X < 0 || ConsoleDraw.X >= DeviceExtension->Columns || in ScrIoControl()1466 ConsoleDraw.Y < 0 || ConsoleDraw.Y >= DeviceExtension->Rows ) in ScrIoControl()1471 if ( ConsoleDraw.SizeX > DeviceExtension->Columns - ConsoleDraw.X || in ScrIoControl()1472 ConsoleDraw.SizeY > DeviceExtension->Rows - ConsoleDraw.Y ) in ScrIoControl()1481 SrcDelta = ConsoleDraw.SizeX * 2; in ScrIoControl()1483 (ConsoleDraw.X + ConsoleDraw.Y * DeviceExtension->Columns) * 2; in ScrIoControl()[all …]