Tool Open source

CUI

CUI is a dependency-free native UI component library for C99, developed by yappologistic. It provides functions for drawing components and handling input, while applications describe their screen and state again each frame; named options configure component behavior, and components return interaction results. The library includes controls, dialogs, tables, data grids, charts, code and tool panels, planning views, canvases, and AI-oriented interface components.

View repository Visit site Mentioned in 1 video ↓

Overview

CUI targets Windows through Win32, macOS through Cocoa, and Linux or BSD through X11, with SDL2 and GLFW backends for other environments. It renders through OpenGL or a software fallback, and can use a custom renderer; the same library is also compiled to WebAssembly for browser-based live documentation. It is built with CMake, supports GCC, Clang, MSVC, and MinGW, and is distributed under the MIT license. The README notes that it has no accessibility tree yet, and native Wayland and mobile platform layers are not currently provided.

What CUI is used for

1 use taken from transcripts — each links to the moment in the video.

  • A full UI component kit for plain C99 with no dependencies and about 150 ready-made components, running on Windows, macOS, and Linux through Win32, Cocoa, or X11, with rendering through OpenGL and a software fallback.

    unverified Github Awesome

Videos mentioning CUI

1 in the library.