summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-07-31 21:02:56 +0000
committeralberth <alberth@openttd.org>2010-07-31 21:02:56 +0000
commita825b4fa5f159604f9f61bafa21b75a22d8944f5 (patch)
tree7a9c837d047157b4e2d0d068c0c3462c7a643ef9 /src/window.cpp
parentadf94b85297b6a11989617eaa1081c7b1da08b62 (diff)
downloadopenttd-a825b4fa5f159604f9f61bafa21b75a22d8944f5.tar.xz
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/window.cpp b/src/window.cpp
index dfd9fa078..6bbc140f9 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -36,7 +36,7 @@
#include "table/sprites.h"
static Point _drag_delta; ///< delta between mouse cursor and upper left corner of dragged window
-static Window *_mouseover_last_w = NULL; ///< Window of the last MOUSEOVER event
+static Window *_mouseover_last_w = NULL; ///< Window of the last #MOUSEOVER event.
/** List of windows opened at the screen sorted from the front. */
Window *_z_front_window = NULL;
@@ -45,7 +45,7 @@ Window *_z_back_window = NULL;
/*
* Window that currently has focus. - The main purpose is to generate
- * FocusLost events, not to give next window in z-order focus when a
+ * #FocusLost events, not to give next window in z-order focus when a
* window is closed.
*/
Window *_focused_window;
@@ -2654,7 +2654,7 @@ void ChangeVehicleViewports(VehicleID from_index, VehicleID to_index)
/**
* Relocate all windows to fit the new size of the game application screen
* @param neww New width of the game application screen
- * @param newh New height of the game appliction screen
+ * @param newh New height of the game application screen.
*/
void RelocateAllWindows(int neww, int newh)
{
@@ -2672,8 +2672,8 @@ void RelocateAllWindows(int neww, int newh)
continue; // don't modify top,left
}
- /* XXX - this probably needs something more sane. For example specying
- * in a 'backup'-desc that the window should always be centred. */
+ /* XXX - this probably needs something more sane. For example specifying
+ * in a 'backup'-desc that the window should always be centered. */
switch (w->window_class) {
case WC_MAIN_TOOLBAR:
if (neww - w->width != 0) ResizeWindow(w, min(neww, 640) - w->width, 0);