static void setupGUIIntroWindow(PApplet applet, ModalGUI gui) {
float windowWidth = SETTINGS.GUIDE_WINDOW_WIDTH;
float windowHeight = SETTINGS.GUIDE_WINDOW_HEIGHT;
GUIWindow window = new GUIWindow(0f, 0f, windowWidth, windowHeight, gui);
window.setLightboxed(true);
window.centre();
gui.add(window);
float posX = 100;
float posY = 100;
float spacingY = 80;
GUIImage guiImg;
guiImg = new GUIImage(30, 50, "gui/WINDOW_INTRO_TITLE.png", gui);
window.add(guiImg);
GUIButton button;
button = new GUIToggle(400, 50, "gui/WINDOW_INTRO_NEW_CHAIR-03.png",
gui);
button.addActionListener(GLOBAL.uiTools, "deleteAllChairs",
UITools.LEG_TOOL);
button.addActionListener(GLOBAL.uiTools, "setDisplaypanelAsShown",
UITools.LEG_TOOL);
button.addActionListener(GLOBAL.uiTools.SketchTools, "selectTool",
SketchTools.DRAW_TOOL);
button.addActionListener(window, "close", UITools.LEG_TOOL);
window.add(button);
posY += spacingY;
button = new GUIToggle(400, 200, "gui/WINDOW_INTRO_LIBRARY.png", gui);
button.addActionListener(window, "close", UITools.LEG_TOOL);
button.addActionListener(GLOBAL.uiTools, "setDisplaypanelAsShown",
UITools.LEG_TOOL);
button.addActionListener(GLOBAL.uiTools.SketchTools, "selectTool",
SketchTools.SELECT_TOOL);
button.addActionListener(GLOBAL.uiTools, "loadTemplateChair",
UITools.LEG_TOOL);
window.add(button);
posY += spacingY;
}