class UIButton

File location: framework/cauldron/framework/inc/core/uimanager.h

Construction

Return type

Description

UIButton ( uint64_t id, const char* text, const bool& enable, std::function<void(void)> callback, bool shown = true, bool sameLine = false )
Constructor. Creates the UI button.

Methods

Return type

Description

void

Build the UI in each UI backend.

Detailed description

Construction

UIButton

Copied!

UIButton (
    uint64_t id,
    const char* text,
    const bool& enable,
    std::function<void(void)> callback,
    bool shown = true,
    bool sameLine = false
)

Constructor. Creates the UI button.


Methods

BuildUI

Copied!

virtual void BuildUI ()

Build the UI in each UI backend.