From 04234c109e753870d76098650dcf1efd530ef365 Mon Sep 17 00:00:00 2001 From: oy Date: Fri, 8 Oct 2010 00:04:46 +0200 Subject: show filename of the map in the editor. Closes #122 --- src/game/editor/ed_editor.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/editor') diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp index 614f8b25..e1924eba 100644 --- a/src/game/editor/ed_editor.cpp +++ b/src/game/editor/ed_editor.cpp @@ -2862,6 +2862,11 @@ void CEditor::RenderMenubar(CUIRect MenuBar) if(do_editor_button(&help, "Help", 0, &help, draw_editor_button_menu, 0, 0)) (void)0; */ + + MenuBar.VSplitLeft(40.0f, 0, &MenuBar); + char aBuf[128]; + str_format(aBuf, sizeof(aBuf), "File: %s", m_aFileName); + UI()->DoLabel(&MenuBar, aBuf, 10.0f, -1, -1); } void CEditor::Render() -- cgit 1.4.1