1// Aseprite UI Library
2// Copyright (C) 2001-2017 David Capello
3//
4// This file is released under the terms of the MIT license.
5// Read LICENSE.txt for more information.
6
7#ifndef UI_INIT_THEME_EVENT_H_INCLUDED
8#define UI_INIT_THEME_EVENT_H_INCLUDED
9#pragma once
10
11#include "ui/event.h"
12
13namespace ui {
14
15 class Theme;
16
17 class InitThemeEvent : public Event {
18 public:
19 InitThemeEvent(Component* source,
20 Theme* theme)
21 : Event(source)
22 , m_theme(theme) { }
23
24 Theme* theme() const { return m_theme; }
25
26 private:
27 Theme* m_theme;
28 };
29
30} // namespace ui
31
32#endif // UI_INIT_THEME_EVENT_H_INCLUDED
33