Searched refs:KeyRepeatRate (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.h323 IMGUI_API void PushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame.
645 IMGUI_API bool IsKeyPressed(int user_key_index, bool repeat = true); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate
1298 float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. member in struct:ImGuiIO
H A Dimgui.cpp1162 KeyRepeatRate = 0.050f;
4067 return GetKeyPressedAmount(user_key_index, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0;
4105 float delay = g.IO.KeyRepeatDelay, rate = g.IO.KeyRepeatRate;
7514 return (float)CalcTypematicPressedRepeatAmount(t, t - g.IO.DeltaTime, g.IO.KeyRepeatDelay * 0.80f, g.IO.KeyRepeatRate * 0.80f);
7516 return (float)CalcTypematicPressedRepeatAmount(t, t - g.IO.DeltaTime, g.IO.KeyRepeatDelay * 1.00f, g.IO.KeyRepeatRate * 2.00f);
7518 return (float)CalcTypematicPressedRepeatAmount(t, t - g.IO.DeltaTime, g.IO.KeyRepeatDelay * 0.80f, g.IO.KeyRepeatRate * 0.30f);
H A Dimgui_widgets.cpp6229 const float backup_repeat_rate = g.IO.KeyRepeatRate;
6231 g.IO.KeyRepeatRate = 0.200f;
6239 g.IO.KeyRepeatRate = backup_repeat_rate;
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.h323 IMGUI_API void PushButtonRepeat(bool repeat); // in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame.
645 IMGUI_API bool IsKeyPressed(int user_key_index, bool repeat = true); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate
1298 float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. member in struct:ImGuiIO
H A Dimgui.cpp1162 KeyRepeatRate = 0.050f;
4067 return GetKeyPressedAmount(user_key_index, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0;
4105 float delay = g.IO.KeyRepeatDelay, rate = g.IO.KeyRepeatRate;
7514 return (float)CalcTypematicPressedRepeatAmount(t, t - g.IO.DeltaTime, g.IO.KeyRepeatDelay * 0.80f, g.IO.KeyRepeatRate * 0.80f);
7516 return (float)CalcTypematicPressedRepeatAmount(t, t - g.IO.DeltaTime, g.IO.KeyRepeatDelay * 1.00f, g.IO.KeyRepeatRate * 2.00f);
7518 return (float)CalcTypematicPressedRepeatAmount(t, t - g.IO.DeltaTime, g.IO.KeyRepeatDelay * 0.80f, g.IO.KeyRepeatRate * 0.30f);
H A Dimgui_widgets.cpp6229 const float backup_repeat_rate = g.IO.KeyRepeatRate;
6231 g.IO.KeyRepeatRate = 0.200f;
6239 g.IO.KeyRepeatRate = backup_repeat_rate;

Completed in 72 milliseconds