Skip to content

Commit

Permalink
change default shortkey if no config found
Browse files Browse the repository at this point in the history
  • Loading branch information
geovens committed May 13, 2017
1 parent 0075f51 commit f8bf916
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 44 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
build
release
bin/crash.txt
bin

*.pdb
*.exp
Expand Down
Binary file added bin/Color Assistant.exe
Binary file not shown.
5 changes: 5 additions & 0 deletions bin/Color Assistant.exe.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v2.0.50727"/></startup>
</configuration>
10 changes: 10 additions & 0 deletions bin/config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

----------
[Settings]

# The hotkey to start picking
# e.g.
# HotKey = None
# HotKey = Control + Alt + Shift + Win + X
HotKey = Control + Alt + C

Binary file added bin/icon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Root.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public void SetDefaultConfig()
Hotkey_Alt = true;
Hotkey_Shift = false;
Hotkey_Win = false;
Hotkey = 'G';
Hotkey = 'C';

WhiteTrayIcon = false;
}
Expand Down
42 changes: 0 additions & 42 deletions src/gInk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -138,61 +138,19 @@
<ItemGroup>
<None Include="exit.png" />
</ItemGroup>
<ItemGroup>
<None Include="garbage.png" />
</ItemGroup>
<ItemGroup>
<None Include="undo.png" />
</ItemGroup>
<ItemGroup>
<None Include="eraser.png" />
</ItemGroup>
<ItemGroup>
<None Include="eraseract.png" />
</ItemGroup>
<ItemGroup>
<None Include="eraserinact.png" />
</ItemGroup>
<ItemGroup>
<None Include="check.png" />
</ItemGroup>
<ItemGroup>
<None Include="cursorblue.ico" />
</ItemGroup>
<ItemGroup>
<None Include="cursorred.ico" />
</ItemGroup>
<ItemGroup>
<None Include="cursoryellow.ico" />
</ItemGroup>
<ItemGroup>
<None Include="cursorgreen.ico" />
</ItemGroup>
<ItemGroup>
<None Include="highlighter1.png" />
</ItemGroup>
<ItemGroup>
<None Include="pencil1.png" />
</ItemGroup>
<ItemGroup>
<None Include="highlighter_act.png" />
</ItemGroup>
<ItemGroup>
<None Include="pencil_act.png" />
</ItemGroup>
<ItemGroup>
<None Include="buttonback.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\icon.ico" />
<None Include="pointer_act.png" />
<None Include="pointer.png" />
<None Include="snap.png" />
<None Include="dock.png" />
<None Include="dockback.png" />
<Content Include="icon.ico" />
<Content Include="icon_red.ico" />
<None Include="icon_white.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down

0 comments on commit f8bf916

Please sign in to comment.