From be0a10fa37c38f2f11665dc0ee8db8c9f6113088 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:38:46 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=82=E3=81=9F=E3=81=97=E3=82=92=E8=AA=AD?= =?UTF-8?q?=E3=82=93=E3=81=A7=E3=81=87=EF=BD=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e0149ca --- /dev/null +++ b/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 ... +```