mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-11 09:40:42 +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.
|
||||
class Event
|
||||
{
|
||||
// The component which generates the event.
|
||||
Component* m_source;
|
||||
|
||||
public:
|
||||
|
||||
// Creates a new event specifying that it was generated from the
|
||||
// source component.
|
||||
Event(Component* source);
|
||||
|
||||
virtual ~Event();
|
||||
|
||||
// Returns the component which generated the event.
|
||||
Component* getSource();
|
||||
|
||||
private:
|
||||
// The component which generates the event.
|
||||
Component* m_source;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user