Table of Contents | ||
|
||
RenderButtons | ||
Purpose Renders onto the screen all visible buttons |
||
Protoype void CButtonMngr::RenderButtons (batch br_buttons = batch()) |
||
Parameters
|
||
Description This function iterates through the button objects in the manager and renders any that are currently visible. If you pass in a batch list then the function will only render the button objects included in the list, again only if they are visible. |
||
Use CButtonMngr button; // normal render of buttons button.RenderButtons(); // batch render of buttons batch br_buttons; br_buttons.push_back("button1"); br_buttons.push_back("button2"); button.RenderButtons(br_buttons); |
||
|
||
|