yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gui::anonymous_namespace{input.cc} Namespace Reference

Classes

struct  DeferredScalarEdit
 
struct  DeferredScalarStorage
 

Functions

void ResetDeferredScalarEdit (DeferredScalarEdit &edit, ImGuiDataType data_type, const void *data, size_t data_size, int frame, InputScalarTargetIdentity target_identity)
 
void PrepareDeferredScalarStorage (ImGuiContext *context, int frame)
 
bool IsValueWheelAdjustmentAllowedForCurrentItem ()
 
template<typename T >
bool ApplyHexMouseWheel (T *data, T min_value, T max_value)
 

Variables

constexpr size_t kMaxDeferredScalarBytes = sizeof(uint64_t)
 
thread_local DeferredScalarStorage g_deferred_scalar_storage
 

Function Documentation

◆ ResetDeferredScalarEdit()

◆ PrepareDeferredScalarStorage()

void yaze::gui::anonymous_namespace{input.cc}::PrepareDeferredScalarStorage ( ImGuiContext * context,
int frame )

◆ IsValueWheelAdjustmentAllowedForCurrentItem()

bool yaze::gui::anonymous_namespace{input.cc}::IsValueWheelAdjustmentAllowedForCurrentItem ( )

Definition at line 350 of file input.cc.

References IsValueWheelAdjustmentAllowedForCurrentItem().

Referenced by ApplyHexMouseWheel(), and IsValueWheelAdjustmentAllowedForCurrentItem().

Here is the call graph for this function:

◆ ApplyHexMouseWheel()

template<typename T >
bool yaze::gui::anonymous_namespace{input.cc}::ApplyHexMouseWheel ( T * data,
T min_value,
T max_value )

Definition at line 361 of file input.cc.

References ApplyHexMouseWheel(), and IsValueWheelAdjustmentAllowedForCurrentItem().

Referenced by ApplyHexMouseWheel().

Here is the call graph for this function:

Variable Documentation

◆ kMaxDeferredScalarBytes

constexpr size_t yaze::gui::anonymous_namespace{input.cc}::kMaxDeferredScalarBytes = sizeof(uint64_t)
constexpr

Definition at line 301 of file input.cc.

◆ g_deferred_scalar_storage

thread_local DeferredScalarStorage yaze::gui::anonymous_namespace{input.cc}::g_deferred_scalar_storage

Definition at line 320 of file input.cc.

Referenced by PrepareDeferredScalarStorage().