Files
quip/README.md

35 lines
713 B
Markdown
Raw Normal View History

2025-11-01 15:54:37 +00:00
# Quip
Quip is a UI library that wraps around SDL3.
## Building and Installing
First, ensure you have SDL3, SDL3_ttf, and Noto fonts installed.
On Arch Linux:
```shell
paru -S sdl3 sdl3_ttf noto-fonts
```
The following commands will build and run Quip on your system. It will be installed to /usr/local/lib and /usr/local/include.
```shell
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
sudo cmake --install build
```
## Quickstart
```c++
#include <quip.h>
int main() {
Quip::Window window("Quip Window", 800, 600);
window.addChild("textLabel", Quip::Widget::TextLabel("Hello from Quip!", 10, 10));
return window.run();
}
```
Documentation is provided in the repository wiki.