Time for an 2014 update…

This commit is contained in:
Ingy döt Net 2014-01-17 05:32:22 +00:00
parent 372c577f83
commit 09687c4926
2520 changed files with 34227 additions and 7318 deletions

View file

@ -0,0 +1,5 @@
browser Browser{};
bvh int = browser.getViewportHeight();
bvw int = browser.getViewportWidth();
SysLib.writeStdout("ViewportHeight: " + bvh);
SysLib.writeStdout("ViewportWidth: " + bvw);

View file

@ -0,0 +1,4 @@
#INCLUDE <Include\Windows.inc>
ShowWindow(ME, SW_MAXIMIZE)
BEGIN EVENTS
END EVENTS

View file

@ -0,0 +1,15 @@
#APPTYPE CONSOLE
#INCLUDE <Include\Windows.inc>
TYPE RECT
%Left
%Top
%Right
%Bottom
END TYPE
DIM rc AS RECT
SystemParametersInfo(SPI_GETWORKAREA, 0, @rc, 0)
PRINT "width = ", rc.Right - rc.Left, ", height = ", rc.Bottom - rc.Top
PAUSE

View file

@ -0,0 +1,2 @@
FMain.Maximized = True
FMain.Visible = False ' The form can be invisible

View file

@ -0,0 +1,7 @@
PUBLIC SUB _new()
END
PUBLIC SUB Form_Open()
END

View file

@ -0,0 +1,3 @@
PUBLIC SUB Form_Resize()
PRINT "The maximum window size that can be used without scrolling is "; FMain.Width; " x "; FMain.Height
END