ANG Project/Window Manager

List of Window Managers

 * Petit Window Manager (in progress) by Malltog

Standard Window Manager Interface

 * GOSUB @WM_INIT
 * Initializes the Window Manager. Call on start.


 * GOSUB @WM_LOOP
 * This should not loop. Instead, call this once per loop cycle.


 * GOSUB @WM_SHOWKEYS
 * This should be used instead of PNLTYPE "KY*" in case the WM is on the touch screen.


 * GOSUB @WM_HIDEKEYS
 * This should be used instead of PNLTYPE "OFF" in case the WM is on the touch screen.


 * WM_WINDOWS$(x, 8)
 * This array stores information about the windows (like this:)


 * Starting X as CHR$
 * Starting Y as CHR$
 * Ending X as CHR$
 * Ending Y as CHR$
 * Window title
 * Event handler (GOSUBbed when window is triggered, dependent on WM but should be click or touch)
 * Initializer (GOSUBbed if element 7 is true)
 * Needs Initializing (True to init, false to not, cancel to close the window. CHR$)
 * WM_WINDOWCOUNT
 * This is the number of windows in existence.


 * WM_WINDOWMAX
 * This is the maximum number of windows. See the X in WM_WINDOWS$? That's it.