Changeset - r12389:1e898e652e31
[Not reviewed]
master
0 1 0
alberth - 15 years ago 2009-07-14 21:25:32
alberth@openttd.org
(svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the footer of the window.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/window_gui.h
Show inline comments
 
@@ -56,32 +56,32 @@ enum WidgetDrawDistances {
 
	WD_FRAMERECT_TOP    = 1,    ///< Offset at top to draw the frame rectangular area
 
	WD_FRAMERECT_BOTTOM = 1,    ///< Offset at bottom to draw the frame rectangular area
 

	
 
	/* WWT_FRAME */
 
	WD_FRAMETEXT_LEFT  = 6,     ///< Left offset of the text of the frame.
 
	WD_FRAMETEXT_RIGHT = 6,     ///< Right offset of the text of the frame.
 

	
 
	/* WWT_STICKYBOX */
 
	WD_STICKYBOX_WIDTH  = 12,   ///< Width of a standard sticky box widget.
 
	WD_STICKYBOX_LEFT   = 2,    ///< Left offset of sticky sprite.
 
	WD_STICKYBOX_RIGHT  = 2,    ///< Right offset of sticky sprite.
 
	WD_STICKYBOX_TOP    = 3,    ///< Top offset of sticky sprite.
 
	WD_STICKYBOX_BOTTOM = 1,    ///< Bottom offset of sticky sprite.
 
	WD_STICKYBOX_BOTTOM = 3,    ///< Bottom offset of sticky sprite.
 

	
 
	/* WWT_RESIZEBOX */
 
	WD_RESIZEBOX_WIDTH  = 12,   ///< Width of a resize box widget.
 
	WD_RESIZEBOX_LEFT   = 3,    ///< Left offset of resize sprite.
 
	WD_RESIZEBOX_RIGHT  = 2,    ///< Right offset of resize sprite.
 
	WD_RESIZEBOX_TOP    = 3,    ///< Top offset of resize sprite.
 
	WD_RESIZEBOX_BOTTOM = 4,    ///< Bottom offset of resize sprite.
 
	WD_RESIZEBOX_BOTTOM = 2,    ///< Bottom offset of resize sprite.
 

	
 
	/* WWT_CLOSEBOX */
 
	WD_CLOSEBOX_WIDTH  = 11,    ///< Width of a close box widget.
 
	WD_CLOSEBOX_LEFT   = 2,     ///< Left offset of closebox string.
 
	WD_CLOSEBOX_RIGHT  = 1,     ///< Right offset of closebox string.
 
	WD_CLOSEBOX_TOP    = 2,     ///< Top offset of closebox string.
 
	WD_CLOSEBOX_BOTTOM = 2,     ///< Bottom offset of closebox string.
 

	
 
	/* WWT_CAPTION */
 
	WD_CAPTION_HEIGHT     = 14, ///< Height of a title bar.
 
	WD_CAPTIONTEXT_LEFT   = 2,  ///< Offset of the caption text at the left.
 
	WD_CAPTIONTEXT_RIGHT  = 2,  ///< Offset of the caption text at the right.
0 comments (0 inline, 0 general)