Skip to content

Commit 5eacfe8

Browse files
committed
2.2
1 parent d7cd09e commit 5eacfe8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1279
-425
lines changed
16.5 KB
Binary file not shown.

Clickless Mouse/Clickless Mouse/Clickless Mouse.csproj

+14
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@
7474
<Compile Include="Square.designer.cs">
7575
<DependentUpon>Square.cs</DependentUpon>
7676
</Compile>
77+
<Compile Include="WindowAbout.xaml.cs">
78+
<DependentUpon>WindowAbout.xaml</DependentUpon>
79+
</Compile>
80+
<Compile Include="WindowEULA.xaml.cs">
81+
<DependentUpon>WindowEULA.xaml</DependentUpon>
82+
</Compile>
7783
<Compile Include="WindowManual.xaml.cs">
7884
<DependentUpon>WindowManual.xaml</DependentUpon>
7985
</Compile>
@@ -94,6 +100,14 @@
94100
<DependentUpon>MainWindow.xaml</DependentUpon>
95101
<SubType>Code</SubType>
96102
</Compile>
103+
<Page Include="WindowAbout.xaml">
104+
<SubType>Designer</SubType>
105+
<Generator>MSBuild:Compile</Generator>
106+
</Page>
107+
<Page Include="WindowEULA.xaml">
108+
<SubType>Designer</SubType>
109+
<Generator>MSBuild:Compile</Generator>
110+
</Page>
97111
<Page Include="WindowManual.xaml">
98112
<SubType>Designer</SubType>
99113
<Generator>MSBuild:Compile</Generator>

Clickless Mouse/Clickless Mouse/Language.cs

+10-12
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ void change_language(language lang)
3434
MIenglish.Header = "English";
3535
MIpolish.Header = "Polish";
3636
MIhelp.Header = "Help";
37-
MImanual.Header = "Instructions";
37+
MImanual.Header = "User Guide";
3838
MIabout.Header = "About";
39-
MIupdate.Header = "Update";
4039
GBmain_settings.Header = "Main Settings";
4140
CHBLMB.Content = "LMB click";
4241
CHBRMB.Content = "RMB click";
@@ -51,6 +50,7 @@ void change_language(language lang)
5150
CHBrun_at_startup.Content = "Run when computer starts";
5251
CHBstart_minimized.Content = "Start minimized";
5352
CHBminimize_to_tray.Content = "Minimize to system tray";
53+
CHBcheck_for_updates.Content = "Check for updates automatically";
5454
GBsquare_settings.Header = "Squares Settings";
5555
Lsquare_size.Content = "Size [px]:";
5656
Lsquare_border.Content = "Border width [px]:";
@@ -95,7 +95,6 @@ void change_language(language lang)
9595
MIhelp.Header = "Pomoc";
9696
MImanual.Header = "Instrukcja obsługi";
9797
MIabout.Header = "O programie";
98-
MIupdate.Header = "Aktualizuj";
9998
GBmain_settings.Header = "Ustawienia główne";
10099
CHBLMB.Content = "Klik LPM";
101100
CHBRMB.Content = "Klik PPM";
@@ -112,6 +111,7 @@ void change_language(language lang)
112111
CHBrun_at_startup.Content = "Uruchom przy starcie komputera";
113112
CHBstart_minimized.Content = "Uruchom zminimalizowany";
114113
CHBminimize_to_tray.Content = "Minimalizuj do zasobnika systemowego";
114+
CHBcheck_for_updates.Content = "Automatycznie sprawdzaj aktualizacje";
115115
GBsquare_settings.Header = "Ustawienia kwadratów";
116116
Lsquare_size.Content = "Rozmiar [px]:";
117117
Lsquare_border.Content = "Szerokość krawędzi [px]:";
@@ -151,16 +151,16 @@ void set_instructions(language lang)
151151
{
152152
if(lang == language.en)
153153
{
154-
wm.Title = "Instructions";
154+
wm.Title = "User Guide";
155155

156156
FlowDocument fd = new FlowDocument();
157157
Paragraph p1 = new Paragraph();
158158
p1.Inlines.Add(new Run("Clickless Mouse makes using a computer easier for people with"
159159
+ " repetitive strain injury, carpal tunnel syndrome, some motor disabilities and"
160160
+ " other health problems."
161-
+ "\n\nThis application allows to use a mouse without clicking - by moving it only."
162-
+ "\nBy reacting to user mouse movements this program simulates left/right mouse"
163-
+ " click, double left mouse click and left/right mouse button holding."
161+
+ "\n\nThis application allows using a mouse without clicking - by moving it only."
162+
+ "\nBy reacting to user mouse movements this program simulates left/right mouse button"
163+
+ " click, double left mouse button click and left/right mouse button holding."
164164
+ "\n\nClickless Mouse can be used with a virtual keyboard to type by moving mouse" +
165165
" (e.g. Free Virtual Keyboard: "));
166166

@@ -172,8 +172,7 @@ void set_instructions(language lang)
172172
p1.Inlines.Add(link);
173173

174174
p1.Inlines.Add(new Run(").\n\nBy using Clickless Mouse with a virtual keyboard " +
175-
"the user "
176-
+ "can fully control a computer by moving mouse with a palm."
175+
"a user can fully control a computer by moving a mouse."
177176
+ "\n\nWhen you want to click/hold a mouse button: stop moving the mouse"
178177
+ ", wait for the squares to appear and move the mouse cursor to the chosen square:"));
179178

@@ -213,7 +212,7 @@ void set_instructions(language lang)
213212
+ "\nSquares size don't decrease if the mouse cursor is so close to the edge" +
214213
" of the screen that smallest size isn't enough to show a square."
215214
+ "\n\nThe squares that aren't needed can be disabled."
216-
+ "\n\nScreen panning - when this mode is on, moving the mouse curor to the " +
215+
+ "\n\nScreen panning - when this mode is on, moving the mouse cursor to the " +
217216
"edges of" +
218217
" the screen presses keys: up at top edge, down at bottom edge, " +
219218
"left at left edge, " +
@@ -301,8 +300,7 @@ void set_instructions(language lang)
301300
p1.Inlines.Add(link);
302301

303302
p1.Inlines.Add(new Run(").\n\nUżywając Clickless Mouse wraz z wirtualną klawiaturą"
304-
+ " użytkownik może w pełni kontrolować komputer poprzez poruszanie myszką za " +
305-
"pomocą dłoni."
303+
+ " użytkownik może w pełni kontrolować komputer poprzez poruszanie myszką."
306304
+ "\n\nKiedy chcesz kliknąć/przytrzymać przycisk myszy:"
307305
+ " zatrzymaj myszkę, poczekaj aż pojawią się kwadraty, a następnie przesuń"
308306
+ " kursor do wybranego kwadratu:"));

Clickless Mouse/Clickless Mouse/MainWindow.xaml

+10-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:local="clr-namespace:Clickless_Mouse"
77
mc:Ignorable="d"
8-
Title="Clickless Mouse" Height="471" Width="641" FontSize="14"
8+
Title="Clickless Mouse" Height="512" Width="641" FontSize="14"
99
WindowStartupLocation="CenterScreen" Closing="Window_Closing"
1010
StateChanged="Wmain_StateChanged" ResizeMode="CanMinimize">
1111
<Grid>
@@ -23,11 +23,10 @@
2323
<MenuItem x:Name="MIpolish" Header="Polish" Background="#FFEAEAEA" Click="MIpolish_Click" />
2424
</MenuItem>
2525
<MenuItem x:Name="MIhelp" Header="Help">
26-
<MenuItem x:Name="MImanual" Header="Manual" Background="#FFEAEAEA" Click="MImanual_Click"/>
27-
<MenuItem x:Name="MIabout" Header="About" Background="#FFEAEAEA" Click="MIabout_Click"/>
28-
<MenuItem x:Name="MIchangelog" Header="Changelog" Background="#FFEAEAEA" Click="MIchangelog_Click"/>
29-
<MenuItem x:Name="MIupdate" Header="Instructions" Background="#FFEAEAEA" Click="MIupdate_Click"/>
26+
<MenuItem x:Name="MImanual" Header="User Guide" Background="#FFEAEAEA" Click="MImanual_Click"/>
3027
</MenuItem>
28+
<MenuItem x:Name="MIabout" Header="About" Click="MIabout_Click">
29+
</MenuItem>
3130
</Menu>
3231
<GroupBox x:Name="GBmain_settings" Header="Main Settings" HorizontalAlignment="Left" Height="271" Margin="10,29,0,0" VerticalAlignment="Top" Width="308" Foreground="Black">
3332
<Grid>
@@ -46,11 +45,14 @@
4645

4746
</Grid>
4847
</GroupBox>
49-
<GroupBox x:Name="GBother_settings" Header="Other Settings" HorizontalAlignment="Left" Height="115" Margin="10,305,0,0" VerticalAlignment="Top" Width="308">
48+
<GroupBox x:Name="GBother_settings" Header="Other Settings" HorizontalAlignment="Left" Height="155" Margin="10,305,0,0" VerticalAlignment="Top" Width="308">
5049
<Grid>
5150
<CheckBox x:Name="CHBrun_at_startup" Content="Run when computer starts" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Checked="CHBrun_at_startup_CheckedChanged" Unchecked="CHBrun_at_startup_CheckedChanged"/>
5251
<CheckBox x:Name="CHBstart_minimized" Content="Start minimized" HorizontalAlignment="Left" Margin="10,40,0,0" VerticalAlignment="Top" Checked="CHBstart_minimized_CheckedChanged" Unchecked="CHBstart_minimized_CheckedChanged"/>
5352
<CheckBox x:Name="CHBminimize_to_tray" Content="Minimize to tray" HorizontalAlignment="Left" Margin="10,70,0,0" VerticalAlignment="Top" Checked="CHBminimize_to_tray_CheckedChanged" Unchecked="CHBminimize_to_tray_CheckedChanged"/>
53+
<CheckBox x:Name="CHBcheck_for_updates" Content="Check for updates automatically"
54+
HorizontalAlignment="Left" Margin="10,100,0,0" VerticalAlignment="Top" FontSize="14"
55+
Checked="CHBcheck_for_updates_CheckedChanged" Unchecked="CHBcheck_for_updates_CheckedChanged "/>
5456
</Grid>
5557
</GroupBox>
5658
<GroupBox x:Name="GBsquare_settings" Header="Squares Settings" HorizontalAlignment="Left" Height="188" Margin="323,33,0,0" VerticalAlignment="Top" Width="291">
@@ -62,8 +64,8 @@
6264
<Label x:Name="Lmin_square_size" Content="Minimum size [%]:" HorizontalAlignment="Left" Margin="5,130,0,0" VerticalAlignment="Top"/>
6365
<TextBox x:Name="TBsquare_size" HorizontalAlignment="Left" Height="23" Margin="171,14,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="60" TextChanged="TBsquare_size_TextChanged"/>
6466
<TextBox x:Name="TBsquare_border" HorizontalAlignment="Left" Height="23" Margin="171,44,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="60" TextChanged="TBsquare_border_TextChanged"/>
65-
<TextBox x:Name="TBsquare_color1" HorizontalAlignment="Left" Height="23" Margin="171,72,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="95" TextChanged="TBsquare_color1_TextChanged" PreviewMouseUp="TBsquare_color1_PreviewMouseUp"/>
66-
<TextBox x:Name="TBsquare_color2" HorizontalAlignment="Left" Height="23" Margin="171,102,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="95" TextChanged="TBsquare_color2_TextChanged" PreviewMouseUp="TBsquare_color2_PreviewMouseUp"/>
67+
<TextBox x:Name="TBsquare_color1" HorizontalAlignment="Left" Height="23" Margin="171,72,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="95" PreviewMouseUp="TBsquare_color1_PreviewMouseUp"/>
68+
<TextBox x:Name="TBsquare_color2" HorizontalAlignment="Left" Height="23" Margin="171,102,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="95" PreviewMouseUp="TBsquare_color2_PreviewMouseUp"/>
6769
<TextBox x:Name="TBmin_square_size" HorizontalAlignment="Left" Height="23" Margin="171,134,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="45" TextChanged="TBmin_square_size_TextChanged"/>
6870
</Grid>
6971
</GroupBox>

0 commit comments

Comments
 (0)