2012-06-16 02:37:59 +00:00
|
|
|
// ASEPRITE gui library
|
2013-01-27 15:13:13 +00:00
|
|
|
// Copyright (C) 2001-2013 David Capello
|
2012-06-16 02:37:59 +00:00
|
|
|
//
|
2012-09-24 02:24:07 +00:00
|
|
|
// This source file is distributed under a BSD-like license, please
|
2012-06-16 02:37:59 +00:00
|
|
|
// read LICENSE.txt for more information.
|
|
|
|
|
2012-06-18 01:49:58 +00:00
|
|
|
#ifndef UI_INIT_THEME_EVENT_H_INCLUDED
|
|
|
|
#define UI_INIT_THEME_EVENT_H_INCLUDED
|
2012-06-16 02:37:59 +00:00
|
|
|
|
2012-06-18 01:49:58 +00:00
|
|
|
#include "ui/event.h"
|
2012-06-16 02:37:59 +00:00
|
|
|
|
2012-06-18 01:02:54 +00:00
|
|
|
namespace ui {
|
2012-06-16 02:37:59 +00:00
|
|
|
|
2012-06-18 01:02:54 +00:00
|
|
|
class Theme;
|
2012-06-16 02:37:59 +00:00
|
|
|
|
2012-06-18 01:02:54 +00:00
|
|
|
class InitThemeEvent : public Event
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
InitThemeEvent(Component* source, Theme* theme)
|
|
|
|
: Event(source)
|
|
|
|
, m_theme(theme){ }
|
2012-06-16 02:37:59 +00:00
|
|
|
|
2012-06-18 01:02:54 +00:00
|
|
|
Theme* getTheme() const { return m_theme; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
Theme* m_theme;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace ui
|
2012-06-16 02:37:59 +00:00
|
|
|
|
2012-06-18 01:49:58 +00:00
|
|
|
#endif // UI_INIT_THEME_EVENT_H_INCLUDED
|