struct hiro::ActiveResourceInfo — HIRO 0.7.0 documentation

# struct hiro::ActiveResourceInfo

## Overview

Information about currently active Resource objects. More…

    #include <HIRO.h>

    struct ActiveResourceInfo {
        // fields

        std::shared_ptr<hiro::Resource> resource;
        uint32_t viewarea;
        bool is_selected;
    };

## Detailed Documentation

Information about currently active Resource objects.

Active Resource objects are the ones that were used to create at least one Gadget and it still exists.

### Fields

    std::shared_ptr<hiro::Resource> resource

Pointer to an active data resource.

    uint32_t viewarea

Index of viewarea where the resource is active.

    bool is_selected

Defines whether the resource is selected. If false, the resource is pinned.