Elaztek Developer Hub
Blamite Game Engine - Keystone  00339.10.03.21.0135.blamite
A library that enables the use of Qt in Blamite's editing tools.
tag.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <HEKGuerilla/components/tags/tags.h>
4 
5 #include "../BlamEditorDocument.h"
7 
8 #ifndef KEYSTONE
9 #define KEYSTONE
10 #endif
11 
16 {
17 
18 public:
19 
20  BlamTag* tag = nullptr;
21  bool show_invisibles = false;
22  bool show_unused_fields = true;
23 
30  BlamEditorDocument_Tag(BlamEditorWindow* _window, BlamTag* _tag);
31 
38  BlamEditorDocument_Tag(BlamTag* _tag);
39 
40  void Close();
41 
42  void Save();
43 
44  void SaveAs();
45 };
BlamEditorDocument_Tag
Class representing a Tag document.
Definition: tag.h:15
BlamEditorDocument_Tag::show_invisibles
bool show_invisibles
Whether or not to show invisible (hidden) fields in the editor.
Definition: tag.h:21
BlamEditorDocument_Tag::Save
void Save()
Attempts to save the document, replacing the original file.
Definition: tag.cpp:46
tag_editor.h
BlamEditorDocument_Tag::SaveAs
void SaveAs()
Attempts to save the document, prompting the user to save as a new file.
Definition: tag.cpp:54
BlamEditorDocument
Interface class that any types of editor documents inherit from.
Definition: BlamEditorDocument.h:34
BlamEditorDocument_Tag::BlamEditorDocument_Tag
BlamEditorDocument_Tag(BlamEditorWindow *_window, BlamTag *_tag)
Constructs a new Tag document.
Definition: tag.cpp:8
BlamEditorWindow
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:47
BlamEditorDocument_Tag::tag
BlamTag * tag
The tag associated with this document.
Definition: tag.h:20
BlamEditorDocument_Tag::Close
void Close()
Closes the document and releases any resources being used by it.
Definition: tag.cpp:32
BlamEditorDocument_Tag::show_unused_fields
bool show_unused_fields
Whether or not to show unused fields in the editor.
Definition: tag.h:22