Skip to content

GUI Guide

Peter Robinson edited this page Jan 14, 2019 · 15 revisions

Introduction

The GUI system in T2D allows you build dialogs with controls to handle things like menus and in-game option screens. The system has been handed down from T3D and remains very similar to its roots. However, there are a few differences to using the GUI system in T2D. Most notably, it's easy to build your own user interfaces out of sprites. Doing so has some advantages, but a basic knowledge of the GUI system is still necessary to setting up a SceneWindow. Because this topic is so expansive, we will start with an overview of how the GUI system works and them move on to the details of each control and how it can be used.

Please note: This guide is a work in progress. The GUI system is large and documenting it will take us some time. Please be patient.

Overview

Coming Soon!

List of Controls

This list is also a work in progress. These are grouped with similar controls together. The most important controls come first.

GuiControl

GuiControlProfile

SceneWindow

GuiButtonCtrl

GuiButtonBaseCtrl

GuiBitmapButtonCtrl

GuiBorderButtonCtrl

GuiToolboxButtonCtrl

GuiIconButtonCtrl

GuiCheckBoxCtrl

GuiRadioCtrl

GuiImageButtonCtrl

GuiSceneObjectCtrl

GuiSpriteCtrl

GuiScrollCtrl

GuiAutoScrollCtrl

GuiCtrlArrayCtrl

GuiDragAndDropCtrl

GuiDynamicCtrlArrayCtrl

GuiFormCtrl

GuiFrameCtrl

GuiGridCtrl

GuiPaneCtrl

GuiRolloutCtrl

GuiStackCtrl

GuiTabBookCtrl

GuiTabPageCtrl

GuiWindowCtrl

GuiControlListPopup

GuiDebugger

GuiEditCtrl

GuiFilterCtrl

GuiGraphCtrl

GuiImageList

GuiMenuBar

GuiSeparatorCtrl

GuiArrayCtrl

GuiBackgroundCtrl

GuiBitmapBorderCtrl

GuiBitmapCtrl

GuiFadeinBitmapCtrl

GuiBubbleTextCtrl

GuiCanvas

GuiColorPicker

GuiConsole

GuiConsoleEditCtrl

GuiConsoleTextCtrl

GuiInputCtrl

GuiListBoxCtrl

GuiMessageVectorCtrl

GuiMLTextCtrl

GuiMLTextEditCtrl

GuiMouseEventCtrl

GuiPopUpCtrl

GuiPopUpCtrlEx

GuiProgressCtrl

GuiScriptNotifyCtrl

GuiSliderCtrl

GuiTextCtrl

GuiTextEditCtrl

GuiTextEditSliderCtrl

GuiTextListCtrl

GuiTickCtrl

GuiTreeViewCtrl

Clone this wiki locally