Skip to content

Commit

Permalink
Size and thickness : values adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythyu committed Sep 3, 2022
1 parent 2cbd5c0 commit 5d8ee70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions WhereIsMyMouse/PluginUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ public void Dispose()

public void Draw()
{


DrawMainWindow();
CursorAura();
}
Expand Down Expand Up @@ -81,17 +79,17 @@ public void DrawMainWindow()

ImGui.SetNextWindowSize(new Vector2(375, 330), ImGuiCond.FirstUseEver);
ImGui.SetNextWindowSizeConstraints(new Vector2(375, 330), new Vector2(float.MaxValue, float.MaxValue));
if (ImGui.Begin("Where's my mouse settings", ref this.visible, ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse))
if (ImGui.Begin("Cursor Settings", ref this.visible, ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse))
{
ImGui.Text("Cursor Aura : ");
ImGui.SameLine();
ImGui.Checkbox("###CursorAura", ref this.CursorOn);
ImGui.Text("Circle Size : ");
ImGui.SameLine();
ImGui.SliderFloat("###sizeslide", ref this.size, 0f, 130);
ImGui.SliderFloat("###sizeslide", ref this.size, 0f, 100f);
ImGui.Text("Thickness : ");
ImGui.SameLine();
ImGui.SliderFloat("###thickslide", ref this.thickness, 0f, 100f);
ImGui.SliderFloat("###thickslide", ref this.thickness, 0f, 50f);
ImGui.ColorPicker4("###ColorPicker", ref this.color);
}
ImGui.End();
Expand Down
4 changes: 2 additions & 2 deletions WhereIsMyMouse/WhereIsMyMouse.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Authors></Authors>
<Authors>Marethyu</Authors>
<Company></Company>
<Version>0.0.0.1</Version>
<Description>A sample plugin.</Description>
<Description>Never lose track of your mouse again</Description>
<Copyright></Copyright>
<PackageProjectUrl>https://github.com/Pythyu/WhereIsMyMouse</PackageProjectUrl>
<RootNamespace>WhereIsMyMouse</RootNamespace>
Expand Down

0 comments on commit 5d8ee70

Please sign in to comment.