Changeset 12073


Ignore:
Timestamp:
Oct 27, 1999, 9:47:39 PM (26 years ago)
Author:
phaller
Message:

Fix: console cursor fixes

Location:
tags/trunk/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/kernel32/conbuffer.cpp

    r12072 r12073  
    1 /* $Id: conbuffer.cpp,v 1.5 1999-10-27 18:36:33 phaller Exp $ */
     1/* $Id: conbuffer.cpp,v 1.6 1999-10-27 19:47:38 phaller Exp $ */
    22
    33/*
     
    157157                                    ENABLE_WRAP_AT_EOL_OUTPUT;
    158158
    159     pConsoleBuffer->CursorInfo.dwSize   = 2;                  /* 2 scanlines */
     159    pConsoleBuffer->CursorInfo.dwSize   = 20;             /* 20% cell height */
    160160    pConsoleBuffer->CursorInfo.bVisible = TRUE;
    161161  }
  • TabularUnified tags/trunk/src/kernel32/console.cpp

    r12072 r12073  
    1 /* $Id: console.cpp,v 1.16 1999-10-27 18:36:35 phaller Exp $ */
     1/* $Id: console.cpp,v 1.17 1999-10-27 19:47:39 phaller Exp $ */
    22
    33/*
     
    20332033  rclCursor.xLeft   = ConsoleGlobals.sCellCX * pConsoleBuffer->coordCursorPosition.X;
    20342034  rclCursor.xRight  = rclCursor.xLeft + ConsoleGlobals.sCellCX;
     2035
     2036  //@@@PH top calculation is wrong!
    20352037  rclCursor.yBottom = rclWindow.yTop
    20362038                      - ConsoleGlobals.sCellCY * (pConsoleBuffer->coordCursorPosition.Y + 1);
Note: See TracChangeset for help on using the changeset viewer.