API Reference | developer.brewmp.com API Reference | developer.brewmp.com


API Reference


Brew Release
Brew MP 1.0.2
See Also
- IListModel Interface
IFontMapModel is derived from the IListModel interface and is used to store a collection of style tag/IFont object pairs. The resulting style name/IFont map can be used by objects like the RichTextModel to perform text styling, as an example. The IFontMapModel may also be used as a ListModel for a font menu as well.
The IFontMapModel keeps a simple list of style name and IFont object pairs. Applications call its functions to add and remove style/font pairs to and from the model. The IFontMapModel is careful to copy style names internally and AddRef the IFont objects so applications need not keep track of them once they've been added.
See IListModel usage.