summaryrefslogtreecommitdiff
path: root/src/scenes
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-10 00:02:55 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-10 00:04:44 +0500
commit55ef21312888cbfb9d449eee8f7958b74f85ac7c (patch)
treeba819c6f1bc03c711e8cf1ad069be30a95e9f4f6 /src/scenes
parent90988da0bdae2c56366abb01f402a0cd34279143 (diff)
more work on an editor
Diffstat (limited to 'src/scenes')
-rw-r--r--src/scenes/puzzleScene.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/scenes/puzzleScene.c b/src/scenes/puzzleScene.c
index 8824a09..d49b530 100644
--- a/src/scenes/puzzleScene.c
+++ b/src/scenes/puzzleScene.c
@@ -67,6 +67,10 @@ bool drawPuzzleScene(void *self) {
DrawPuzzleName(data->PuzzlePtr->Name);
Rectangle body = GetBodyRect();
+ DrawRecBordered(body, WHITE, COLORSCHEME_ORANGE, BORDER);
+ DrawTextArea(data->EditorInfo, body, GetMonoFont(), 20, 2, &data->editor_scroll);
+ return true;
+
Rectangle pane1, pane2;
GetPanesSplit(&pane1, &pane2, body, 0.5, 0.4);
DrawRecBordered(pane1, WHITE, COLORSCHEME_ORANGE, BORDER);
@@ -74,7 +78,7 @@ bool drawPuzzleScene(void *self) {
DrawTextInRec(pane1, data->PuzzlePtr->Description,
GetMainFont(), 20, COLORSCHEME_BROWN, 3, &data->scroll);
- DrawTextArea(data->EditorInfo, pane2, GetMainFont(), 20, 2, &data->editor_scroll);
+ DrawTextArea(data->EditorInfo, pane2, GetMonoFont(), 20, 2, &data->editor_scroll);
return true;
}