Home
last modified time | relevance | path

Searched refs:CursorPosition (Results 1 – 22 of 22) sorted by relevance

/reactos/win32ss/user/winsrv/consrv/frontends/
H A Dterminal.c485 Buff->CursorPosition.Y--; in ConioNextLine()
560 if (Buff->CursorPosition.X == 0 && Buff->CursorPosition.Y == 0) in ConioWriteConsole()
575 Ptr = ConioCoordToPointer(Buff, Buff->CursorPosition.X, Buff->CursorPosition.Y); in ConioWriteConsole()
586 if (Buff->CursorPosition.X == 0 && Buff->CursorPosition.Y == 0) in ConioWriteConsole()
601 Ptr = ConioCoordToPointer(Buff, Buff->CursorPosition.X, Buff->CursorPosition.Y); in ConioWriteConsole()
617 Ptr = ConioCoordToPointer(Buff, Buff->CursorPosition.X, Buff->CursorPosition.Y); in ConioWriteConsole()
634 Ptr = ConioCoordToPointer(Buff, Buff->CursorPosition.X, Buff->CursorPosition.Y); in ConioWriteConsole()
738 Ptr = ConioCoordToPointer(Buff, Buff->CursorPosition.X, Buff->CursorPosition.Y); in ConioWriteConsole()
758 Ptr = ConioCoordToPointer(Buff, Buff->CursorPosition.X, Buff->CursorPosition.Y); in ConioWriteConsole()
775 Ptr = ConioCoordToPointer(Buff, Buff->CursorPosition.X, Buff->CursorPosition.Y); in ConioWriteConsole()
[all …]
H A Dinput.c144 … if (Console->ActiveBuffer->CursorPosition.Y != Console->ActiveBuffer->ScreenBufferSize.Y - 1) in ConioProcessKey()
149 Console->ActiveBuffer->CursorPosition.Y++; in ConioProcessKey()
155 if (Console->ActiveBuffer->CursorPosition.Y != 0) in ConioProcessKey()
159 Console->ActiveBuffer->CursorPosition.Y--; in ConioProcessKey()
/reactos/boot/freeldr/freeldr/arch/i386/pc98/
H A Dpc98cons.c20 static USHORT CursorPosition = 0; variable
28 if (CursorPosition >= TextCols * TextLines) in Pc98ConsPutChar()
34 CursorPosition -= TextCols; in Pc98ConsPutChar()
39 if (CursorPosition % TextCols != 0) in Pc98ConsPutChar()
40 CursorPosition += TextCols - (CursorPosition % TextCols); in Pc98ConsPutChar()
59 *(PUSHORT)(VramText + CursorPosition * TEXT_CHAR_SIZE) = Ch; in Pc98ConsPutChar()
60 ++CursorPosition; in Pc98ConsPutChar()
/reactos/win32ss/drivers/miniport/pc98vid/
H A Dhardware.c89 CSRWPARAM CursorPosition; in Pc98VidSetCurrentMode() local
168 CursorPosition.CursorAddress = 0; in Pc98VidSetCurrentMode()
169 CursorPosition.DotAddress = 0; in Pc98VidSetCurrentMode()
171 WRITE_GDC_CSRW((PUCHAR)GDC1_IO_o_PARAM, &CursorPosition); in Pc98VidSetCurrentMode()
219 CursorPosition.CursorAddress = 0; in Pc98VidSetCurrentMode()
220 CursorPosition.DotAddress = 0; in Pc98VidSetCurrentMode()
222 WRITE_GDC_CSRW((PUCHAR)GDC2_IO_o_PARAM, &CursorPosition); in Pc98VidSetCurrentMode()
/reactos/drivers/base/bootvid/i386/pc98/
H A Dbootvid.c81 CSRWPARAM CursorPosition; in InitializeDisplay() local
153 CursorPosition.CursorAddress = 0; in InitializeDisplay()
154 CursorPosition.DotAddress = 0; in InitializeDisplay()
156 WRITE_GDC_CSRW((PUCHAR)GDC1_IO_o_PARAM, &CursorPosition); in InitializeDisplay()
211 CursorPosition.CursorAddress = 0; in InitializeDisplay()
212 CursorPosition.DotAddress = 0; in InitializeDisplay()
214 WRITE_GDC_CSRW((PUCHAR)GDC2_IO_o_PARAM, &CursorPosition); in InitializeDisplay()
/reactos/win32ss/user/winsrv/consrv/condrv/
H A Dtext.c113 …for (NewBuffer->CursorPosition.Y = 0 ; NewBuffer->CursorPosition.Y < NewBuffer->ScreenBufferSize.Y… in TEXTMODE_BUFFER_Initialize()
117 NewBuffer->CursorPosition.X = NewBuffer->CursorPosition.Y = 0; in TEXTMODE_BUFFER_Initialize()
153 PCHAR_INFO Ptr = ConioCoordToPointer(Buff, 0, Buff->CursorPosition.Y); in ClearLineBuffer()
468 ScreenBuffer->CursorPosition.X = min(ScreenBuffer->CursorPosition.X, Size.X - 1); in ConioResizeBuffer()
469 ScreenBuffer->CursorPosition.Y = min(ScreenBuffer->CursorPosition.Y, Size.Y - 1); in ConioResizeBuffer()
1383 OUT PCOORD CursorPosition, in ConDrvGetConsoleScreenBufferInfo() argument
1392 CursorPosition == NULL || ViewOrigin == NULL || ViewSize == NULL || in ConDrvGetConsoleScreenBufferInfo()
1402 *CursorPosition = Buffer->CursorPosition; in ConDrvGetConsoleScreenBufferInfo()
H A Dconoutput.c336 OldCursorX = Buffer->CursorPosition.X; in ConDrvSetConsoleCursorPosition()
337 OldCursorY = Buffer->CursorPosition.Y; in ConDrvSetConsoleCursorPosition()
338 Buffer->CursorPosition = *Position; in ConDrvSetConsoleCursorPosition()
H A Dgraphics.c224 NewBuffer->CursorPosition.X = NewBuffer->CursorPosition.Y = 0; in GRAPHICS_BUFFER_Initialize()
/reactos/win32ss/user/winsrv/consrv/
H A Dlineinput.c44 SHORT OldCursorX = Buffer->CursorPosition.X; in LineInputSetPos()
45 SHORT OldCursorY = Buffer->CursorPosition.Y; in LineInputSetPos()
54 Buffer->CursorPosition.X = XY % Buffer->ScreenBufferSize.X; in LineInputSetPos()
55 Buffer->CursorPosition.Y = XY / Buffer->ScreenBufferSize.X; in LineInputSetPos()
H A Dconoutput.c929 OUT PCOORD CursorPosition,
952 &ScreenBufferInfoRequest->CursorPosition, in CON_API()
/reactos/win32ss/user/winsrv/consrv/frontends/gui/
H A Dconwnd.c340 GuiData->dwSelectionCursor.Y = ActiveBuffer->CursorPosition.Y; in SelectAll()
1332 InvalidateCell(GuiData, Buff->CursorPosition.X, Buff->CursorPosition.Y); in OnTimer()
1336 if ((GuiData->OldCursor.x != Buff->CursorPosition.X) || in OnTimer()
1337 (GuiData->OldCursor.y != Buff->CursorPosition.Y)) in OnTimer()
1352 if ((Buff->CursorPosition.X < Buff->ViewOrigin.X) || in OnTimer()
1356 if (Buff->CursorPosition.X >= Buff->ViewSize.X) in OnTimer()
1357 NewScrollX = Buff->CursorPosition.X - Buff->ViewSize.X + 1; in OnTimer()
1369 if ((Buff->CursorPosition.Y < Buff->ViewOrigin.Y) || in OnTimer()
1373 if (Buff->CursorPosition.Y >= Buff->ViewSize.Y) in OnTimer()
1412 GuiData->OldCursor.x = Buff->CursorPosition.X; in OnTimer()
[all …]
H A Dtext.c382 CursorX = Buffer->CursorPosition.X; in GuiPaintCaret()
383 CursorY = Buffer->CursorPosition.Y; in GuiPaintCaret()
389 …Attribute = ConioCoordToPointer(Buffer, Buffer->CursorPosition.X, Buffer->CursorPosition.Y)->Attri… in GuiPaintCaret()
H A Dguiterm.c687 CursorEndX = Buff->CursorPosition.X; in GuiWriteStream()
688 CursorEndY = Buff->CursorPosition.Y; in GuiWriteStream()
723 InvalidateCell(GuiData, Buff->CursorPosition.X, Buff->CursorPosition.Y); in GuiSetCursorInfo()
745 InvalidateCell(GuiData, Buff->CursorPosition.X, Buff->CursorPosition.Y); in GuiSetScreenInfo()
/reactos/subsystems/mvdm/ntvdm/bios/
H A Dvidbios.c2312 *Row = HIBYTE(Bda->CursorPosition[Page]); in VidBiosGetCursorPosition()
2313 *Column = LOBYTE(Bda->CursorPosition[Page]); in VidBiosGetCursorPosition()
2319 Bda->CursorPosition[Page] = MAKEWORD(Column, Row); in VidBiosSetCursorPosition()
2990 setDX(Bda->CursorPosition[Page]); in VidBiosVideoService()
3039 (HIBYTE(Bda->CursorPosition[Page]) * Bda->ScreenColumns + in VidBiosVideoService()
3040 LOBYTE(Bda->CursorPosition[Page])) * 2; in VidBiosVideoService()
3857 RtlCopyMemory(Table->CursorPosition, Bda->CursorPosition, sizeof(Bda->CursorPosition)); in VidBiosVideoService()
H A Dvidbios.h75 WORD CursorPosition[BIOS_MAX_PAGES]; // 0x0b member
H A Dbios.h63 WORD CursorPosition[BIOS_MAX_PAGES]; // 0x50 member
/reactos/win32ss/drivers/miniport/vga_new/
H A Dvga.h406 VIDEO_CURSOR_POSITION CursorPosition; // current cursor position member
H A Dvga.c534 hwDeviceExtension->CursorPosition.Column = 0; in VgaInitialize()
535 hwDeviceExtension->CursorPosition.Row = 0; in VgaInitialize()
/reactos/win32ss/user/winsrv/consrv/frontends/tui/
H A Dtuiterm.c873 ConsoleDraw->CursorX = Buff->CursorPosition.X; in TuiDrawRegion()
874 ConsoleDraw->CursorY = Buff->CursorPosition.Y; in TuiDrawRegion()
970 Info.dwCursorPosition = Buff->CursorPosition; in TuiSetScreenInfo()
/reactos/win32ss/user/winsrv/consrv/include/
H A Dconio.h71 COORD CursorPosition; /* Current cursor position */ member
/reactos/sdk/include/reactos/subsys/win/
H A Dconmsg.h313 COORD CursorPosition; member
/reactos/dll/win32/kernel32/client/console/
H A Dconsole.c1522 lpConsoleScreenBufferInfo->dwCursorPosition = ScreenBufferInfoRequest->CursorPosition; in GetConsoleScreenBufferInfo()