class guip::StatusIcon — HIRO 0.7.0 documentation

# class guip::StatusIcon

## Overview

Image class that represents status of a process. More…

    #include <StatusIcon.h>

    class StatusIcon: public Window {
    public:
        // enums

        enum Status;

        // fields

        static CEGUI::String WidgetTypeName;

        // construction

        StatusIcon(const CEGUI::String& type, const CEGUI::String& name);

        // methods

        void SetStatus(StatusIcon::Status status);
        StatusIcon::Status GetStatus() const;
        virtual void update(float elapsed);
    };

## Detailed Documentation

Image class that represents status of a process.

### Fields

    static CEGUI::String WidgetTypeName

Unique gui system identifier.

### Methods

    void SetStatus(StatusIcon::Status status)

Changes status to the defined one.

    StatusIcon::Status GetStatus() const

Returns current status.

    virtual void update(float elapsed)

Updates widget. This function is called automatically by a gui system.