current versions of all of my basic framework sources, build configurations/scripts, and supporting assets
41 lines
601 B
C++
41 lines
601 B
C++
/*
|
|
GWEN
|
|
Copyright (c) 2010 Facepunch Studios
|
|
See license in Gwen.h
|
|
*/
|
|
|
|
#pragma once
|
|
#ifndef GWEN_CONTROLS_GROUPBOX_H
|
|
#define GWEN_CONTROLS_GROUPBOX_H
|
|
|
|
#include "gwen_base.h"
|
|
#include "gwen_label.h"
|
|
#include "../gwen.h"
|
|
#include "../gwen_skin.h"
|
|
|
|
|
|
namespace Gwen
|
|
{
|
|
namespace Controls
|
|
{
|
|
|
|
class GWEN_EXPORT GroupBox : public Label
|
|
{
|
|
public:
|
|
|
|
GWEN_CONTROL( GroupBox, Label );
|
|
|
|
virtual void Render( Skin::Base* skin );
|
|
virtual void Layout( Skin::Base* skin );
|
|
|
|
virtual void SetInnerMargin( int i ){ m_InnerMargin = i; }
|
|
|
|
protected:
|
|
|
|
int m_InnerMargin;
|
|
|
|
};
|
|
}
|
|
}
|
|
#endif
|