From 9753f62d46d3ac21737faf378f87ad8c67f29741 Mon Sep 17 00:00:00 2001 From: oy Date: Tue, 10 Aug 2010 13:47:33 +0200 Subject: added tool tip for value selector button in the editor --- src/game/editor/ed_editor.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit 1.4.1