Now the status-bar text is cleared when the mouse leave widgets like Editor and ToolBar.

This commit is contained in:
David Capello 2010-06-11 00:05:53 -03:00
parent c78f467ee4
commit b37886b052
3 changed files with 5 additions and 2 deletions

View File

@ -331,9 +331,8 @@ bool ColorBar::msg_proc(JMessage msg)
if (m_hot != HOTCOLOR_NONE) {
m_hot = HOTCOLOR_NONE;
dirty();
app_get_statusbar()->setStatusText(0, "");
}
app_get_statusbar()->clearText();
break;
case JM_WHEEL:

View File

@ -934,6 +934,8 @@ bool Editor::msg_proc(JMessage msg)
if (m_alt_pressed) m_alt_pressed = false;
if (m_ctrl_pressed) m_ctrl_pressed = false;
if (m_space_pressed) m_space_pressed = false;
app_get_statusbar()->clearText();
break;
case JM_BUTTONPRESSED:

View File

@ -343,6 +343,8 @@ bool ToolBar::msg_proc(JMessage msg)
m_hot_tool = NULL;
m_hot_conf = false;
dirty();
app_get_statusbar()->clearText();
break;
case JM_TIMER: