Live demos

The examples below are the AppCUI examples from the Examples folder, compiled to WebAssembly and running in your browser through the browser frontend (see Frontends (terminals)). Each one is the same C++ code that runs in the Windows console, in a terminal or in an SDL window - only the frontend differs. Click inside a demo to give it the keyboard focus; close its last window to end it.

Controls

Demo

What it shows

Buttons

push buttons, hot keys, keyboard navigation

Checkboxes

check boxes and their states

Radioboxes

radio buttons grouped by id

TextField

single / multi-line text fields, read-only and syntax highlighted text, custom context menus

ComboBox

drop-down lists

ListView

sortable columns, column separators, item selection (US states)

TreeView

expandable hierarchies

Grid

a spreadsheet-like grid with cell selection

Property

a property list that edits the properties of an object

NumericSelector

numeric input with increment / decrement

ColorPicker

picking one of the 16 colors

KeySelector

capturing a key combination

TabControl

tabs on top, bottom, left or as a list

Splitter

resizable vertical / horizontal splitters

ToolTip

tool tips on hover

ProgressStatus

progress reporting for long operations

Windows, menus and dialogs

Demo

What it shows

MessageBox

notifications, errors, warnings and questions (modal dialogs)

FileDialog

open / save dialogs on the in-memory file system of the page, with Upload / Download to your machine

MenuBar

an application menu bar with sub-menus

ContextMenu

right-click menus

CommandBar

the command bar (shortcut keys) on the last line

WindowManager

the window manager dialog

WindowArrange

cascade, grid, vertical and horizontal window arrangements

ThemeEditor

editing the color theme live

Graphics and games

Demo

What it shows

CharacterTable

the characters AppCUI can display

UnicodeText

Unicode text rendering

Rectangles

custom drawing with lines and box characters

Logo

the AppCUI logo, drawn by an AppCUI application

Tetris

a game driven by the FPS mode (~30 updates per second)

Snake

another FPS-mode game

TicTacToe

a mouse-driven game