In Inform 7, how do you create a text window using Flexible Windows by Jon Ingold?

0 votes
105 views
asked May 21 in Authoring by bg (692 points)

The Flexible Windows extension is here.

Would someone please give an example of how to create a text window to the left or right of the main window? I'd also like to know how to show and hide the window during play.

1 Answer

+1 vote
answered May 21 by Dannii (329 points)
selected May 21 by bg
 
Best answer
The side window is a g-window spawned by the main window.
The position of the side window is g-placeright.
The scale method of the side window is g-proportional.
The measurement of the side window is 33.

Toggling the side window is an action.
Understand "side window" as toggling the side window.

Carry out toggling the side window:
    if the side window is g-present:
        close the side window;
    otherwise:
        open the side window;
This site is now closed.
As of 1st November 2015, this site is a read-only archive. For more information see the intfiction forum post

Welcome to IF Answers, a site for questions and answers about Interactive Fiction.

Technical questions about interactive fiction development tools such as Inform, Twine, Quest, QuestKit, Squiffy, Adrift, TADS etc. are all on-topic here.

Non-technical questions about interactive fiction are also on-topic. These questions could be about general IF design, specific games, entering the IF Comp etc.
...