Changeset - r11691:f287705340c7
[Not reviewed]
master
0 1 0
alberth - 16 years ago 2009-04-18 15:03:02
alberth@openttd.org
(svn r16081) -Doc: Adding/fixing some Doxygen comments.
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/order_gui.cpp
Show inline comments
 
@@ -28,6 +28,7 @@
 
#include "table/sprites.h"
 
#include "table/strings.h"
 

	
 
/** Widget numbers of the order window. */
 
enum OrderWindowWidgets {
 
	ORDER_WIDGET_CLOSEBOX = 0,
 
	ORDER_WIDGET_CAPTION,
 
@@ -375,6 +376,7 @@ static Order GetOrderCmdFromTile(const V
 
	return order;
 
}
 

	
 
/** Order window code. */
 
struct OrdersWindow : public Window {
 
private:
 
	static const int ORDER_LIST_LINE_HEIGHT = 10; ///< Height of a line in the ORDER_WIDGET_ORDER_LIST panel.
 
@@ -406,9 +408,7 @@ private:
 
	 *  the position of the scrollbar.
 
	 *
 
	 * @param y Y-value of the click relative to the window origin
 
	 * @param v current vehicle
 
	 * @return the new selected order if the order is valid else return that
 
	 *  an invalid one has been selected.
 
	 * @return The selected order if the order is valid, else return \c INVALID_ORDER.
 
	 */
 
	int GetOrderFromPt(int y)
 
	{
0 comments (0 inline, 0 general)