Namespaces | Functions File Reference
#include "ImGuiUtils.hh"
#include "ImGuiCpp.hh"
#include "BooleanSetting.hh"
#include "EnumSetting.hh"
#include "HotKey.hh"
#include "IntegerSetting.hh"
#include "FloatSetting.hh"
#include "VideoSourceSetting.hh"
#include "ranges.hh"
#include <imgui.h>
#include <imgui_stdlib.h>
#include <SDL.h>
#include <variant>
Include dependency graph for

Go to the source code of this file.


namespace  openmsx
 This file implemented 3 utility functions:


void openmsx::HelpMarker (std::string_view desc)
void openmsx::drawURL (std::string_view text, zstring_view url)
bool openmsx::Checkbox (const HotKey &hotKey, BooleanSetting &setting)
bool openmsx::Checkbox (const HotKey &hotKey, const char *label, BooleanSetting &setting, std::function< std::string(const Setting &)> getTooltip)
bool openmsx::SliderInt (IntegerSetting &setting, ImGuiSliderFlags flags)
bool openmsx::SliderInt (const char *label, IntegerSetting &setting, ImGuiSliderFlags flags)
bool openmsx::SliderFloat (FloatSetting &setting, const char *format, ImGuiSliderFlags flags)
bool openmsx::SliderFloat (const char *label, FloatSetting &setting, const char *format, ImGuiSliderFlags flags)
bool openmsx::InputText (Setting &setting)
bool openmsx::InputText (const char *label, Setting &setting)
void openmsx::ComboBox (const char *label, Setting &setting, std::function< std::string(const std::string &)> displayValue, EnumToolTips toolTips)
void openmsx::ComboBox (const char *label, Setting &setting, EnumToolTips toolTips)
void openmsx::ComboBox (Setting &setting, EnumToolTips toolTips)
void openmsx::ComboBox (VideoSourceSetting &setting)
void openmsx::ComboBox (const char *label, VideoSourceSetting &setting)
const char * openmsx::getComboString (int item, const char *itemsSeparatedByZeros)
std::string openmsx::formatTime (double time)
float openmsx::calculateFade (float current, float target, float period)
std::string openmsx::getShortCutForCommand (const HotKey &hotkey, std::string_view command)
void openmsx::setColors (int style)