openMSX
Classes | Functions
im Namespace Reference

Classes

struct  ScopedFont
 
struct  WindowStatus
 

Functions

void Window (const char *name, bool *p_open, ImGuiWindowFlags flags, std::invocable<> auto next)
 
void Window (const char *name, bool *p_open, std::invocable<> auto next)
 
void Window (const char *name, std::invocable<> auto next)
 
void Window (const char *name, WindowStatus &status, ImGuiWindowFlags flags, std::invocable<> auto next)
 
void Window (const char *name, WindowStatus &status, std::invocable<> auto next)
 
void Child (const char *str_id, const ImVec2 &size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags, std::invocable<> auto next)
 
void Child (const char *str_id, const ImVec2 &size, ImGuiChildFlags child_flags, std::invocable<> auto next)
 
void Child (const char *str_id, const ImVec2 &size, std::invocable<> auto next)
 
void Child (const char *str_id, std::invocable<> auto next)
 
void Font (ImFont *font, std::invocable<> auto next)
 
template<int N>
void StyleColor_impl (bool active, std::invocable<> auto next)
 
template<int N, typename... Args>
void StyleColor_impl (bool active, ImGuiCol idx, ImVec4 col, Args &&...args)
 
template<int N, typename... Args>
void StyleColor_impl (bool active, ImGuiCol idx, ImU32 col, Args &&...args)
 
template<typename... Args>
void StyleColor (bool active, Args &&...args)
 
template<typename... Args>
void StyleColor (Args &&...args)
 
void StyleVar (ImGuiStyleVar idx, float val, std::invocable<> auto next)
 
void StyleVar (ImGuiStyleVar idx, const ImVec2 &val, std::invocable<> auto next)
 
void ItemWidth (float item_width, std::invocable<> auto next)
 
void TextWrapPos (float wrap_local_pos_x, std::invocable<> auto next)
 
void TextWrapPos (std::invocable<> auto next)
 
void Indent (float indent_w, std::invocable<> auto next)
 
void Indent (std::invocable<> auto next)
 
void Group (std::invocable<> auto next)
 
void ID (const char *str_id, std::invocable<> auto next)
 
void ID (const char *str_id_begin, const char *str_id_end, std::invocable<> auto next)
 
void ID (const void *ptr_id, std::invocable<> auto next)
 
void ID (int int_id, std::invocable<> auto next)
 
void ID (const std::string &str, std::invocable<> auto next)
 
void ID (std::string_view str, std::invocable<> auto next)
 
void ID_for_range (std::integral auto count, std::invocable< int > auto next)
 
void Combo (const char *label, const char *preview_value, ImGuiComboFlags flags, std::invocable<> auto next)
 
void Combo (const char *label, const char *preview_value, std::invocable<> auto next)
 
bool TreeNode (const char *label, ImGuiTreeNodeFlags flags, std::invocable<> auto next)
 
bool TreeNode (const char *label, std::invocable<> auto next)
 
void TreeNode (const char *label, bool *p_open, std::invocable<> auto next)
 
void ListBox (const char *label, const ImVec2 &size, std::invocable<> auto next)
 
void ListBox (const char *label, std::invocable<> auto next)
 
void MenuBar (std::invocable<> auto next)
 
void MainMenuBar (std::invocable<> auto next)
 
bool Menu (const char *label, bool enabled, std::invocable<> auto next)
 
bool Menu (const char *label, std::invocable<> auto next)
 
void Tooltip (std::invocable<> auto next)
 
void ItemTooltip (std::invocable<> auto next)
 
void Popup (const char *str_id, ImGuiWindowFlags flags, std::invocable<> auto next)
 
void Popup (const char *str_id, std::invocable<> auto next)
 
void PopupModal (const char *name, bool *p_open, ImGuiWindowFlags flags, std::invocable<> auto next)
 
void PopupModal (const char *name, bool *p_open, std::invocable<> auto next)
 
void PopupModal (const char *name, std::invocable<> auto next)
 
void PopupContextItem (const char *str_id, ImGuiPopupFlags popup_flags, std::invocable<> auto next)
 
void PopupContextItem (const char *str_id, std::invocable<> auto next)
 
void PopupContextItem (std::invocable<> auto next)
 
void PopupContextWindow (const char *str_id, ImGuiPopupFlags popup_flags, std::invocable<> auto next)
 
void PopupContextWindow (const char *str_id, std::invocable<> auto next)
 
void PopupContextWindow (std::invocable<> auto next)
 
void Table (const char *str_id, int column, ImGuiTableFlags flags, const ImVec2 &outer_size, float inner_width, std::invocable<> auto next)
 
void Table (const char *str_id, int column, ImGuiTableFlags flags, const ImVec2 &outer_size, std::invocable<> auto next)
 
void Table (const char *str_id, int column, ImGuiTableFlags flags, std::invocable<> auto next)
 
void Table (const char *str_id, int column, std::invocable<> auto next)
 
void TabBar (const char *str_id, ImGuiTabBarFlags flags, std::invocable<> auto next)
 
void TabBar (const char *str_id, std::invocable<> auto next)
 
void TabItem (const char *label, bool *p_open, ImGuiTabItemFlags flags, std::invocable<> auto next)
 
void TabItem (const char *label, bool *p_open, std::invocable<> auto next)
 
void TabItem (const char *label, std::invocable<> auto next)
 
void Disabled (bool b, std::invocable<> auto next)
 
void DisabledIndent (bool b, std::invocable<> auto next)
 
void VisuallyDisabled (bool b, std::invocable<> auto next)
 
void ListClipper (size_t count, int forceIndex, float lineHeight, std::invocable< int > auto next)
 
void ListClipper (size_t count, int forceIndex, std::invocable< int > auto next)
 
void ListClipper (size_t count, std::invocable< int > auto next)
 
void ListClipperID (size_t count, std::invocable< int > auto next)
 

Function Documentation

◆ Child() [1/4]

void im::Child ( const char *  str_id,
const ImVec2 &  size,
ImGuiChildFlags  child_flags,
ImGuiWindowFlags  window_flags,
std::invocable<> auto  next 
)
inline

◆ Child() [2/4]

void im::Child ( const char *  str_id,
const ImVec2 &  size,
ImGuiChildFlags  child_flags,
std::invocable<> auto  next 
)
inline

Definition at line 117 of file ImGuiCpp.hh.

References Child().

◆ Child() [3/4]

void im::Child ( const char *  str_id,
const ImVec2 &  size,
std::invocable<> auto  next 
)
inline

Definition at line 121 of file ImGuiCpp.hh.

References Child().

◆ Child() [4/4]

void im::Child ( const char *  str_id,
std::invocable<> auto  next 
)
inline

Definition at line 125 of file ImGuiCpp.hh.

References Child().

◆ Combo() [1/2]

void im::Combo ( const char *  label,
const char *  preview_value,
ImGuiComboFlags  flags,
std::invocable<> auto  next 
)
inline

◆ Combo() [2/2]

void im::Combo ( const char *  label,
const char *  preview_value,
std::invocable<> auto  next 
)
inline

Definition at line 296 of file ImGuiCpp.hh.

References Combo().

◆ Disabled()

void im::Disabled ( bool  b,
std::invocable<> auto  next 
)
inline

◆ DisabledIndent()

void im::DisabledIndent ( bool  b,
std::invocable<> auto  next 
)
inline

Definition at line 514 of file ImGuiCpp.hh.

Referenced by openmsx::ImGuiDiskManipulator::paint().

◆ Font()

void im::Font ( ImFont *  font,
std::invocable<> auto  next 
)
inline

Definition at line 131 of file ImGuiCpp.hh.

Referenced by openmsx::ImGuiBitmapViewer::paint().

◆ Group()

void im::Group ( std::invocable<> auto  next)
inline

◆ ID() [1/6]

void im::ID ( const char *  str_id,
std::invocable<> auto  next 
)
inline

Definition at line 244 of file ImGuiCpp.hh.

References ID().

Referenced by ID(), ID(), ID(), ID(), ID(), ID(), ID_for_range(), and openmsx::ImGuiWaveViewer::paint().

◆ ID() [2/6]

void im::ID ( const char *  str_id_begin,
const char *  str_id_end,
std::invocable<> auto  next 
)
inline

Definition at line 250 of file ImGuiCpp.hh.

References ID().

◆ ID() [3/6]

void im::ID ( const std::string &  str,
std::invocable<> auto  next 
)
inline

Definition at line 268 of file ImGuiCpp.hh.

References begin(), end(), and ID().

◆ ID() [4/6]

void im::ID ( const void *  ptr_id,
std::invocable<> auto  next 
)
inline

Definition at line 256 of file ImGuiCpp.hh.

References ID().

◆ ID() [5/6]

void im::ID ( int  int_id,
std::invocable<> auto  next 
)
inline

Definition at line 262 of file ImGuiCpp.hh.

References ID().

◆ ID() [6/6]

void im::ID ( std::string_view  str,
std::invocable<> auto  next 
)
inline

Definition at line 274 of file ImGuiCpp.hh.

References begin(), end(), and ID().

◆ ID_for_range()

void im::ID_for_range ( std::integral auto  count,
std::invocable< int > auto  next 
)
inline

◆ Indent() [1/2]

void im::Indent ( float  indent_w,
std::invocable<> auto  next 
)
inline

◆ Indent() [2/2]

void im::Indent ( std::invocable<> auto  next)
inline

Definition at line 230 of file ImGuiCpp.hh.

References Indent().

◆ ItemTooltip()

void im::ItemTooltip ( std::invocable<> auto  next)
inline

Definition at line 382 of file ImGuiCpp.hh.

Referenced by openmsx::simpleToolTip().

◆ ItemWidth()

void im::ItemWidth ( float  item_width,
std::invocable<> auto  next 
)
inline

◆ ListBox() [1/2]

void im::ListBox ( const char *  label,
const ImVec2 &  size,
std::invocable<> auto  next 
)
inline

◆ ListBox() [2/2]

void im::ListBox ( const char *  label,
std::invocable<> auto  next 
)
inline

Definition at line 335 of file ImGuiCpp.hh.

References ListBox().

◆ ListClipper() [1/3]

void im::ListClipper ( size_t  count,
int  forceIndex,
float  lineHeight,
std::invocable< int > auto  next 
)
inline

◆ ListClipper() [2/3]

void im::ListClipper ( size_t  count,
int  forceIndex,
std::invocable< int > auto  next 
)
inline

Definition at line 549 of file ImGuiCpp.hh.

References ListClipper().

◆ ListClipper() [3/3]

void im::ListClipper ( size_t  count,
std::invocable< int > auto  next 
)
inline

Definition at line 553 of file ImGuiCpp.hh.

References ListClipper().

◆ ListClipperID()

void im::ListClipperID ( size_t  count,
std::invocable< int > auto  next 
)
inline

Definition at line 559 of file ImGuiCpp.hh.

References xrange().

◆ MainMenuBar()

void im::MainMenuBar ( std::invocable<> auto  next)
inline

Definition at line 350 of file ImGuiCpp.hh.

Referenced by openmsx::ImGuiManager::paintImGui().

◆ Menu() [1/2]

bool im::Menu ( const char *  label,
bool  enabled,
std::invocable<> auto  next 
)
inline

◆ Menu() [2/2]

bool im::Menu ( const char *  label,
std::invocable<> auto  next 
)
inline

Definition at line 368 of file ImGuiCpp.hh.

References Menu().

◆ MenuBar()

void im::MenuBar ( std::invocable<> auto  next)
inline

Definition at line 341 of file ImGuiCpp.hh.

Referenced by openmsx::ImGuiManager::paintImGui().

◆ Popup() [1/2]

void im::Popup ( const char *  str_id,
ImGuiWindowFlags  flags,
std::invocable<> auto  next 
)
inline

◆ Popup() [2/2]

void im::Popup ( const char *  str_id,
std::invocable<> auto  next 
)
inline

Definition at line 398 of file ImGuiCpp.hh.

References Popup().

◆ PopupContextItem() [1/3]

void im::PopupContextItem ( const char *  str_id,
ImGuiPopupFlags  popup_flags,
std::invocable<> auto  next 
)
inline

◆ PopupContextItem() [2/3]

void im::PopupContextItem ( const char *  str_id,
std::invocable<> auto  next 
)
inline

Definition at line 428 of file ImGuiCpp.hh.

References PopupContextItem().

◆ PopupContextItem() [3/3]

void im::PopupContextItem ( std::invocable<> auto  next)
inline

Definition at line 432 of file ImGuiCpp.hh.

References PopupContextItem().

◆ PopupContextWindow() [1/3]

void im::PopupContextWindow ( const char *  str_id,
ImGuiPopupFlags  popup_flags,
std::invocable<> auto  next 
)
inline

◆ PopupContextWindow() [2/3]

void im::PopupContextWindow ( const char *  str_id,
std::invocable<> auto  next 
)
inline

Definition at line 445 of file ImGuiCpp.hh.

References PopupContextWindow().

◆ PopupContextWindow() [3/3]

void im::PopupContextWindow ( std::invocable<> auto  next)
inline

Definition at line 449 of file ImGuiCpp.hh.

References PopupContextWindow().

◆ PopupModal() [1/3]

void im::PopupModal ( const char *  name,
bool *  p_open,
ImGuiWindowFlags  flags,
std::invocable<> auto  next 
)
inline

◆ PopupModal() [2/3]

void im::PopupModal ( const char *  name,
bool *  p_open,
std::invocable<> auto  next 
)
inline

Definition at line 411 of file ImGuiCpp.hh.

References PopupModal().

◆ PopupModal() [3/3]

void im::PopupModal ( const char *  name,
std::invocable<> auto  next 
)
inline

Definition at line 415 of file ImGuiCpp.hh.

References PopupModal().

◆ StyleColor() [1/2]

template<typename... Args>
void im::StyleColor ( Args &&...  args)
inline

Definition at line 183 of file ImGuiCpp.hh.

References StyleColor().

◆ StyleColor() [2/2]

template<typename... Args>
void im::StyleColor ( bool  active,
Args &&...  args 
)
inline

◆ StyleColor_impl() [1/3]

template<int N, typename... Args>
void im::StyleColor_impl ( bool  active,
ImGuiCol  idx,
ImU32  col,
Args &&...  args 
)
inline

Definition at line 169 of file ImGuiCpp.hh.

◆ StyleColor_impl() [2/3]

template<int N, typename... Args>
void im::StyleColor_impl ( bool  active,
ImGuiCol  idx,
ImVec4  col,
Args &&...  args 
)
inline

Definition at line 163 of file ImGuiCpp.hh.

◆ StyleColor_impl() [3/3]

template<int N>
void im::StyleColor_impl ( bool  active,
std::invocable<> auto  next 
)
inline

Definition at line 157 of file ImGuiCpp.hh.

Referenced by StyleColor().

◆ StyleVar() [1/2]

void im::StyleVar ( ImGuiStyleVar  idx,
const ImVec2 &  val,
std::invocable<> auto  next 
)
inline

Definition at line 196 of file ImGuiCpp.hh.

◆ StyleVar() [2/2]

void im::StyleVar ( ImGuiStyleVar  idx,
float  val,
std::invocable<> auto  next 
)
inline

◆ TabBar() [1/2]

void im::TabBar ( const char *  str_id,
ImGuiTabBarFlags  flags,
std::invocable<> auto  next 
)
inline

Definition at line 476 of file ImGuiCpp.hh.

Referenced by openmsx::ImGuiBreakPoints::paint(), and TabBar().

◆ TabBar() [2/2]

void im::TabBar ( const char *  str_id,
std::invocable<> auto  next 
)
inline

Definition at line 483 of file ImGuiCpp.hh.

References TabBar().

◆ TabItem() [1/3]

void im::TabItem ( const char *  label,
bool *  p_open,
ImGuiTabItemFlags  flags,
std::invocable<> auto  next 
)
inline

Definition at line 489 of file ImGuiCpp.hh.

Referenced by openmsx::ImGuiBreakPoints::paint(), TabItem(), and TabItem().

◆ TabItem() [2/3]

void im::TabItem ( const char *  label,
bool *  p_open,
std::invocable<> auto  next 
)
inline

Definition at line 496 of file ImGuiCpp.hh.

References TabItem().

◆ TabItem() [3/3]

void im::TabItem ( const char *  label,
std::invocable<> auto  next 
)
inline

Definition at line 500 of file ImGuiCpp.hh.

References TabItem().

◆ Table() [1/4]

void im::Table ( const char *  str_id,
int  column,
ImGuiTableFlags  flags,
const ImVec2 &  outer_size,
float  inner_width,
std::invocable<> auto  next 
)
inline

◆ Table() [2/4]

void im::Table ( const char *  str_id,
int  column,
ImGuiTableFlags  flags,
const ImVec2 &  outer_size,
std::invocable<> auto  next 
)
inline

Definition at line 462 of file ImGuiCpp.hh.

References Table().

◆ Table() [3/4]

void im::Table ( const char *  str_id,
int  column,
ImGuiTableFlags  flags,
std::invocable<> auto  next 
)
inline

Definition at line 466 of file ImGuiCpp.hh.

References Table().

◆ Table() [4/4]

void im::Table ( const char *  str_id,
int  column,
std::invocable<> auto  next 
)
inline

Definition at line 470 of file ImGuiCpp.hh.

References Table().

◆ TextWrapPos() [1/2]

void im::TextWrapPos ( float  wrap_local_pos_x,
std::invocable<> auto  next 
)
inline

◆ TextWrapPos() [2/2]

void im::TextWrapPos ( std::invocable<> auto  next)
inline

Definition at line 218 of file ImGuiCpp.hh.

References TextWrapPos().

◆ Tooltip()

void im::Tooltip ( std::invocable<> auto  next)
inline

Definition at line 374 of file ImGuiCpp.hh.

Referenced by openmsx::ImGuiReverseBar::paint(), and openmsx::simpleToolTip().

◆ TreeNode() [1/3]

void im::TreeNode ( const char *  label,
bool *  p_open,
std::invocable<> auto  next 
)
inline

Definition at line 315 of file ImGuiCpp.hh.

◆ TreeNode() [2/3]

bool im::TreeNode ( const char *  label,
ImGuiTreeNodeFlags  flags,
std::invocable<> auto  next 
)
inline

◆ TreeNode() [3/3]

bool im::TreeNode ( const char *  label,
std::invocable<> auto  next 
)
inline

Definition at line 311 of file ImGuiCpp.hh.

References TreeNode().

◆ VisuallyDisabled()

void im::VisuallyDisabled ( bool  b,
std::invocable<> auto  next 
)
inline

Definition at line 524 of file ImGuiCpp.hh.

◆ Window() [1/5]

void im::Window ( const char *  name,
bool *  p_open,
ImGuiWindowFlags  flags,
std::invocable<> auto  next 
)
inline

◆ Window() [2/5]

void im::Window ( const char *  name,
bool *  p_open,
std::invocable<> auto  next 
)
inline

Definition at line 70 of file ImGuiCpp.hh.

References Window().

◆ Window() [3/5]

void im::Window ( const char *  name,
std::invocable<> auto  next 
)
inline

Definition at line 74 of file ImGuiCpp.hh.

References Window().

◆ Window() [4/5]

void im::Window ( const char *  name,
WindowStatus status,
ImGuiWindowFlags  flags,
std::invocable<> auto  next 
)
inline

Definition at line 85 of file ImGuiCpp.hh.

References im::WindowStatus::do_raise, and im::WindowStatus::open.

◆ Window() [5/5]

void im::Window ( const char *  name,
WindowStatus status,
std::invocable<> auto  next 
)
inline

Definition at line 104 of file ImGuiCpp.hh.

References Window().