mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Make ImGuiInputSource int.
(primarily to avoid "result of comparison 'ImGuiInputSource' < 0 is always false" in GetInputSourceName().
This commit is contained in:
parent
43e3ac0dc6
commit
4dee11a089
1 changed files with 1 additions and 1 deletions
|
|
@ -1487,7 +1487,7 @@ enum ImGuiInputEventType
|
||||||
ImGuiInputEventType_COUNT
|
ImGuiInputEventType_COUNT
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ImGuiInputSource
|
enum ImGuiInputSource : int
|
||||||
{
|
{
|
||||||
ImGuiInputSource_None = 0,
|
ImGuiInputSource_None = 0,
|
||||||
ImGuiInputSource_Mouse, // Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them.
|
ImGuiInputSource_Mouse, // Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue