Overload  1.1
Game engine with editor
DragMultipleInts.h
Go to the documentation of this file.
1 
7 #pragma once
8 
10 
11 namespace OvUI::Widgets::Drags
12 {
16  template <size_t _Size>
17  class DragMultipleInts : public DragMultipleScalars<int, _Size>
18  {
19  public:
30  (
31  int p_min = 0,
32  int p_max = 100,
33  int p_value = 50,
34  float p_speed = 1.0f,
35  const std::string& p_label = "",
36  const std::string& p_format = "%d"
37  ) : DragMultipleScalars<int, _Size>(ImGuiDataType_::ImGuiDataType_S32, p_min, p_max, p_value, p_speed, p_label, p_format) {}
38  };
39 }
OvUI::Widgets::Drags
Definition: DragDouble.h:11
OvUI::Widgets::Drags::DragMultipleInts::DragMultipleInts
DragMultipleInts(int p_min=0, int p_max=100, int p_value=50, float p_speed=1.0f, const std::string &p_label="", const std::string &p_format="%d")
Definition: DragMultipleInts.h:30
OvUI::Widgets::Drags::DragMultipleInts
Definition: DragMultipleInts.h:17
DragMultipleScalars.h
OvUI::Widgets::Drags::DragMultipleScalars
Definition: DragMultipleScalars.h:21