Chaosforge Forum

Coding => FPC Valkyrie => Topic started by: konijn on March 14, 2007, 11:01

Title: Minor inconsistency for different screensizes ?
Post by: konijn on March 14, 2007, 11:01
Hmm,

did I mention that I can get prolific and drive people nuts ;)

Anyways
Code: (delphi) [Select]
,
vtextut.pas:  if Sub   = '' then Output.DrawString(3,25,LightGray,'@BArrows, PgUp, PgDown, Home, End, Escape')
vtextut.pas:                else Output.DrawString(3,25,LightGray,Sub);
vtextut.pas:  if Sub   = '' then Output.DrawString(3,25,LightGray,'@BPress <Enter> or <Escape>...')
vtextut.pas:                else Output.DrawString(3,25,LightGray,Sub);

I modded Valkyrie to work with 50 lines and grep told me that these lines should not use 25 but Output.ScreenSizeY instead ;)

He Who Sheds Light,
T.

Edit : use "delphi" syntax highliting, I modded it so it looks fine on the forum
Title: Re: Minor inconsistency for different screensizes ?
Post by: Kornel Kisielewicz on March 14, 2007, 14:24
Yeah, I never ever use other screen sizes, so I tend to forget about them :). To be honest I am surprised it works with other screen sizes :D
Title: Re: Minor inconsistency for different screensizes ?
Post by: konijn on March 15, 2007, 05:47
Yeah, I never ever use other screen sizes, so I tend to forget about them :). To be honest I am surprised it works with other screen sizes :D

It works perfectly on 80*50 ;)

He Who Sheds Light,
T.