mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-14 09:41:19 +00:00
Minor change in event.h.
This commit is contained in:
parent
85203205b8
commit
40df2e1d73
@ -12,20 +12,18 @@ class Component;
|
|||||||
// Base class for every kind of event.
|
// Base class for every kind of event.
|
||||||
class Event
|
class Event
|
||||||
{
|
{
|
||||||
// The component which generates the event.
|
|
||||||
Component* m_source;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Creates a new event specifying that it was generated from the
|
// Creates a new event specifying that it was generated from the
|
||||||
// source component.
|
// source component.
|
||||||
Event(Component* source);
|
Event(Component* source);
|
||||||
|
|
||||||
virtual ~Event();
|
virtual ~Event();
|
||||||
|
|
||||||
// Returns the component which generated the event.
|
// Returns the component which generated the event.
|
||||||
Component* getSource();
|
Component* getSource();
|
||||||
|
|
||||||
|
private:
|
||||||
|
// The component which generates the event.
|
||||||
|
Component* m_source;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user