equal
deleted
inserted
replaced
928 |
928 |
929 /** |
929 /** |
930 * Sets the lowered/raised status of a widget. |
930 * Sets the lowered/raised status of a widget. |
931 * @param w : BaseWindow on which the widget is located |
931 * @param w : BaseWindow on which the widget is located |
932 * @param widget_index : index of this widget in the window |
932 * @param widget_index : index of this widget in the window |
933 * @param hidden_stat : status to use ie: lowered = true, raised = false |
933 * @param lowered_stat : status to use ie: lowered = true, raised = false |
934 */ |
934 */ |
935 inline void BaseWindow::SetWidgetLoweredState(byte widget_index, bool lowered_stat) |
935 inline void BaseWindow::SetWidgetLoweredState(byte widget_index, bool lowered_stat) |
936 { |
936 { |
937 assert(widget_index < widget_count); |
937 assert(widget_index < widget_count); |
938 SB(widget[widget_index].m_display_flags, WIDG_LOWERED, 1, !!lowered_stat); |
938 SB(widget[widget_index].m_display_flags, WIDG_LOWERED, 1, !!lowered_stat); |