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

Public Member Functions

 ExampleAppLog ()
 
void Clear ()
 
void AddLog (const char *fmt,...) IM_FMTARGS(2)
 
void Draw (const char *title, bool *p_open=NULL)
 

Public Attributes

ImGuiTextBuffer Buf
 
ImGuiTextFilter Filter
 
ImVector< int > LineOffsets
 
bool AutoScroll
 

Detailed Description

Definition at line 8768 of file imgui_demo.cc.

Constructor & Destructor Documentation

◆ ExampleAppLog()

ExampleAppLog::ExampleAppLog ( )
inline

Definition at line 8775 of file imgui_demo.cc.

References AutoScroll, and Clear().

Member Function Documentation

◆ AddLog()

void ExampleAppLog::AddLog ( const char *  fmt,
  ... 
)
inline

Definition at line 8788 of file imgui_demo.cc.

References Buf, and LineOffsets.

◆ Clear()

void ExampleAppLog::Clear ( )
inline

Definition at line 8781 of file imgui_demo.cc.

References Buf, and LineOffsets.

Referenced by Draw(), and ExampleAppLog().

◆ Draw()

void ExampleAppLog::Draw ( const char *  title,
bool *  p_open = NULL 
)
inline

Definition at line 8800 of file imgui_demo.cc.

References AutoScroll, Buf, Clear(), Filter, LineOffsets, and ImGui::TextUnformatted().

Member Data Documentation

◆ AutoScroll

bool ExampleAppLog::AutoScroll

Definition at line 8773 of file imgui_demo.cc.

Referenced by Draw(), and ExampleAppLog().

◆ Buf

ImGuiTextBuffer ExampleAppLog::Buf

Definition at line 8770 of file imgui_demo.cc.

Referenced by AddLog(), Clear(), and Draw().

◆ Filter

ImGuiTextFilter ExampleAppLog::Filter

Definition at line 8771 of file imgui_demo.cc.

Referenced by Draw().

◆ LineOffsets

ImVector<int> ExampleAppLog::LineOffsets

Definition at line 8772 of file imgui_demo.cc.

Referenced by AddLog(), Clear(), and Draw().


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