This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
MyGameFramework/lib/gwen/controls/gwen_rectangle.h

41 lines
633 B
C
Raw Normal View History

/*
GWEN
Copyright (c) 2010 Facepunch Studios
See license in Gwen.h
*/
#pragma once
#ifndef GWEN_CONTROLS_RECTANGLE_H
#define GWEN_CONTROLS_RECTANGLE_H
#include "gwen_base.h"
#include "gwen_label.h"
#include "../gwen.h"
#include "../gwen_skin.h"
namespace Gwen
{
namespace Controls
{
class GWEN_EXPORT Rectangle : public Controls::Base
{
public:
GWEN_CONTROL( Rectangle, Controls::Base );
virtual void Render( Skin::Base* skin );
const Gwen::Color& GetColor(){ return m_Color; }
void SetColor( const Gwen::Color& col ){ m_Color = col; }
protected:
Gwen::Color m_Color;
};
}
}
#endif