yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
input.cc File Reference
#include "input.h"
#include <functional>
#include <optional>
#include <string>
#include "ImGuiFileDialog/ImGuiFileDialog.h"
#include "absl/strings/string_view.h"
#include "app/gfx/bitmap.h"
#include "app/gfx/snes_palette.h"
#include "app/gfx/snes_tile.h"
#include "app/gui/canvas.h"
#include "app/gui/color.h"
#include "imgui/imgui.h"
#include "imgui/imgui_internal.h"
#include "imgui/misc/cpp/imgui_stdlib.h"
Include dependency graph for input.cc:

Go to the source code of this file.

Namespaces

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

Functions

bool ImGui::InputScalarLeft (const char *label, ImGuiDataType data_type, void *p_data, const void *p_step, const void *p_step_fast, const char *format, float input_width, ImGuiInputTextFlags flags, bool no_step=false)
 
bool yaze::app::gui::InputHex (const char *label, uint64_t *data)
 
bool yaze::app::gui::InputHex (const char *label, int *data, int num_digits, float input_width)
 
bool yaze::app::gui::InputHexShort (const char *label, uint32_t *data)
 
bool yaze::app::gui::InputHexWord (const char *label, uint16_t *data, float input_width, bool no_step)
 
bool yaze::app::gui::InputHexWord (const char *label, int16_t *data, float input_width, bool no_step)
 
bool yaze::app::gui::InputHexByte (const char *label, uint8_t *data, float input_width, bool no_step)
 
bool yaze::app::gui::InputHexByte (const char *label, uint8_t *data, uint8_t max_value, float input_width, bool no_step)
 
void yaze::app::gui::ItemLabel (absl::string_view title, ItemLabelFlags flags)
 
bool yaze::app::gui::ListBox (const char *label, int *current_item, const std::vector< std::string > &items, int height_in_items)
 
bool yaze::app::gui::InputTileInfo (const char *label, gfx::TileInfo *tile_info)
 
ImGuiID yaze::app::gui::GetID (const std::string &id)
 
void yaze::app::gui::FileDialogPipeline (absl::string_view display_key, absl::string_view file_extensions, std::optional< absl::string_view > button_text, std::function< void()> callback)
 

Variables

const int yaze::app::gui::kStepOneHex = 0x01
 
const int yaze::app::gui::kStepFastHex = 0x0F