| 1 | // Aseprite UI Library |
|---|---|
| 2 | // Copyright (C) 2001-2013 David Capello |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifdef HAVE_CONFIG_H |
| 8 | #include "config.h" |
| 9 | #endif |
| 10 | |
| 11 | #include "ui/resize_event.h" |
| 12 | #include "ui/widget.h" |
| 13 | |
| 14 | namespace ui { |
| 15 | |
| 16 | using namespace gfx; |
| 17 | |
| 18 | ResizeEvent::ResizeEvent(Widget* source, const gfx::Rect& bounds) |
| 19 | : Event(source) |
| 20 | , m_bounds(bounds) |
| 21 | { |
| 22 | } |
| 23 | |
| 24 | } // namespace ui |
| 25 |