IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ImGui Namespace Reference

Namespaces

namespace  Compat
namespace  Detail

Enumerations

enum class  OkLCHPickerFlags : ice::u8 {
  None = 0 , NoAlpha = 1 << 0 , Chroma_NoClip = 1 << 1 , Chroma_ClipToMax = 1 << 2 ,
  Chroma_ClipGreedy = 1 << 3 , All = NoAlpha | Chroma_NoClip | Chroma_ClipToMax | Chroma_ClipGreedy
}

Functions

bool Begin (ice::String name, bool *inout_open=nullptr, ImGuiWindowFlags flags=0) noexcept
bool BeginListBox (ice::String label, ice::vec2f size={}) noexcept
void TextUnformatted (ice::String text) noexcept
bool Selectable (ice::String label, bool selected=false, ImGuiSelectableFlags flags=0, ice::vec2f size={}) noexcept
auto ToColor (ice::Color color) noexcept -> ImU32
constexpr auto ToVec2 (ice::vec4f pos) noexcept -> ImVec2
template<typename... Args>
void TextT (fmt::format_string< Args... > format, Args &&... args) noexcept
template<typename... Args>
void TextColoredT (ice::Color col, fmt::format_string< Args... > format, Args &&... args) noexcept
template<typename... Args>
void TextRightT (fmt::format_string< Args... > format, Args &&... args) noexcept
template<typename... Args>
void TextRightColoredT (ice::Color col, fmt::format_string< Args... > format, Args &&... args) noexcept
bool InputText (ice::String label, ice::HeapString<> &out_string, ImGuiInputTextFlags flags=ImGuiInputTextFlags_None) noexcept
bool BeginLargeButton (std::string_view label, int &inout_status, ImVec2 const &size_arg={0, 0}, ImGuiButtonFlags flags=0) noexcept
void EndLargeButton () noexcept
void SetCursorScreenPos2 (ice::vec2f pos) noexcept
bool ColorPickerOkLCH (ice::String label, ice::Color &inout_color, ImGui::OkLCHPickerFlags flags=OkLCHPickerFlags::None, ice::Color const *ref_color=nullptr, ice::f32 max_chroma=0.32f) noexcept

Detailed Description

Copyright 2026 - 2026, Dandielo dandi.nosp@m.elo@.nosp@m.icesh.nosp@m.ard..nosp@m.net SPDX-License-Identifier: MIT

Enumeration Type Documentation

◆ OkLCHPickerFlags

enum class ImGui::OkLCHPickerFlags : ice::u8
strong
Enumerator
None 
NoAlpha 
Chroma_NoClip 
Chroma_ClipToMax 
Chroma_ClipGreedy 
All 

Function Documentation

◆ Begin()

bool ImGui::Begin ( ice::String name,
bool * inout_open = nullptr,
ImGuiWindowFlags flags = 0 )
inlinenoexcept

◆ BeginLargeButton()

bool ImGui::BeginLargeButton ( std::string_view label,
int & inout_status,
ImVec2 const & size_arg = {0, 0},
ImGuiButtonFlags flags = 0 )
noexcept

◆ BeginListBox()

bool ImGui::BeginListBox ( ice::String label,
ice::vec2f size = {} )
inlinenoexcept

◆ ColorPickerOkLCH()

bool ImGui::ColorPickerOkLCH ( ice::String label,
ice::Color & inout_color,
ImGui::OkLCHPickerFlags flags = OkLCHPickerFlags::None,
ice::Color const * ref_color = nullptr,
ice::f32 max_chroma = 0.32f )
noexcept

◆ EndLargeButton()

void ImGui::EndLargeButton ( )
noexcept

◆ InputText()

bool ImGui::InputText ( ice::String label,
ice::HeapString<> & out_string,
ImGuiInputTextFlags flags = ImGuiInputTextFlags_None )
noexcept

◆ Selectable()

bool ImGui::Selectable ( ice::String label,
bool selected = false,
ImGuiSelectableFlags flags = 0,
ice::vec2f size = {} )
inlinenoexcept

◆ SetCursorScreenPos2()

void ImGui::SetCursorScreenPos2 ( ice::vec2f pos)
inlinenoexcept

◆ TextColoredT()

template<typename... Args>
void ImGui::TextColoredT ( ice::Color col,
fmt::format_string< Args... > format,
Args &&... args )
inlinenoexcept

◆ TextRightColoredT()

template<typename... Args>
void ImGui::TextRightColoredT ( ice::Color col,
fmt::format_string< Args... > format,
Args &&... args )
inlinenoexcept

◆ TextRightT()

template<typename... Args>
void ImGui::TextRightT ( fmt::format_string< Args... > format,
Args &&... args )
inlinenoexcept

◆ TextT()

template<typename... Args>
void ImGui::TextT ( fmt::format_string< Args... > format,
Args &&... args )
inlinenoexcept

◆ TextUnformatted()

void ImGui::TextUnformatted ( ice::String text)
inlinenoexcept

◆ ToColor()

auto ImGui::ToColor ( ice::Color color) -> ImU32
inlinenoexcept

◆ ToVec2()

auto ImGui::ToVec2 ( ice::vec4f pos) -> ImVec2
constexprnoexcept