Add a parameter to disable +/- buttons for gui input hex
This commit is contained in:
@@ -25,9 +25,11 @@ IMGUI_API bool InputHex(const char* label, int* data, int num_digits = 4,
|
||||
float input_width = 50.f);
|
||||
IMGUI_API bool InputHexShort(const char* label, uint32_t* data);
|
||||
IMGUI_API bool InputHexWord(const char* label, uint16_t* data,
|
||||
float input_width = 50.f);
|
||||
float input_width = 50.f, bool no_step = false);
|
||||
IMGUI_API bool InputHexWord(const char* label, int16_t* data,
|
||||
float input_width = 50.f, bool no_step = false);
|
||||
IMGUI_API bool InputHexByte(const char* label, uint8_t* data,
|
||||
uint8_t step = 0x01, float input_width = 50.f);
|
||||
float input_width = 50.f, bool no_step = false);
|
||||
|
||||
IMGUI_API bool ListBox(const char* label, int* current_item,
|
||||
const std::vector<std::string>& items,
|
||||
|
||||
Reference in New Issue
Block a user