Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
d1ada90
kit screens
ppmpreetham Nov 14, 2026
45e6e36
python screens
ppmpreetham Nov 14, 2026
2aadb36
lua screens
ppmpreetham Nov 14, 2026
192988f
d screens
ppmpreetham Nov 14, 2026
07ae8f4
web screens
ppmpreetham Nov 14, 2026
49f244e
screen docs
ppmpreetham Nov 14, 2026
d4fd43d
html radius
ppmpreetham Nov 15, 2026
a22ec99
theming docs
ppmpreetham Nov 15, 2026
9a8feb5
gpu targets
ppmpreetham Nov 15, 2026
cce9d0d
radius changelog
ppmpreetham Nov 15, 2026
8cfb7fb
readme badge
ppmpreetham Nov 15, 2026
149f03c
readme targets
ppmpreetham Nov 15, 2026
e35c892
anim test
ppmpreetham Nov 15, 2026
7879c90
android shell
ppmpreetham Nov 15, 2026
979a451
android docs
ppmpreetham Nov 15, 2026
2ff4950
android lua
ppmpreetham Nov 15, 2026
b7e843d
android window
ppmpreetham Nov 15, 2026
064d4cc
android rust
ppmpreetham Nov 15, 2026
ac3bd2a
android keyboard
ppmpreetham Nov 16, 2026
72121c2
control height
ppmpreetham Nov 16, 2026
d82a941
android fling
ppmpreetham Nov 16, 2026
73c9855
touch scroll
ppmpreetham Nov 16, 2026
657ac63
android javascript
ppmpreetham Nov 16, 2026
5f4acbc
android imgui
ppmpreetham Nov 16, 2026
0bac8b8
bui command
ppmpreetham Nov 16, 2026
96910fe
Revert "bui command"
ppmpreetham Nov 17, 2026
20cd552
merge main
ppmpreetham Nov 17, 2026
638aa70
screen identity
ppmpreetham Nov 17, 2026
3ee7540
android fixes
ppmpreetham Nov 17, 2026
1f4e76a
close safety
ppmpreetham Nov 17, 2026
a9a3c9a
python fixes
ppmpreetham Nov 17, 2026
1922395
docs fixes
ppmpreetham Nov 17, 2026
b33c930
docs examples
ppmpreetham Nov 17, 2026
1d63c7e
changelog entries
ppmpreetham Nov 17, 2026
d65bccd
kit core
ppmpreetham Nov 17, 2026
9334089
screen fixes
ppmpreetham Nov 17, 2026
7c031a1
cmake quote
ppmpreetham Nov 17, 2026
d6ca65c
rust screens
ppmpreetham Nov 17, 2026
02fa644
area ids
ppmpreetham Nov 17, 2026
2cac6fe
node ids
ppmpreetham Nov 17, 2026
a7a77ca
remove guard
ppmpreetham Nov 17, 2026
00ab7a4
rust stale
ppmpreetham Nov 17, 2026
f939664
scroll consume
ppmpreetham Nov 17, 2026
c000e82
screen restore
ppmpreetham Nov 17, 2026
c635255
line endings
ppmpreetham Nov 17, 2026
ce11dc4
focus hide
ppmpreetham Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ include `ui/`.)
| `gpu/` | The draw surface used by the toolkit (`GPU_*`, `imm*`) behind seam headers + a null backend that *records and forwards*: with a sink installed it emits screen-space primitives (`GPU_backend_sink.h`); without one it discards them. Theme colors reach the GPU layer through function-pointer hooks. | **Builds + tested** |
| `compat/` | Seam headers carrying upstream API names (`RNA_access.hh`, `BLF_api.hh`, …) with BUI-owned opaque types and stub implementations (`intern/bui_stubs.cc`). | **Builds** |
| `ui/` | The toolkit sources from `editors/interface`: interface.cc family, widgets, handlers, regions, view2d, views, textbox. Kept for reference and porting work; **not compiled by default** (`-DBUI_BUILD_UI=ON` builds it as `bui_ui`). `kit/` re-ports what it needs in C. | **Compiles + links** (opt-in) |
| `kit/` | Blender's UI as a retained-mode C runtime: node tree, uiLayout-style layout, `interface_handlers.cc` interaction rules, widget drawing ported from `interface_widgets.cc` (widget-base shader parameters rendered by `gpu/` raster), menus, color picker, views, editors; Tk-style pack/grid/place geometry managers, canvas display list, multi-line text area; UI undo/redo, Tab field traversal, vertical multi-drag, panel animation; Blender's file browser; images (`kit/intern/image`: Blender's imbuf design, one format table over Wuffs, libjpeg-turbo, libwebp and BUI's HDR/PNM/SVG readers in `kit/extern`, decode at the drawn size, a worker pool and a memory-budgeted cache; see [the Images page](https://bui.preetham.top/docs/concepts/images/)); damage-driven rendering; Blender's Dark and Light themes (`kit_theme_presets.c`, generated by `tools/gen_theme.py` from Blender's `Blender_Dark.xml` / `Blender_Light.xml` presets over `userdef_default_theme.c`; `BK_set_theme`); native window hosts for Win32, X11 and Cocoa (`kit_window_win32.c`, `kit_window_x11.c`, `kit_window_cocoa.m`; `kit_window_null.c` elsewhere). The Win32 host is BUI's own; the X11 host follows Blender's GHOST input mapping, and the Cocoa host (experimental: checked by CI and tried by hand on two Apple Silicon Macs) is ported from GHOST's Cocoa backend. `kit/intern/blender/` holds Blender files copied in and edited for the kit (each edit marked `BUI:`): `interface_string_search.cc` (menu search with recent searches), `interface_undo.cc` (text-edit undo), `interface_utils.cc` (float display precision). C API: `kit/include/BUI_kit.h`. | **Builds + tested** |
| `kit/` | Blender's UI as a retained-mode C runtime: node tree, uiLayout-style layout, `interface_handlers.cc` interaction rules, widget drawing ported from `interface_widgets.cc` (widget-base shader parameters rendered by `gpu/` raster), menus, color picker, views, editors; Blender's screen layout (`kit/intern/screen`, ported from `editors/screen`: areas on a graph of shared edges that split, join, dock and resize, regions that resize, hide and flip, saved as JSON); Tk-style pack/grid/place geometry managers, canvas display list, multi-line text area; UI undo/redo, Tab field traversal, vertical multi-drag, panel animation; Blender's file browser; images (`kit/intern/image`: Blender's imbuf design, one format table over Wuffs, libjpeg-turbo, libwebp and BUI's HDR/PNM/SVG readers in `kit/extern`, decode at the drawn size, a worker pool and a memory-budgeted cache; see [the Images page](https://bui.preetham.top/docs/concepts/images/)); damage-driven rendering; Blender's Dark and Light themes (`kit_theme_presets.c`, generated by `tools/gen_theme.py` from Blender's `Blender_Dark.xml` / `Blender_Light.xml` presets over `userdef_default_theme.c`; `BK_set_theme`); native window hosts for Win32, X11 and Cocoa (`kit_window_win32.c`, `kit_window_x11.c`, `kit_window_cocoa.m`; `kit_window_null.c` elsewhere). The Win32 host is BUI's own; the X11 host follows Blender's GHOST input mapping, and the Cocoa host (experimental: checked by CI and tried by hand on two Apple Silicon Macs) is ported from GHOST's Cocoa backend. `kit/intern/blender/` holds Blender files copied in and edited for the kit (each edit marked `BUI:`): `interface_string_search.cc` (menu search with recent searches), `interface_undo.cc` (text-edit undo), `interface_utils.cc` (float display precision). C API: `kit/include/BUI_kit.h`. | **Builds + tested** |
| `api/` | `bui_c_api.h` — small stable C ABI: version info + sink/viewport plumbing for hosts and bindings. | **Builds + tested** |
| `bindings/python/` | `buipy` CPython extension (no third-party deps; Dear ImGui is compiled into it, `blenderui.imgui`, so a process holds one kit) + `bui` package: `bui.components` (Blender component library), `bui.qtsyntax` / `bui.tksyntax` (Qt / tkinter APIs as thin facades over the kit), `bui.host` (native or Tk windows), `SvgSink` headless renderer, `bui.qt.BuiCanvas` PySide6/PyQt6 widget. | **Builds + tested** |
| `bindings/imgui/` | Dear ImGui (vendored, 1.93.1 WIP) on BUI: `imgui_impl_bui` platform + renderer backend hosted in a kit `custom` node (input, cursors, clipboard, DPI, damage-driven frames) drawing through `BUI_raster_mesh` and BUI textures; Blender style and Inter font; the C API (`cimgui.h`) and the generator behind the Python and Rust bindings; the Blender-widgets build (`blender/`, `-DBUI_IMGUI_BLENDER_WIDGETS=ON`). Gate: `-DBUI_BUILD_IMGUI` (ON with C++). | **Builds + tested** |
Expand Down
Loading
Loading