9 #include "GDCore/Events/Event.h"
10 #include "GDCore/Events/EventsList.h"
24 :
BaseEvent(), r(255), v(230), b(109), textR(0), textG(0), textB(0){};
28 int GetBackgroundColorRed()
const {
return r; }
29 int GetBackgroundColorGreen()
const {
return v; }
30 int GetBackgroundColorBlue()
const {
return b; }
31 void SetBackgroundColor(
int r_,
int g_,
int b_) {
37 int GetTextColorRed()
const {
return textR; }
38 int GetTextColorGreen()
const {
return textG; }
39 int GetTextColorBlue()
const {
return textB; }
40 void SetTextColor(
int r_,
int g_,
int b_) {
46 const gd::String& GetComment()
const {
return com1; }
47 void SetComment(
const gd::String& comment) { com1 = comment; }
49 virtual std::vector<gd::String> GetAllSearchableStrings()
const;
50 virtual bool ReplaceAllSearchableStrings(
51 std::vector<gd::String> newSearchableString);
53 virtual void SerializeTo(SerializerElement& element)
const;
55 const SerializerElement& element);
Base class defining an event.
Definition: Event.h:43
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:51
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24