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 (int count, std::invocable< int > auto next)
 
void ID_for_range (size_t 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 300 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 518 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.

◆ 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(), and ID_for_range().

◆ 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() [1/2]

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

◆ ID_for_range() [2/2]

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

Definition at line 287 of file ImGuiCpp.hh.

References ID_for_range().

◆ 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 386 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 339 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 553 of file ImGuiCpp.hh.

References ListClipper().

◆ ListClipper() [3/3]

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

Definition at line 557 of file ImGuiCpp.hh.

References ListClipper().

◆ ListClipperID()

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

Definition at line 563 of file ImGuiCpp.hh.

References xrange().

◆ MainMenuBar()

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

Definition at line 354 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 372 of file ImGuiCpp.hh.

References Menu().

◆ MenuBar()

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

Definition at line 345 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 402 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 432 of file ImGuiCpp.hh.

References PopupContextItem().

◆ PopupContextItem() [3/3]

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

Definition at line 436 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 449 of file ImGuiCpp.hh.

References PopupContextWindow().

◆ PopupContextWindow() [3/3]

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

Definition at line 453 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 415 of file ImGuiCpp.hh.

References PopupModal().

◆ PopupModal() [3/3]

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

Definition at line 419 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 480 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 487 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 493 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 500 of file ImGuiCpp.hh.

References TabItem().

◆ TabItem() [3/3]

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

Definition at line 504 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 466 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 470 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 474 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 378 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 319 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 315 of file ImGuiCpp.hh.

References TreeNode().

◆ VisuallyDisabled()

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

Definition at line 528 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().