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

Constructor & Destructor Documentation

◆ ExampleAppLog()

ExampleAppLog::ExampleAppLog ( )
inline

Definition at line 7449 of file imgui_demo.cc.

References AutoScroll, and Clear().

Member Function Documentation

◆ AddLog()

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

Definition at line 7462 of file imgui_demo.cc.

References Buf, and LineOffsets.

◆ Clear()

void ExampleAppLog::Clear ( )
inline

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

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

Member Data Documentation

◆ AutoScroll

bool ExampleAppLog::AutoScroll

Definition at line 7447 of file imgui_demo.cc.

Referenced by Draw(), and ExampleAppLog().

◆ Buf

ImGuiTextBuffer ExampleAppLog::Buf

Definition at line 7444 of file imgui_demo.cc.

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

◆ Filter

ImGuiTextFilter ExampleAppLog::Filter

Definition at line 7445 of file imgui_demo.cc.

Referenced by Draw().

◆ LineOffsets

ImVector<int> ExampleAppLog::LineOffsets

Definition at line 7446 of file imgui_demo.cc.

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


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