window.c
changeset 4766 aa276d0ec2eb
parent 4757 9d5a23f90b1a
child 4938 0447845fd1b3
equal deleted inserted replaced
4765:d109bfb2cc73 4766:aa276d0ec2eb
  1607 	for (w = _windows; w != _last_window; w++) {
  1607 	for (w = _windows; w != _last_window; w++) {
  1608 		if (w->window_class == cls) SetWindowDirty(w);
  1608 		if (w->window_class == cls) SetWindowDirty(w);
  1609 	}
  1609 	}
  1610 }
  1610 }
  1611 
  1611 
       
  1612 void InvalidateThisWindowData(Window *w)
       
  1613 {
       
  1614 	CallWindowEventNP(w, WE_INVALIDATE_DATA);
       
  1615 }
       
  1616 
  1612 void InvalidateWindowData(WindowClass cls, WindowNumber number)
  1617 void InvalidateWindowData(WindowClass cls, WindowNumber number)
  1613 {
  1618 {
  1614 	Window *w;
  1619 	Window *w;
  1615 
  1620 
  1616 	for (w = _windows; w != _last_window; w++) {
  1621 	for (w = _windows; w != _last_window; w++) {
  1617 		if (w->window_class == cls && w->window_number == number) CallWindowEventNP(w, WE_INVALIDATE_DATA);
  1622 		if (w->window_class == cls && w->window_number == number) InvalidateThisWindowData(w);
       
  1623 	}
       
  1624 }
       
  1625 
       
  1626 void InvalidateWindowClassesData(WindowClass cls)
       
  1627 {
       
  1628 	Window *w;
       
  1629 
       
  1630 	for (w = _windows; w != _last_window; w++) {
       
  1631 		if (w->window_class == cls) InvalidateThisWindowData(w);
  1618 	}
  1632 	}
  1619 }
  1633 }
  1620 
  1634 
  1621 void CallWindowTickEvent(void)
  1635 void CallWindowTickEvent(void)
  1622 {
  1636 {