Added SkinProperty.

This commit is contained in:
David Capello 2010-03-21 21:25:38 -03:00
parent 99e75b349e
commit 015a4d713c
2 changed files with 40 additions and 0 deletions

View File

@ -1740,3 +1740,27 @@ bool SkinneableTheme::theme_combobox_button_msg_proc(JWidget widget, JMessage ms
return false;
}
//////////////////////////////////////////////////////////////////////
const Vaca::Char* SkinProperty::SkinPropertyName = L"SkinProperty";
SkinProperty::SkinProperty()
: Property(SkinPropertyName)
{
m_isMiniLook = false;
}
SkinProperty::~SkinProperty()
{
}
bool SkinProperty::isMiniLook() const
{
return m_isMiniLook;
}
void SkinProperty::setMiniLook(bool state)
{
m_isMiniLook = state;
}

View File

@ -24,6 +24,22 @@
#include <allegro/color.h>
#include "jinete/jtheme.h"
#include "jinete/jrect.h"
#include "Vaca/Property.h"
class SkinProperty : public Vaca::Property
{
public:
static const Vaca::Char* SkinPropertyName;
SkinProperty();
~SkinProperty();
bool isMiniLook() const;
void setMiniLook(bool state);
private:
bool m_isMiniLook;
};
enum {