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

Developer

API Reference

IDATECTL_GETFONT()

Brew Release
Brew MP 1.0.2
See Also
IDateCtl IDATECTL_SetFont
Description
This method allows the caller to get the title and text fonts.
Params
pIDateCtl
[]:
pointer to the IDateCtl Interface object.
pfntText
[]:
pointer to location to set to text font.
pfntTitle
[]:
pointer to location to set to title font.
Interface
  • IDATECTL
Prototype
  •     boolean IDATECTL_GetFont
        (
          IDateCtl * pIDateCtl, 
          AEEFont *pfntText, 
          AEEFont *pfntTitle
        );
    
Return
  • TRUE: if successful. FALSE: if unsuccessful.
Side Effect
  • None.
Comments
The following changes were made to IDisplay: 1) IDisplay multiple instances:: For BREW 2.1, IDisplay supports multiple instances. This means that each call to ISHELL_CreateInstance() with AEECLSID_DISPLAY will return an application-global IDisplay instance which maintains state information such as fonts, colors, destination bitmap and a clipping rectangle (new). Furthermore, IDisplay's can be cloned, and then modified, so that different parts of an applet can draw to separate IDisplay's without the need to restore state data after every draw operation. To support this behavior, IDISPLAY_Clone() was added to the IDisplay interface. In addition, a new ClassID, AEECLSID_DISPLAYCLONE, was added to produce a copy of the current application-global IDisplay. 2) IDisplay clipping rectangle:: IDISPLAY_SetClipRect() was added to set a clipping rectangle that all IDisplay drawing functions will honor. To reset the clipping rectangle to the full screen, pass NULL in the (AEERect*) argument.