Courier V3.1.1
3.1.1-1 New interface for handling the scope mask of Courier::Messages
A fix was made for the scope mask feature of Courier::Messages to distinguish between the original scope mask of the view and the effective mask of the view, which takes into account the scope mask of its children.
With the fix, the interface of Courier::View class has been modified in the following way:
- Courier::View::OnChangeScopeMask was made deprecated;
- New method Courier::View::SetScopeMask was added; this can be used to set the actual scope mask of the view;
- New method Courier::View::GetEffectiveScopeMask was added; this can be used to retrieve the effective scope mask of the view. The effective scope mask of the view is composed internally, from the actual scope mask and the scope mask of the children of the view;
- New method Courier::View::OnScopeMaskChanged was added. This is called every time the effective scope mask of the view or its actual scope mask gets changed.
Interface of Courier::FrameworkWidget has also been changed:
- new method Courier::FrameworkWidget::OnScopeMaskChanged was added also. This must be called every time the scope mask of the widgets changes ( i.e. on a CustomWidget::SetScopeMask method).