7 #if defined(GD_IDE_ONLY)
8 #ifndef GDCORE_GROUPEVENT_H
9 #define GDCORE_GROUPEVENT_H
10 #include "GDCore/Events/Event.h"
11 #include "GDCore/Events/EventsList.h"
12 #include "GDCore/Events/Instruction.h"
18 class EventsCodeGenerationContext;
65 const std::vector<gd::String>& GetCreationParameters()
const {
81 creationTime = creationTime_;
87 void SetBackgroundColor(
unsigned int colorR,
110 virtual std::vector<gd::String> GetAllSearchableStrings()
const;
111 virtual bool ReplaceAllSearchableStrings(
112 std::vector<gd::String> newSearchableString);
124 unsigned int creationTime;
126 std::vector<gd::String>
Base class defining an event.
Definition: Event.h:43
A list of events.
Definition: EventsList.h:32
A group event, containing only sub events and some (visual only) properties.
Definition: GroupEvent.h:26
std::vector< gd::String > & GetCreationParameters()
Get the vector containing the parameters that have been used to create the group and its sub events.
Definition: GroupEvent.h:64
virtual gd::EventsList & GetSubEvents()
Definition: GroupEvent.h:108
void SetCreationTimestamp(unsigned int creationTime_)
Set timestamp of the creation of the group.
Definition: GroupEvent.h:80
virtual gd::GroupEvent * Clone() const
Definition: GroupEvent.h:30
virtual bool IsExecutable() const
Definition: GroupEvent.h:32
unsigned int GetBackgroundColorG() const
Get background color green component.
Definition: GroupEvent.h:99
unsigned int GetBackgroundColorR() const
Get background color red component.
Definition: GroupEvent.h:94
const gd::String & GetSource() const
Get the source of the group.
Definition: GroupEvent.h:49
unsigned int GetBackgroundColorB() const
Get background color blue component.
Definition: GroupEvent.h:104
const gd::String & GetName() const
Get the name of the group.
Definition: GroupEvent.h:37
virtual bool CanHaveSubEvents() const
Definition: GroupEvent.h:106
virtual const gd::EventsList & GetSubEvents() const
Definition: GroupEvent.h:107
unsigned int GetCreationTimestamp() const
Return the creation timestamp.
Definition: GroupEvent.h:73
void SetSource(const gd::String &source_)
Set the source of the group.
Definition: GroupEvent.h:54
void SetName(const gd::String &name_)
Change the name of the group.
Definition: GroupEvent.h:42
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:51
A generic container that can represent a value ( containing a string, double, bool or int),...
Definition: SerializerElement.h:37
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24