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.
Parameters
  • 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
Comment
None
  • Follow