2013-08-09 00:01:20 +00:00
|
|
|
// Aseprite UI Library
|
2013-05-11 20:56:27 +00:00
|
|
|
// Copyright (C) 2001-2013 David Capello
|
|
|
|
//
|
2014-03-29 23:08:05 +00:00
|
|
|
// This file is released under the terms of the MIT license.
|
|
|
|
// Read LICENSE.txt for more information.
|
2013-05-11 20:56:27 +00:00
|
|
|
|
2013-08-06 00:20:19 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
2013-05-11 20:56:27 +00:00
|
|
|
#include "config.h"
|
2013-08-06 00:20:19 +00:00
|
|
|
#endif
|
2013-05-11 20:56:27 +00:00
|
|
|
|
|
|
|
#include "ui/resize_event.h"
|
|
|
|
#include "ui/widget.h"
|
|
|
|
|
|
|
|
namespace ui {
|
|
|
|
|
2013-08-06 00:20:19 +00:00
|
|
|
using namespace gfx;
|
|
|
|
|
2013-05-11 20:56:27 +00:00
|
|
|
ResizeEvent::ResizeEvent(Widget* source, const gfx::Rect& bounds)
|
|
|
|
: Event(source)
|
|
|
|
, m_bounds(bounds)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace ui
|