Elaztek Developer Hub
Blamite Game Engine - Keystone  00326.06.27.21.0407.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 
28  BlamEditorDocument_Tag(BlamEditorWindow* _window, BlamTag* _tag);
29 
36  BlamEditorDocument_Tag(BlamTag* _tag);
37 
38  void Close();
39 
40  void Save();
41 
42  void SaveAs();
43 };
BlamEditorDocument_Tag
Class representing a Tag document.
Definition: tag.h:15
BlamEditorDocument_Tag::Save
void Save()
Attempts to save the document, replacing the original file.
Definition: tag.cpp:81
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:89
BlamEditorDocument
Interface class that any types of editor documents inherit from.
Definition: BlamEditorDocument.h:33
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:67