diff options
| author | oy <Tom_Adams@web.de> | 2010-08-10 13:47:33 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-08-10 13:47:33 +0200 |
| commit | 9753f62d46d3ac21737faf378f87ad8c67f29741 (patch) | |
| tree | 0b8bfa845fb6949d96790f021af63aeaf381da29 | |
| parent | 3797eba179d40473e20f16d46dffc8d69e7e1b74 (diff) | |
| download | zcatch-9753f62d46d3ac21737faf378f87ad8c67f29741.tar.gz zcatch-9753f62d46d3ac21737faf378f87ad8c67f29741.zip | |
added tool tip for value selector button in the editor
| -rw-r--r-- | src/game/editor/ed_editor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp index 3b1a01e0..3220e420 100644 --- a/src/game/editor/ed_editor.cpp +++ b/src/game/editor/ed_editor.cpp @@ -496,6 +496,7 @@ int CEditor::UiDoValueSelector(void *pId, CUIRect *r, const char *pLabel, int Cu Current = Max; } } + m_pTooltip = Localize("Use left mouse button to drag and the change the value. Hold shift to be more precise."); } else if(UI()->HotItem() == pId) { @@ -505,6 +506,7 @@ int CEditor::UiDoValueSelector(void *pId, CUIRect *r, const char *pLabel, int Cu s_Value = 0; UI()->SetActiveItem(pId); } + m_pTooltip = Localize("Use left mouse button to drag and the change the value. Hold shift to be more precise."); } if(Inside) |