openMSX
Public Member Functions | Public Attributes | List of all members
MyDocument Struct Reference

Public Member Functions

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

Public Attributes

char Name [32]
 
int UID
 
bool Open
 
bool OpenPrev
 
bool Dirty
 
ImVec4 Color
 

Detailed Description

Definition at line 9898 of file imgui_demo.cc.

Constructor & Destructor Documentation

◆ MyDocument()

MyDocument::MyDocument ( int  uid,
const char *  name,
bool  open = true,
const ImVec4 &  color = ImVec4(1.0f, 1.0f, 1.0f, 1.0f) 
)
inline

Definition at line 9907 of file imgui_demo.cc.

References Color, Dirty, Name, Open, OpenPrev, and UID.

Member Function Documentation

◆ DoForceClose()

void MyDocument::DoForceClose ( )
inline

Definition at line 9916 of file imgui_demo.cc.

References Dirty, and Open.

◆ DoOpen()

void MyDocument::DoOpen ( )
inline

Definition at line 9915 of file imgui_demo.cc.

References Open.

◆ DoSave()

void MyDocument::DoSave ( )
inline

Member Data Documentation

◆ Color

ImVec4 MyDocument::Color

Definition at line 9905 of file imgui_demo.cc.

Referenced by ExampleAppDocuments::DisplayDocContents(), and MyDocument().

◆ Dirty

bool MyDocument::Dirty

◆ Name

char MyDocument::Name[32]

◆ Open

bool MyDocument::Open

◆ OpenPrev

bool MyDocument::OpenPrev

Definition at line 9903 of file imgui_demo.cc.

Referenced by MyDocument().

◆ UID

int MyDocument::UID

Definition at line 9901 of file imgui_demo.cc.

Referenced by ExampleAppDocuments::GetTabName(), and MyDocument().


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