2012-06-16 02:37:59 +00:00
|
|
|
// ASEPRITE gui library
|
|
|
|
// Copyright (C) 2001-2012 David Capello
|
|
|
|
//
|
|
|
|
// This source file is ditributed under a BSD-like license, please
|
|
|
|
// read LICENSE.txt for more information.
|
|
|
|
|
|
|
|
#ifndef GUI_INIT_THEME_EVENT_H_INCLUDED
|
|
|
|
#define GUI_INIT_THEME_EVENT_H_INCLUDED
|
|
|
|
|
|
|
|
#include "gui/event.h"
|
|
|
|
|
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
|
|
|
|
|
|
|
#endif // GUI_INIT_THEME_EVENT_H_INCLUDED
|