typo fix
This commit is contained in:
parent
5ae8bd37f5
commit
c34314a915
4 changed files with 8 additions and 8 deletions
|
@ -185,7 +185,7 @@ public:
|
|||
/***** ***** ***** ***** focus ***** ***** ***** *****/
|
||||
|
||||
/**
|
||||
* The widget recieves a focus event.
|
||||
* The widget receives a focus event.
|
||||
*
|
||||
* Container classes are notified when a child item gets a mouse down
|
||||
* event. This can be used to capture the keyboard.
|
||||
|
@ -197,16 +197,16 @@ public:
|
|||
/**
|
||||
* Called when a widget receives the keyboard focus.
|
||||
*
|
||||
* @todo add to the event schedule, first lose then recieve.
|
||||
* @todo add to the event schedule, first lose then receive.
|
||||
*
|
||||
* @param event_handler The event handler that send the event.
|
||||
*/
|
||||
virtual void recieve_keyboard_focus(tevent_handler& /*event_handler*/) {}
|
||||
virtual void receive_keyboard_focus(tevent_handler& /*event_handler*/) {}
|
||||
|
||||
/**
|
||||
* Called when a widget loses the keyboard focus.
|
||||
*
|
||||
* @todo add to the event schedule, first lose then recieve.
|
||||
* @todo add to the event schedule, first lose then receive.
|
||||
*
|
||||
* @param event_handler The event handler that send the event, most
|
||||
* of the time the widget will be the one
|
||||
|
|
|
@ -298,7 +298,7 @@ void tevent_handler::keyboard_capture(twidget* widget)
|
|||
keyboard_focus_ = widget;
|
||||
|
||||
if(keyboard_focus_) {
|
||||
keyboard_focus_->recieve_keyboard_focus(*this);
|
||||
keyboard_focus_->receive_keyboard_focus(*this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -61,9 +61,9 @@ void ttext_::mouse_middle_button_click(tevent_handler&)
|
|||
|
||||
}
|
||||
|
||||
void ttext_::recieve_keyboard_focus(tevent_handler& /*event_handler*/)
|
||||
void ttext_::receive_keyboard_focus(tevent_handler& /*event_handler*/)
|
||||
{
|
||||
DBG_G_E << "Text: recieve focus.\n";
|
||||
DBG_G_E << "Text: receive focus.\n";
|
||||
|
||||
set_state(FOCUSSED);
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ public:
|
|||
void mouse_middle_button_click(tevent_handler&);
|
||||
|
||||
/** Inherited from tevent_executor. */
|
||||
void recieve_keyboard_focus(tevent_handler& event_handler);
|
||||
void receive_keyboard_focus(tevent_handler& event_handler);
|
||||
|
||||
/** Inherited from tevent_executor. */
|
||||
void lose_keyboard_focus(tevent_handler& event_handler);
|
||||
|
|
Loading…
Add table
Reference in a new issue