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

Developer

API Reference

IROOTFORM_SETDISPLAY()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function sets the display to be used for drawing the RootForm, its widgets and all the forms and widgets it manages. The background, title and softkeys are resized and positioned to fit the given display size. Note that the height of the softkeys and title is not affected by this.
Params
pif
[]:
[in] Pointer to the IRootForm interface object.
piDisplay
[]:
[in] Pointer to the display to set drawing to.
Interface
Prototype
  •    int IRootForm_SetDisplay(IRootForm *pif, IDisplay *piDisplay); 
    
Return
  •    AEE_SUCCESS: Display set
       AEE_EFAILED: Display could not be set  
    
Side Effect
  • Resizes the background, softkey and title widgets to not fall outside the bounds of the given display
Comments
None