src/window.h
branchcpp_gui
changeset 6307 f40e88cff863
parent 6301 e0251f797d59
equal deleted inserted replaced
6306:036aa28ca80e 6307:f40e88cff863
   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);