Add SDK.md for NeoUI C/C++/Yabasic SDK and update documentation

This commit is contained in:
Luxferre committed 2026-10-26 19:20:27 +02:00
1 parent c8b90640fb
commit 4264877868
5 files changed
+544 -6

No files matched your search

+1 -1
View File
@@ -43,4 +43,4 @@ All cross-compilation scripts run inside rootless Docker (`alpine:3.24` `armv7`
- **No Emojis**: Never use emojis in source code, UI strings, logs, or commit messages (use Nerd Font PUA codepoints defined in `phone_data.h` / `dmenu.c` for UI icons).
- **Unified Theming**: Never hardcode UI colors or font sizes in `dwm`, `dmenu`, `st`, or any DWM plugin. Read colors and proportional font sizes from `PluginTheme` (`src/dwm-plugins/theme.h`) / `.Xresources` (`theme.*`), and handle `RELOAD_THEME` on the plugin FIFO.
- **Zero-Lag Plugin Model**: Phone UI apps must run as preloaded resident daemons (`--preload`) guarded by `/tmp/dwm_plugin_<name>.lock`, sleeping at 0% CPU on `poll()` over `ConnectionNumber(dpy)` and `/tmp/dwm_plugin_<name>.fifo`, and rendering into an offscreen `Pixmap` (`240x296` at `X=0, Y=24`) copied with `XCopyArea` to prevent flicker.
- **Documentation**: Keep `README.md` and `MANUAL.md` synchronized with any new user-facing features or keybindings, and do not leave third-party `.md` files inside `src/` or `edl/`.
- **Documentation**: Keep `README.md`, `MANUAL.md`, and `SDK.md` synchronized with any new user-facing features, SDK functions, or keybindings, and do not leave third-party `.md` files inside `src/` or `edl/`.