Elaztek Developer Hub
Blamite Game Engine - blam!  00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
comment.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../BlamPluginField.h"
4 
8 enum class BlamCommentStyle
9 {
10  None,
11  Info,
12  Warning,
13  Error
14 };
15 
24 {
25 private:
27 
28 public:
29  CommentField(std::string _display_name);
30 
31  CommentField(std::string _display_name, std::string _extra_info);
32 
33  CommentField(std::string _display_name, std::string _extra_info, BlamCommentStyle _style);
34 
35  void ShowImPropertyControl();
36 
37  std::string GetFieldXMLString(int offset);
38 };
BlamCommentStyle::None
@ None
The comment will be given the default appearance.
CommentField::CommentField
CommentField(std::string _display_name)
Definition: comment.cpp:7
BlamCommentStyle::Warning
@ Warning
The comment will be given a warning message appearance.
BlamPluginField
Base class representing a plugin field.
Definition: BlamPluginField.h:49
BlamCommentStyle
BlamCommentStyle
The style to use for the comment.
Definition: comment.h:8
BlamCommentStyle::Info
@ Info
The comment will be given an information message appearance.
BlamCommentStyle::Error
@ Error
The comment will be given an error message appearance.
CommentField::ShowImPropertyControl
void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition: comment.cpp:26
CommentField
Class representing a comment field.
Definition: comment.h:23
CommentField::GetFieldXMLString
std::string GetFieldXMLString(int offset)
Generates a string representing an XML node associated with this tag field, used for generating plugi...
Definition: comment.cpp:37