GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
TextFormatting.h
1 /*
2  * GDevelop Core
3  * Copyright 2008-2016 Florian Rival ([email protected]). All rights
4  * reserved. This project is released under the MIT License.
5  */
6 
7 #ifndef TEXTFORMATTING_H
8 #define TEXTFORMATTING_H
9 #include "GDCore/String.h"
10 
11 namespace gd {
12 
19 class GD_CORE_API TextFormatting {
20  public:
21  TextFormatting() : userData(gd::String::npos) {}
22  ~TextFormatting() {}
23 
28  size_t GetUserData() const { return userData; }
29 
30  size_t userData;
31 };
32 
33 } // namespace gd
34 
35 #endif // TEXTFORMATTING_H
Represents the style of a text displayed in the events editor.
Definition: TextFormatting.h:19
size_t GetUserData() const
Definition: TextFormatting.h:28
Definition: CommonTools.h:24