class hiro::gui::Element — HIRO 0.7.0 documentation

# class hiro::gui::Element

## Overview

A general element containing basic interface methods. More…

    #include <GuiTypes.h>

    class Element {
    public:
        // methods

        bool TestCondition() const;
        uint32_t GetId() const;

    protected:
        // methods

        void SetConditionFuncImpl(std::function<bool(void)> condition_func);
    };

## Detailed Documentation

A general element containing basic interface methods.

### Methods

    bool TestCondition() const

Test the visibility conditions.

If there were no conditions provided, returns true.

    uint32_t GetId() const

Returns a unique identifier of current element.