Initial commit.
This commit is contained in:
commit
1d8f869b5b
39 changed files with 1671 additions and 0 deletions
20
docs/decisions/0002-c-core-fltk-gui.md
Normal file
20
docs/decisions/0002-c-core-fltk-gui.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Decision 0002: C core with FLTK/C++ GUI
|
||||
|
||||
**Status:** Accepted
|
||||
|
||||
## Context
|
||||
|
||||
The project prioritizes a readable, small C implementation while using FLTK
|
||||
for a lightweight desktop GUI.
|
||||
|
||||
## Decision
|
||||
|
||||
Keep the engine, DSP, project model, graph, and public core API in C (C99
|
||||
baseline). Use C++ only for FLTK windows and widgets. Communicate through
|
||||
documented C headers with `extern "C"` guards.
|
||||
|
||||
## Consequences
|
||||
|
||||
- No C++ classes, STL containers, exceptions, or FLTK types cross the C API.
|
||||
- GUI code cannot mutate engine internals directly.
|
||||
- Keep C++ simple and limited to the presentation layer.
|
||||
Loading…
Add table
Add a link
Reference in a new issue