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

Developer

API Reference

IWIDGET_GETLAYOUTSTYLE()

Brew Release
Brew MP 1.0.2
Description

Retrieves the layout style of the widget. The layout style determines how to display items within a container. For example, setting a slider widget's layout to LAYOUT_HORZ would create a horizontal slider bar, while setting it to LAYOUT_VERT would create a vertical slider bar.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
pnStyle
[]:
[out] On successful termination, stores the layout style index
Interface
Prototype
  • int IWidget_GetLayoutStyle(IWidget *pif, int *pnStyle);
    
Return
  •    AEE_SUCCESS - Successfully retrieved the layout style
       AEE_EFAILED - Failed to retrieve the layout style
    
Side Effect

  • On successful completion *pnValue stores the style value.
Comments
The following layout styles are available. Note that not all widgets may support every layout style. LAYOUT_NONE: no layout LAYOUT_VERT: vertical layout LAYOUT_HORZ: horizontal layout style LAYOUT_BOTH: layout both dimensions