mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +00:00
Added SkinProperty.
This commit is contained in:
parent
99e75b349e
commit
015a4d713c
@ -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;
|
||||
}
|
||||
|
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user