diff options
| author | oy <Tom_Adams@web.de> | 2010-10-08 00:04:46 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-10-08 00:04:46 +0200 |
| commit | 04234c109e753870d76098650dcf1efd530ef365 (patch) | |
| tree | 6c7282a2cdb0e6569971d8e4b5c103bd2464d81a /src/game/editor | |
| parent | 6a26cd6621b5f0b70177b0d17ed433b5669f1314 (diff) | |
| download | zcatch-04234c109e753870d76098650dcf1efd530ef365.tar.gz zcatch-04234c109e753870d76098650dcf1efd530ef365.zip | |
show filename of the map in the editor. Closes #122
Diffstat (limited to 'src/game/editor')
| -rw-r--r-- | src/game/editor/ed_editor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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() |