Project

CUI

A lightweight UI library written in C

Overview

CUI is a lightweight C user-interface library built on SDL, co-developed by two high school students. It aims to provide simple, easy-to-use UI components so developers can quickly build graphical applications while sharpening their backend skills.

Architecture

1. Display components

Label, Image, Rect/Panel, Divider

2. Interactive components

Button, IconButton, Toggle, Checkbox, Slider, ProgressBar

3. Text input

TextBox, TextArea, PasswordBox

4. Layout containers

Ctnr, VBox, HBox, Grid, ScrollView

5. High-level components

Window/Modal, Menu, Dropdown, Tooltip, MessageBox