FANDOM


List of Window ManagersEdit

Standard Window Manager InterfaceEdit

  • 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, except starting at 0)
  1. Starting X as CHR$()
  2. Starting Y as CHR$()
  3. Ending X as CHR$()
  4. Ending Y as CHR$()
  5. Window title
  6. Event handler (GOSUBbed when window is triggered, dependent on WM but should be click or touch)
  7. Initializer (GOSUBbed if element 7 is true)
  8. Needs Initializing (True to init, false to not, cancel to close the window. CHR$())
It is the app's responsibility to set #7 (from 0, Needs Initializing) if needed.
  • WM_WINDOWCOUNT
This is the number of windows in existence.
  • WM_WINDOWMAX
  • WM_KEYS
DO NOT CHANGE THIS! The WM uses this to show whether the keys or up or not.
This is the maximum number of windows. See the X in WM_WINDOWS$? That's it.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.