1// Aseprite
2// Copyright (C) 2001-2015 David Capello
3//
4// This program is distributed under the terms of
5// the End-User License Agreement for Aseprite.
6
7#ifdef HAVE_CONFIG_H
8#include "config.h"
9#endif
10
11#include "app/ui/skin/skin_slider_property.h"
12
13namespace app {
14namespace skin {
15
16const char* SkinSliderProperty::Name = "SkinSliderProperty";
17
18SkinSliderProperty::SkinSliderProperty(ISliderBgPainter* painter)
19 : Property(Name)
20 , m_painter(painter)
21{
22}
23
24SkinSliderProperty::~SkinSliderProperty()
25{
26 delete m_painter;
27}
28
29ISliderBgPainter* SkinSliderProperty::getBgPainter() const
30{
31 return m_painter;
32}
33
34} // namespace skin
35} // namespace app
36