yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
input.h File Reference
#include <cstddef>
#include <cstdint>
#include <functional>
#include <optional>
#include <string>
#include <variant>
#include <vector>
#include "absl/strings/string_view.h"
#include "app/gfx/snes_tile.h"
#include "imgui/imgui.h"

Go to the source code of this file.

Classes

struct  yaze::gui::Table
 

Namespaces

namespace  yaze
 Main namespace for the application.
 
namespace  yaze::gui
 Graphical User Interface (GUI) components for the application.
 

Macros

#define IMGUI_DEFINE_MATH_OPERATORS
 

Typedefs

using yaze::gui::ItemLabelFlags
 
using yaze::gui::GuiElement = std::variant<std::function<void()>, std::string>
 

Functions

bool yaze::gui::InputHex (const char *label, uint64_t *data)
 
bool yaze::gui::InputHex (const char *label, int *data, int num_digits, float input_width)
 
bool yaze::gui::InputHexShort (const char *label, uint32_t *data)
 
bool yaze::gui::InputHexWord (const char *label, uint16_t *data, float input_width, bool no_step)
 
bool yaze::gui::InputHexWord (const char *label, int16_t *data, float input_width, bool no_step)
 
bool yaze::gui::InputHexByte (const char *label, uint8_t *data, float input_width, bool no_step)
 
bool yaze::gui::InputHexByte (const char *label, uint8_t *data, uint8_t max_value, float input_width, bool no_step)
 
bool yaze::gui::ListBox (const char *label, int *current_item, const std::vector< std::string > &items, int height_in_items)
 
bool yaze::gui::InputTileInfo (const char *label, gfx::TileInfo *tile_info)
 
void yaze::gui::ItemLabel (absl::string_view title, ItemLabelFlags flags)
 
ImGuiID yaze::gui::GetID (const std::string &id)
 
void yaze::gui::AddTableColumn (Table &table, const std::string &label, GuiElement element)
 
void yaze::gui::DrawTable (Table &params)
 

Variables

constexpr ImVec2 yaze::gui::kDefaultModalSize = ImVec2(200, 0)
 
constexpr ImVec2 yaze::gui::kZeroPos = ImVec2(0, 0)
 

Macro Definition Documentation

◆ IMGUI_DEFINE_MATH_OPERATORS

#define IMGUI_DEFINE_MATH_OPERATORS

Definition at line 4 of file input.h.