* * *

Author Topic: RTL: Video  (Read 155 times)

joho

  • Jr. Member
  • **
  • Posts: 50
  • Joaquim Homrighausen
    • ~/JoHo
RTL: Video
« on: September 13, 2017, 11:03:27 pm »

program testh;

uses
  video;

begin
  InitVideo;
  Writeln (ScreenHeight);
  Writeln (ScreenWidth);
end.


Outputs 56 and 132. In a CMD window (Win10Pro64) that I have defined as 132x50. Why?
If I change the window size to 80x43, I'll get 80 width, and 56 height, why?

Doing a GetVideoMode (), I get the same value in "Row".

(FPC 3.0.2)

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus