mail[Wesnoth-commits] r33480 - in /trunk/src/gui/widgets: event_executor.hpp event_handler.cpp text.cpp text.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by soliton . de on March 09, 2009 - 10:02:
Author: soliton
Date: Mon Mar  9 10:02:02 2009
New Revision: 33480

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33480&view=rev
Log:
typo fix

Modified:
    trunk/src/gui/widgets/event_executor.hpp
    trunk/src/gui/widgets/event_handler.cpp
    trunk/src/gui/widgets/text.cpp
    trunk/src/gui/widgets/text.hpp

Modified: trunk/src/gui/widgets/event_executor.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/event_executor.hpp?rev=33480&r1=33479&r2=33480&view=diff
==============================================================================
--- trunk/src/gui/widgets/event_executor.hpp (original)
+++ trunk/src/gui/widgets/event_executor.hpp Mon Mar  9 10:02:02 2009
@@ -185,7 +185,7 @@
        /***** ***** ***** ***** 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 @@
        /**
         * Called when a widget receives the keyboard focus.
         *
-        * @todo add to the event schedule, first lose then recieve.
-        *
-        * @param event_handler       The event handler that send the event.
-        */
-       virtual void recieve_keyboard_focus(tevent_handler& 
/*event_handler*/) {}
+        * @todo add to the event schedule, first lose then receive.
+        *
+        * @param event_handler       The event handler that send the event.
+        */
+       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

Modified: trunk/src/gui/widgets/event_handler.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/event_handler.cpp?rev=33480&r1=33479&r2=33480&view=diff
==============================================================================
--- trunk/src/gui/widgets/event_handler.cpp (original)
+++ trunk/src/gui/widgets/event_handler.cpp Mon Mar  9 10:02:02 2009
@@ -298,7 +298,7 @@
        keyboard_focus_ = widget;
 
        if(keyboard_focus_) {
-               keyboard_focus_->recieve_keyboard_focus(*this);
+               keyboard_focus_->receive_keyboard_focus(*this);
        }
 }
 

Modified: trunk/src/gui/widgets/text.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/text.cpp?rev=33480&r1=33479&r2=33480&view=diff
==============================================================================
--- trunk/src/gui/widgets/text.cpp (original)
+++ trunk/src/gui/widgets/text.cpp Mon Mar  9 10:02:02 2009
@@ -61,9 +61,9 @@
 
 }
 
-void ttext_::recieve_keyboard_focus(tevent_handler& /*event_handler*/)
-{
-       DBG_G_E << "Text: recieve focus.\n";
+void ttext_::receive_keyboard_focus(tevent_handler& /*event_handler*/)
+{
+       DBG_G_E << "Text: receive focus.\n";
 
        set_state(FOCUSSED);
 }

Modified: trunk/src/gui/widgets/text.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/text.hpp?rev=33480&r1=33479&r2=33480&view=diff
==============================================================================
--- trunk/src/gui/widgets/text.hpp (original)
+++ trunk/src/gui/widgets/text.hpp Mon Mar  9 10:02:02 2009
@@ -56,7 +56,7 @@
        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);




Related Messages


Powered by MHonArc, Updated Mon Mar 09 13:00:28 2009