Inventory Window

version 6 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - undoing Simple Graphics

    the graphics window construction rule is not listed in the when play begins rules.
    the default removing reference to picwin rule is not listed in the glulx zeroing-reference rules.
    the default choosing picwin rule is not listed in the glulx resetting-windows rules.
    the default arranging behavior rule is not listed in the glulx arranging rules.
    the default redrawing behavior rule is not listed in the glulx redrawing rules.
    the automatic redrawing window rule is not listed in the glulx object-updating rules.

    To decide which g-window-position is the newpos of (g - glulx window position):
        if g is g-left, decide on g-placeleft;
        if g is g-right, decide on g-placeright;
        if g is g-above, decide on g-placeabove;
        if g is g-below, decide on g-placebelow;

    Before constructing when pending g-window is the graphics-window:
        if not using flexible window-style definitions option begin;
        now the position of the graphics-window is the newpos of graphics window position;
        if the graphics window proportion is greater than zero begin;
            now the measurement of the graphics-window is the graphics window proportion;
            now the scale method of the graphics-window is g-proportional;
        otherwise;
            now the measurement of the graphics-window is the graphics window pixel count;
            now the scale method of the graphics-window is g-fixed-size;
        end if;
        end if.