yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
property_inspector.cc File Reference
#include "app/gui/widgets/property_inspector.h"
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <string>
#include "app/gui/core/color.h"
#include "imgui/imgui.h"
#include "imgui/imgui_internal.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::gui
 Graphical User Interface (GUI) components for the application.
 
namespace  yaze::gui::property_inspector_internal
 
namespace  yaze::gui::anonymous_namespace{property_inspector.cc}
 

Functions

bool yaze::gui::property_inspector_internal::IsInPropertyTable ()
 
void yaze::gui::property_inspector_internal::BeginRow (const char *label, const char *tooltip)
 
std::string yaze::gui::property_inspector_internal::ResolveWidgetId (const char *label)
 
template<typename T >
void yaze::gui::anonymous_namespace{property_inspector.cc}::ClampIfBounded (T *value, const PropertyOptions &opts)
 
const char * yaze::gui::anonymous_namespace{property_inspector.cc}::IntFormat (const PropertyOptions &opts)
 
const char * yaze::gui::anonymous_namespace{property_inspector.cc}::FloatFormat (const PropertyOptions &opts, const char *fallback)
 
bool yaze::gui::DrawProperty (const char *label, bool *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawProperty (const char *label, int *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawProperty (const char *label, std::uint8_t *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawProperty (const char *label, std::uint16_t *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawProperty (const char *label, std::uint32_t *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawProperty (const char *label, float *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawProperty (const char *label, double *value, const PropertyOptions &opts)
 
int yaze::gui::anonymous_namespace{property_inspector.cc}::StringInputCallback (ImGuiInputTextCallbackData *data)
 
bool yaze::gui::DrawProperty (const char *label, std::string *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawProperty (const char *label, ImVec4 *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawProperty (const char *label, Color *value, const PropertyOptions &opts)
 
template<typename T >
bool yaze::gui::anonymous_namespace{property_inspector.cc}::DrawHexScalar (const char *label, T *value, ImGuiDataType type, const char *default_fmt, const PropertyOptions &opts)
 
bool yaze::gui::DrawPropertyHex (const char *label, std::uint8_t *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawPropertyHex (const char *label, std::uint16_t *value, const PropertyOptions &opts)
 
bool yaze::gui::DrawPropertyHex (const char *label, std::uint32_t *value, const PropertyOptions &opts)