2012-01-06 12:12:57 +08:00
|
|
|
// ASEPRITE gui library
|
2013-01-27 23:13:13 +08:00
|
|
|
// Copyright (C) 2001-2013 David Capello
|
2012-01-06 06:45:03 +08:00
|
|
|
//
|
2012-09-24 10:24:07 +08:00
|
|
|
// This source file is distributed under a BSD-like license, please
|
2012-01-06 06:45:03 +08:00
|
|
|
// read LICENSE.txt for more information.
|
|
|
|
|
|
2012-06-18 09:49:58 +08:00
|
|
|
#include "ui/event.h"
|
2012-01-06 06:45:03 +08:00
|
|
|
|
2012-06-18 09:02:54 +08:00
|
|
|
namespace ui {
|
|
|
|
|
|
2012-01-06 06:45:03 +08:00
|
|
|
Event::Event(Component* source)
|
|
|
|
|
: m_source(source)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Event::~Event()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Component* Event::getSource()
|
|
|
|
|
{
|
|
|
|
|
return m_source;
|
|
|
|
|
}
|
2012-06-18 09:02:54 +08:00
|
|
|
|
|
|
|
|
} // namespace ui
|