Struct MyDocument

Struct Documentation

struct MyDocument

Public Functions

inline MyDocument(const char *name, bool open = true, const ImVec4 &color = ImVec4(1.0f, 1.0f, 1.0f, 1.0f))
inline void DoOpen()
inline void DoQueueClose()
inline void DoForceClose()
inline void DoSave()

Public Members

const char *Name
bool Open
bool OpenPrev
bool Dirty
bool WantClose
ImVec4 Color

Public Static Functions

static inline void DisplayContents(MyDocument *doc)
static inline void DisplayContextMenu(MyDocument *doc)