TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::Document Struct Reference

A document: a level, prefab, material graph, ... with its own panels. More...

#include <gui_controls/gui_docking_types.h>

Classes

struct  Internal
 Kept by the documents; not part of the API. More...

Public Attributes

tachyon::ID id = tachyon::ID::Invalid()
 its tab's; CreateDocument makes a static one
std::string name
 "Forest"
std::string extension
 ".level", after the name, muted
std::string kind
 The type, which picks its colors: the classes .document-tab-<kind>, .document-name-<kind> and .document-line-<kind>, or the plain .document-tab, .document-name and .document-line when the theme has none for it.
tachyon::IconID icon = tachyon::IconID::Invalid
bool dirty = false
 unsaved changes: a dot on its tab
DockingLayout layout
 its panels
struct tachyon::Document::Internal internal
 not part of the API

Detailed Description

A document: a level, prefab, material graph, ... with its own panels.

Member Data Documentation

◆ id

tachyon::ID tachyon::Document::id = tachyon::ID::Invalid()

its tab's; CreateDocument makes a static one

◆ name

std::string tachyon::Document::name

"Forest"

◆ extension

std::string tachyon::Document::extension

".level", after the name, muted

◆ kind

std::string tachyon::Document::kind

The type, which picks its colors: the classes .document-tab-<kind>, .document-name-<kind> and .document-line-<kind>, or the plain .document-tab, .document-name and .document-line when the theme has none for it.

◆ icon

tachyon::IconID tachyon::Document::icon = tachyon::IconID::Invalid

◆ dirty

bool tachyon::Document::dirty = false

unsaved changes: a dot on its tab

◆ layout

DockingLayout tachyon::Document::layout

its panels

◆ internal

struct tachyon::Document::Internal tachyon::Document::internal

not part of the API


The documentation for this struct was generated from the following file: