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 :doc:`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. .. The publishing workflow (.github/workflows/gh-pages.yml) compiles exactly the examples linked below as `demo/.html` and copies them next to this page: adding a link adds a demo. Controls -------- .. list-table:: :header-rows: 1 :widths: 25 75 * - 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 -------------------------- .. list-table:: :header-rows: 1 :widths: 25 75 * - 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 ------------------ .. list-table:: :header-rows: 1 :widths: 25 75 * - 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