@@ -13,26 +13,25 @@ This guide covers **pcode-editor version 0.2.28**.
1313pcode-editor is built with a layered architecture:
1414
1515```
16- .====================================================================.
17- | LAYER ARCHITECTURE |
18- +====================================================================+
19- | |
20- | +-----------------------------------------------------------+ |
21- | | EDITOR APP CORE | |
22- | | (editor_app.cpp main loop) | |
23- | +----------------------+------------------------------------+ |
24- | | TEXT EDITOR | UI RENDERING | |
25- | | (ImGuiColorText | (Dear ImGui widgets) | |
26- | | TextEdit) | | |
27- | +----------------------+------------------------------------+ |
28- | +-----------------------------------------------------------+ |
29- | | INPUT & WINDOW MANAGEMENT | |
30- | | (GLFW) | |
31- | +-----------------------------------------------------------+ |
32- | | PLATFORM BACKENDS | |
33- | | Win32 | Wayland | X11 | Cocoa | |
34- | +----------------------+------------------------------------+ |
35- '===================================================================='
16+ ┌──────────────────────────────────────────────────────────────────────┐
17+ │ LAYER ARCHITECTURE │
18+ ├──────────────────────────────────────────────────────────────────────┤
19+ │ │
20+ │ ┌──────────────────────────────────────────────────────────┐ │
21+ │ │ EDITOR APP CORE │ │
22+ │ │ (editor_app.cpp main loop) │ │
23+ │ ├──────────────────────────┬─────────────────────────────┤ │
24+ │ │ TEXT EDITOR │ UI RENDERING │ │
25+ │ │ (ImGuiColorTextEdit) │ (Dear ImGui widgets) │ │
26+ │ └──────────────────────────┴─────────────────────────────┘ │
27+ │ ├──────────────────────────────────────────────────────────────┤ │
28+ │ │ INPUT & WINDOW MANAGEMENT │ │
29+ │ │ (GLFW) │ │
30+ │ ├──────────────────────────────────────────────────────────────┤ │
31+ │ │ PLATFORM BACKENDS │ │
32+ │ │ Win32 │ Wayland │ X11 │ Cocoa │ │
33+ │ └──────────────────────────┴─���───────────────────────────┘ │
34+ └──────────────────────────────────────────────────────────────────────┘
3635```
3736
3837### Source Files
@@ -308,40 +307,41 @@ GIT_TAG v1.91 # Update this
308307## Project Structure
309308
310309```
311- .====================================================================.
312- | PROJECT STRUCTURE |
313- +====================================================================+
314- | |
315- | pcode-editor/ |
316- | | |
317- | +--- src/ |
318- | | +-- main.cpp -- Entry point |
319- | | +-- editor_app.h -- Class definitions |
320- | | +-- editor_app.cpp -- Main implementation |
321- | | |
322- | +--- tests/ |
323- | | +-- test_view_features.cpp |
324- | | |
325- | +--- scripts/ |
326- | | +-- build.sh -- Universal build |
327- | | +-- build-linux.sh -- Linux (Wayland) |
328- | | +-- build-windows.bat -- Windows (MSVC) |
329- | | +-- build-freebsd.sh -- BSD (X11) |
330- | | |
331- | +--- .githooks/ |
332- | | +-- pre-commit -- Build validation |
333- | | |
334- | +--- docs/ |
335- | | +-- userguide.md |
336- | | +-- developer.md |
337- | | +-- faq.md |
338- | | |
339- | +--- CMakeLists.txt |
340- | +--- pcode-settings.json |
341- | +--- VERSION |
342- | +--- LICENSE |
343- | +--- README.md |
344- '===================================================================='
310+ ┌──────────────────────────────────────────────────────────────────────┐
311+ │ PROJECT STRUCTURE │
312+ ├──────────────────────────────────────────────────────────────────────┤
313+ │ │
314+ │ pcode-editor/ │
315+ │ │ │
316+ │ ├── src/ │
317+ │ │ ├── main.cpp ── Entry point │
318+ │ │ ├── editor_app.h ── Class definitions │
319+ │ │ └── editor_app.cpp ── Main implementation │
320+ │ │ │
321+ │ ├── tests/ │
322+ │ │ └── test_view_features.cpp │
323+ │ │ │
324+ │ ├── scripts/ │
325+ │ │ ├── build.sh ── Universal build │
326+ │ │ ├── build-linux.sh ── Linux (Wayland) │
327+ │ │ ├── build-windows.bat ── Windows (MSVC) │
328+ │ │ └── build-freebsd.sh ── BSD (X11) │
329+ │ │ │
330+ │ ├── .githooks/ │
331+ │ │ └── pre-commit ── Build validation │
332+ │ │ │
333+ │ ├── docs/ │
334+ │ │ ├── userguide.md │
335+ │ │ ├── developer.md │
336+ │ │ ├── faq.md │
337+ │ │ └── versioning.md │
338+ │ │ │
339+ │ ├── CMakeLists.txt │
340+ │ ├── pcode-settings.json │
341+ │ ├── VERSION │
342+ │ ├── LICENSE │
343+ │ └── README.md │
344+ └──────────────────────────────────────────────────────────────────────┘
345345```
346346
347347---
0 commit comments