summaryrefslogtreecommitdiff
path: root/src/editor/editor_layout.cpp
diff options
context:
space:
mode:
authorkasull <qsullian@gmail.com>2026-03-11 00:24:47 -0400
committerkasull <qsullian@gmail.com>2026-03-11 00:24:47 -0400
commitae6718ec0fb21077b767e189aca26b0fed488775 (patch)
treea4216103d8a9a77edbc470dc4ab094e77ac30261 /src/editor/editor_layout.cpp
parentbc1ea16c5be92e3bc810b0a30e01fbc9a7f191a9 (diff)
editor object placement and context menus
replace the editor menubar dropdown flow with a reusable context menu component merge sprite/entity placement into a single object tool persist entities, and add undo support for created sprites and entities
Diffstat (limited to 'src/editor/editor_layout.cpp')
-rw-r--r--src/editor/editor_layout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor/editor_layout.cpp b/src/editor/editor_layout.cpp
index f98ef00..de3ffb3 100644
--- a/src/editor/editor_layout.cpp
+++ b/src/editor/editor_layout.cpp
@@ -151,7 +151,7 @@ void editor_layout_start_menu( GAME_EDITOR* e ) {
}
static void editor_layout_tool_buttons( GUI_EDITORWINDOW* wnd, const EDITOR_LAYOUT& l ) {
- const char* names[] = { "none", "select", "wall", "poly", "sprite", "ent" };
+ const char* names[] = { "none", "select", "wall", "poly", "object" };
I32 y = l.tool_btn_y;
for( U32 i = 0; i < sizeof( names ) / sizeof( names[0] ); ++i ) {
GUI_BUTTON* btn = (GUI_BUTTON*)gui_find_node( wnd, names[i] );