MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / MapInputDefault

Function MapInputDefault

Source/3rdParty/implot/implot.cpp:4866–4880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4864}
4865
4866void MapInputDefault(ImPlotInputMap* dst) {
4867 ImPlotInputMap& map = dst ? *dst : GetInputMap();
4868 map.Pan = ImGuiMouseButton_Left;
4869 map.PanMod = ImGuiMod_None;
4870 map.Fit = ImGuiMouseButton_Left;
4871 map.Menu = ImGuiMouseButton_Right;
4872 map.Select = ImGuiMouseButton_Right;
4873 map.SelectMod = ImGuiMod_None;
4874 map.SelectCancel = ImGuiMouseButton_Left;
4875 map.SelectHorzMod = ImGuiMod_Alt;
4876 map.SelectVertMod = ImGuiMod_Shift;
4877 map.OverrideMod = ImGuiMod_Ctrl;
4878 map.ZoomMod = ImGuiMod_None;
4879 map.ZoomRate = 0.1f;
4880}
4881
4882void MapInputReverse(ImPlotInputMap* dst) {
4883 ImPlotInputMap& map = dst ? *dst : GetInputMap();

Callers 2

ImPlotInputMapMethod · 0.85
ShowInputMapSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected