Changeset - r7996:5a693b9539fb
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-12-02 13:32:41
rubidium@openttd.org
(svn r11554) -Codechange: be more consistent with the naming of the widget functions.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/window.h
Show inline comments
 
@@ -288,7 +288,7 @@ struct Window {
 
	void ShowWidget(byte widget_index);
 
	bool IsWidgetHidden(byte widget_index) const;
 
	void SetWidgetLoweredState(byte widget_index, bool lowered_stat);
 
	void ToggleLoweredState(byte widget_index);
 
	void ToggleWidgetLoweredState(byte widget_index);
 
	void LowerWidget(byte widget_index);
 
	void RaiseWidget(byte widget_index);
 
	bool IsWidgetLowered(byte widget_index) const;
 
@@ -938,7 +938,7 @@ inline void Window::SetWidgetLoweredStat
 
 * Invert the lowered/raised  status of a widget.
 
 * @param widget_index : index of this widget in the window
 
 */
 
inline void Window::ToggleLoweredState(byte widget_index)
 
inline void Window::ToggleWidgetLoweredState(byte widget_index)
 
{
 
	assert(widget_index < this->widget_count);
 
	ToggleBit(this->widget[widget_index].display_flags, WIDG_LOWERED);
0 comments (0 inline, 0 general)