# Changes 0.3.1
- Add Layout API and let Menu use it - Add DragData (for float, double, int, etc) - Add IO Delta calculation to not require a users delta value - Add Config Var for SLider drag min size - Remove Hid::Ref input of Containers as IO DragApi is used - Containers that accept input will require an ID to function
This commit is contained in:
		| @@ -61,6 +61,7 @@ class IO : public SmartCtor<IO> { | ||||
|  | ||||
|   float Framerate = 0.f; | ||||
|   float Delta = 0.f; | ||||
|   u64 LastTime = 0; | ||||
|   TimeStats::Ref DeltaStats; | ||||
|   Timer::Ref Time; | ||||
|   Hid::Ref Inp; | ||||
| @@ -69,7 +70,8 @@ class IO : public SmartCtor<IO> { | ||||
|   vec2 MenuPadding = 5.f; | ||||
|   vec2 FramePadding = 5.f; | ||||
|   vec2 ItemSpace = vec2(5.f, 2.f); | ||||
|   u64 DoubleClickTime = 500;  // Milliseconds | ||||
|   vec2 MinSliderDragSize = 10.f;  // Min height (Vt) and Min Width (Hz) | ||||
|   u64 DoubleClickTime = 500;      // Milliseconds | ||||
|   std::vector<std::pair<UI7::ID, DrawList::Ref>> DrawListRegestry; | ||||
|   DrawList::Ref Back; | ||||
|   DrawList::Ref Front; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user