| 4864 | } |
| 4865 | |
| 4866 | void 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 | |
| 4882 | void MapInputReverse(ImPlotInputMap* dst) { |
| 4883 | ImPlotInputMap& map = dst ? *dst : GetInputMap(); |
no outgoing calls
no test coverage detected