Skip to content

Commit

Permalink
Fix a bug where formats are invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
durswd committed Feb 27, 2024
1 parent 8c52de3 commit 627b0f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dev/Cpp/Viewer/GUI/efk.GUIManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -792,17 +792,17 @@ class GUIManager
float v_speed = 1.0f,
int v_min = 0,
int v_max = 0,
const char* display_format = "%.0f"); // If v_min >= v_max we have no bound
bool DragInt2(const char16_t* label, int* v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* display_format = "%.0f");
bool DragInt3(const char16_t* label, int* v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* display_format = "%.0f");
bool DragInt4(const char16_t* label, int* v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* display_format = "%.0f");
const char* display_format = "%d"); // If v_min >= v_max we have no bound
bool DragInt2(const char16_t* label, int* v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* display_format = "%d");
bool DragInt3(const char16_t* label, int* v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* display_format = "%d");
bool DragInt4(const char16_t* label, int* v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char* display_format = "%d");
bool DragIntRange2(const char16_t* label,
int* v_current_min,
int* v_current_max,
float v_speed = 1.0f,
int v_min = 0,
int v_max = 0,
const char* display_format = "%.0f",
const char* display_format = "%d",
const char* display_format_max = nullptr);

// Drags(Ex)
Expand Down

0 comments on commit 627b0f3

Please sign in to comment.