Skip to content

GUI Configurator

App: apps/gui_configurator/

A settings panel that drives the Window API: quality buttons (Low/Medium/High), fullscreen toggle, window size (pixel width/height with “Apply size”), design size (viewport width/height), and scale mode (stretch / letterbox / integer) with “Apply design”. Also shows current design and window aspect ratios.

Terminal window
% ./plume3d gui_configurator

or

Terminal window
% ./../plume3d .
  • Quality — Three buttons set a string (Low/Medium/High) and log; you can hook these to your own settings.
  • Fullscreen — Button toggles Window.setFullscreen(!Window.getFullscreen()).
  • Window size — Two Gui.editString fields for width/height; “Apply size” parses with Num.fromString and calls Window.setSize(w, h).
  • Design size — Two edit fields for design width/height; “Apply design” calls Window.setDesignSize(w, h, Window.getScaleMode()).
  • Scale mode — Three buttons call Window.setScaleMode("stretch"), "letterbox", or "integer".
  • Displays current design and window aspect ratios.
  • GuibeginWindow, layoutRowDynamic, label, buttonLabel, editString, endWindow.
  • WindowgetWidth, getHeight, getFullscreen, setFullscreen, setSize, getDesignWidth, getDesignHeight, getScaleMode, setScaleMode, setDesignSize.
  • Loggerinfo.