From 432a81c997fcf05787dbe570582749a27e00eaa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Mon, 19 Jan 2026 00:39:30 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=A1=E3=82=93=E3=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/README.md diff --git a/include/README.md b/include/README.md new file mode 100644 index 0000000..e0149ca --- /dev/null +++ b/include/README.md @@ -0,0 +1,18 @@ +# SuwaUI + +C言語、C++、Zigで使えるGUIライブラリ(現在X11のみ)。\ +このライブラリは1つのヘッダーのみで使えます。 + +A GUI library for C, C++, and Zig (currently X11 only). +This library can be used with just one header. + +## 使い方 | Usage +### ウィンドウのみ | Only window +```sh +cc -DSUWAUI_IMPLEMENTS_SUWAWINDOW *.c ... +``` + +### ウィンドウ・ボタン・ラベル | Window・Button・Label +```sh +cc -DSUWAUI_IMPLEMENTS_SUWAWINDOW -DSUWAUI_IMPLEMENTS_SUWALABEL -DSUWAUI_IMPLEMENTS_SUWABUTTON *.c ... +```