Author: fendrin
Date: Thu Mar 22 20:55:12 2012
New Revision: 53611

URL: http://svn.gna.org/viewcvs/wesnoth?rev=53611&view=rev
Log:
Fixed some spelling errors in the comments.

Modified:
    trunk/src/gui/widgets/window.hpp

Modified: trunk/src/gui/widgets/window.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window.hpp?rev=53611&r1=53610&r2=53611&view=diff
==============================================================================
--- trunk/src/gui/widgets/window.hpp (original)
+++ trunk/src/gui/widgets/window.hpp Thu Mar 22 20:55:12 2012
@@ -46,7 +46,7 @@
 
 /**
  * base class of top level items, the only item
- * which needs to store the final canvase to draw on
+ * which needs to store the final canvases to draw on
  */
 class twindow
        : public tpanel
@@ -78,7 +78,7 @@
        /**
         * Update the size of the screen variables in settings.
         *
-        * Before a window gets build the screen sizes need to be updates. This
+        * Before a window gets build the screen sizes need to be updated. This
         * function does that. It's only done when no other window is active, if
         * another window is active it already updates the sizes with it's 
resize
         * event.
@@ -86,7 +86,7 @@
        static void update_screen_size();
 
        /**
-        * Returns the intance of a window.
+        * Returns the instance of a window.
         *
         * @param handle              The instance id of the window.
         *
@@ -159,7 +159,7 @@
         * @param auto_close_timeout  The time in ms after which the window will
         *                            automatically close, if 0 it doesn't 
close.
         *                            @note the timeout is a minimum time and
-        *                            there's no quarantee about how fast it 
closes
+        *                            there's no guarantee about how fast it 
closes
         *                            after the minimum.
         */
        void show_tooltip(/*const unsigned auto_close_timeout = 0*/);
@@ -174,7 +174,7 @@
         * @param auto_close_timeout  The time in ms after which the window will
         *                            automatically close, if 0 it doesn't 
close.
         *                            @note the timeout is a minimum time and
-        *                            there's no quarantee about how fast it 
closes
+        *                            there's no guarantee about how fast it 
closes
         *                            after the minimum.
         */
        void show_non_modal(/*const unsigned auto_close_timeout = 0*/);
@@ -198,7 +198,7 @@
         * Adds an item to the dirty_list_.
         *
         * @param call_stack          The list of widgets traversed to get to 
the
-        *                            dirty wiget.
+        *                            dirty widget.
         */
        void add_to_dirty_list(const std::vector<twidget*>& call_stack)
        {
@@ -210,7 +210,7 @@
                NEW,                      /**< The window is new and not yet 
shown. */
                SHOWING,                  /**< The window is being shown. */
                REQUEST_CLOSE,            /**< The window has been requested to 
be
-                                          *   closed but still needs to 
evalueate the
+                                          *   closed but still needs to 
evaluate the
                                                                   *   request.
                                                                   */
                CLOSED                    /**< The window has been closed. */
@@ -219,7 +219,7 @@
        /**
         * Requests to close the window.
         *
-        * At the moment the request is always honoured but that might change 
in the
+        * At the moment the request is always honored but that might change in 
the
         * future.
         */
        void close() { status_ = REQUEST_CLOSE; }
@@ -230,7 +230,7 @@
         * Some widgets can handling certain layout aspects without help. For
         * example a listbox can handle hiding and showing rows without help but
         * setting the visibility calls invalidate_layout(). When this blocker 
is
-        * instanciated the call to invalidate_layout() becomes a nop.
+        * Instantiated the call to invalidate_layout() becomes a nop.
         *
         * @note The class can't be used recursively.
         */
@@ -246,7 +246,7 @@
        /**
         * Updates the size of the window.
         *
-        * If the window has automatic placement set this function recacluates 
the
+        * If the window has automatic placement set this function recalculates 
the
         * window. To be used after creation and after modification or items 
which
         * can have different sizes eg listboxes.
         */
@@ -303,7 +303,7 @@
        /**
         * Does the window close easily?
         *
-        * The behaviour can change at run-time, but that might cause oddities
+        * The behavior can change at run-time, but that might cause oddities
         * with the easy close button (when one is needed).
         *
         * @returns                   Whether or not the window closes easily.
@@ -502,10 +502,10 @@
        twindow_builder::tresolution::ttip helptip_;
 
        /**
-        * Do we want to have easy close behaviour?
+        * Do we want to have easy close behavior?
         *
         * Easy closing means that whenever a mouse click is done the dialog 
will
-        * be closed. The widgets in the window may override this behaviour by
+        * be closed. The widgets in the window may override this behavior by
         * registering themselves as blockers. This is tested by the function
         * disable_click_dismiss().
         *
@@ -539,7 +539,7 @@
         * Helper struct to force widgets the have the same size.
         *
         * Widget which are linked will get the same width and/or height. This
-        * can especialy be useful for listboxes, but can also be used for other
+        * can especially be useful for listboxes, but can also be used for 
other
         * applications.
         */
        struct tlinked_size
@@ -644,7 +644,7 @@
        void add_to_keyboard_chain(twidget* widget);
 
        /**
-        * Remove the widget from the keyborad chain.
+        * Remove the widget from the keyboard chain.
         *
         * @todo rename to keyboard_remove_from_chain.
         *


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to