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 8810 of file imgui_demo.cc.

Constructor & Destructor Documentation

◆ ExampleAppLog()

ExampleAppLog::ExampleAppLog ( )
inline

Definition at line 8817 of file imgui_demo.cc.

References AutoScroll, and Clear().

Member Function Documentation

◆ AddLog()

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

Definition at line 8830 of file imgui_demo.cc.

References Buf, and LineOffsets.

◆ Clear()

void ExampleAppLog::Clear ( )
inline

Definition at line 8823 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 8842 of file imgui_demo.cc.

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

Member Data Documentation

◆ AutoScroll

bool ExampleAppLog::AutoScroll

Definition at line 8815 of file imgui_demo.cc.

Referenced by Draw(), and ExampleAppLog().

◆ Buf

ImGuiTextBuffer ExampleAppLog::Buf

Definition at line 8812 of file imgui_demo.cc.

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

◆ Filter

ImGuiTextFilter ExampleAppLog::Filter

Definition at line 8813 of file imgui_demo.cc.

Referenced by Draw().

◆ LineOffsets

ImVector<int> ExampleAppLog::LineOffsets

Definition at line 8814 of file imgui_demo.cc.

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


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