equal
deleted
inserted
replaced
83 void Window::RaiseButtons() |
83 void Window::RaiseButtons() |
84 { |
84 { |
85 uint i; |
85 uint i; |
86 |
86 |
87 for (i = 0; i < this->widget_count; i++) { |
87 for (i = 0; i < this->widget_count; i++) { |
88 if (IsWidgetLowered(i)) { |
88 if (this->IsWidgetLowered(i)) { |
89 RaiseWidget(i); |
89 this->RaiseWidget(i); |
90 InvalidateWidget(i); |
90 this->InvalidateWidget(i); |
91 } |
91 } |
92 } |
92 } |
93 } |
93 } |
94 |
94 |
95 void Window::InvalidateWidget(byte widget_index) const |
95 void Window::InvalidateWidget(byte widget_index) const |
1039 for (wz = _last_z_window; wz != _z_windows;) { |
1039 for (wz = _last_z_window; wz != _z_windows;) { |
1040 w = *--wz; |
1040 w = *--wz; |
1041 |
1041 |
1042 if (w->flags4&WF_TIMEOUT_MASK && !(--w->flags4&WF_TIMEOUT_MASK)) { |
1042 if (w->flags4&WF_TIMEOUT_MASK && !(--w->flags4&WF_TIMEOUT_MASK)) { |
1043 CallWindowEventNP(w, WE_TIMEOUT); |
1043 CallWindowEventNP(w, WE_TIMEOUT); |
1044 if (w->desc_flags & WDF_UNCLICK_BUTTONS) RaiseWindowButtons(w); |
1044 if (w->desc_flags & WDF_UNCLICK_BUTTONS) w->RaiseButtons(); |
1045 } |
1045 } |
1046 } |
1046 } |
1047 } |
1047 } |
1048 |
1048 |
1049 Window *GetCallbackWnd() |
1049 Window *GetCallbackWnd() |