Recording timeout with timing slider

Changed timout recording in uint milisecond.
This commit is contained in:
Bruno
2021-06-28 21:33:17 +02:00
parent ff99d37eb6
commit aa904f26ad
7 changed files with 29 additions and 30 deletions

View File

@@ -37,7 +37,7 @@ namespace ImGuiToolkit
void HelpIcon (const char* desc, int i = 19, int j = 5, const char* shortcut = nullptr);
// sliders
bool SliderTiming (const char* label, int *ms, int v_min, int v_max, const char* text_max = nullptr);
bool SliderTiming (const char* label, uint *ms, uint v_min, uint v_max, uint v_step, const char* text_max = nullptr);
bool TimelineSlider (const char* label, guint64 *time, guint64 begin, guint64 first, guint64 end, guint64 step, const float width);
void RenderTimeline (struct ImGuiWindow* window, struct ImRect timeline_bbox, guint64 begin, guint64 end, guint64 step, bool verticalflip = false);
void Timeline (const char* label, guint64 time, guint64 begin, guint64 end, guint64 step, const float width);