[Pas2js] TJSScreen missing definition
Michael Van Canneyt
michael at freepascal.org
Wed Oct 31 12:50:20 CET 2018
Thank you.
Added in SVN, also added pixelDepth.
Michael.
On Wed, 31 Oct 2018, warleyalex via Pas2js wrote:
> the correct should be:
>
> TJSScreen = class external name 'screen' (TJSObject)
> private
> FavailHeight: Integer; external name 'availHeight';
> FavailWidth: Integer; external name 'availWidth';
> FcolorDepth: Integer; external name 'colorDepth';
> Fheight: Integer; external name 'height';
> Fwidth: Integer; external name 'width';
> public
> { Properties declarations }
> property availHeight: Integer read FavailHeight;
> property availWidth: Integer read FavailWidth;
> property colorDepth: Integer read FcolorDepth;
> property height: Integer read Fheight;
> property width: Integer read Fwidth;
> end;
>
>
>
> --
> Sent from: http://pas2js.38893.n8.nabble.com/
> _______________________________________________
> Pas2js maillist - Pas2js at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
More information about the Pas2js
mailing list