Mercurial > hg > openttd
changeset 7996:917248db1495 draft
(svn r11554) -Codechange: be more consistent with the naming of the widget functions.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sun, 02 Dec 2007 13:32:41 +0000 |
parents | eb56153baaed |
children | d109780d515b |
files | src/window.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.h +++ b/src/window.h @@ -288,7 +288,7 @@ 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 @@ * 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);