Skip to content

Commit 92a5749

Browse files
author
QByte64
committed
Update README.md and fix navigationView back button and title
1 parent 8e460c6 commit 92a5749

File tree

7 files changed

+31
-21
lines changed

7 files changed

+31
-21
lines changed

App.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public partial class App : Application
3131
/// Initializes the singleton application object. This is the first line of authored code
3232
/// executed, and as such is the logical equivalent of main() or WinMain().
3333
/// </summary>
34+
///
3435
public App()
3536
{
3637
this.InitializeComponent();

InfoHandling/JsonReader.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace KeystrokesByQByte64.InfoHandling
8+
{
9+
internal class JsonReader
10+
{
11+
}
12+
}
13+

KeystrokesByQByte64.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,7 @@
163163
<ItemGroup>
164164
<None Remove="Menus\Pages\KeysPage.xaml" />
165165
</ItemGroup>
166+
<ItemGroup>
167+
<Folder Include="Menus\Windows\" />
168+
</ItemGroup>
166169
</Project>

Menus/MainWindow.xaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@
1414

1515
<!--Window content-->
1616
<Grid>
17-
<!--TitleBar-->
18-
<StackPanel Name="TitleBar" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top">
19-
<TextBlock FontWeight="Bold">Cool Keystrokes</TextBlock>
20-
</StackPanel>
2117
<!--Navigation-->
22-
<NavigationView x:Name="Navigation" ItemInvoked="navItemInvoked">
18+
<NavigationView x:Name="Navigation" ItemInvoked="navItemInvoked" PaneTitle="CoolKeystrokes" IsBackButtonVisible="Collapsed">
2319
<NavigationView.MenuItems>
2420
<NavigationViewItem Icon="Keyboard" Content="Keys" Tag="KeybindsMenu" />
2521
<NavigationViewItem Icon="Filter" Content="Color" Tag="ColorsMenu" />
@@ -28,10 +24,9 @@
2824
<NavigationView.FooterMenuItems>
2925
<NavigationViewItem Icon="Contact" Content="Credits" Tag="CreditsMenu" />
3026
</NavigationView.FooterMenuItems>
31-
<Frame x:Name="contentFrame"/>
27+
<ScrollViewer Grid.Row="1" Padding="16">
28+
<Frame x:Name="contentFrame"/>
29+
</ScrollViewer>
3230
</NavigationView>
33-
<Grid Name="MenuContent">
34-
<TextBlock FontWeight="ExtraBold" Name="WelcomeText" VerticalAlignment="Center" HorizontalAlignment="Center">Welcome to Cool Keystrokes app!</TextBlock>
35-
</Grid>
3631
</Grid>
3732
</Window>

Menus/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public MainWindow()
3434
ExtendsContentIntoTitleBar = true;
3535
this.Title = "Cool Keystrokes";
3636
}
37-
private void navItemInvoked(NavigationView sender, NavigationViewItemInvokedEventArgs e)
37+
private void navItemInvoked(NavigationView sender, NavigationViewItemInvokedEventArgs args)
3838
{
3939
var selectedNavItem = sender.SelectedItem as NavigationViewItem;
4040
switch (selectedNavItem.Content) {

Menus/Pages/KeysPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
mc:Ignorable="d">
1010

1111
<Grid>
12-
<TextBlock FontWeight="Extrabold" HorizontalAlignment="Left" Height="500">Keys settings</TextBlock>
12+
<TextBlock FontWeight="Extrabold" HorizontalAlignment="Left" MinHeight="600" MaxHeight="725" FontSize="32">Keys settings</TextBlock>
1313
</Grid>
1414
</Page>

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
<h1 align="center">
2-
<img src="https://github.com/BlueByte64/CoolKeystrokes/blob/master/Assets/AppIcon.png" width="250"> <p float="center">Keystrokes program :)</p>
2+
<img src="https://github.com/BlueByte64/CoolKeystrokes/blob/master/Assets/AppIcon.png" width="250"> <p float="center">Keystrokes App :)</p>
33
</h1>
44

55

6-
## What makes it cool?
7-
**1.** Nice UI <br>
8-
**2.** Put it anywhere you want on your screen(so it wont bother you) <br>
9-
**3.** Customizable colors <br>
10-
**4.** Integration with Osu! lazer(Coming soon) <br>
11-
**5.** Lua script/plugins support(Coming soon) **NOTE: BE SURE THE SCRIPT IS SAFE TO RUN**
6+
<h3>What makes it cool?</h3>
7+
<b>1.</b> Nice UI <br>
8+
<b>2.</b> Put it anywhere you want on your screen(so it wont bother you) <br>
9+
<b>3.</b> Customizable colors <br>
1210

13-
Please, help make the program better by reporting problems
1411
<br>
1512
<br>
1613
**What is a Keystrokes program?** <br>
1714
Its a program that displays on your screen your current input, like keys and mouse buttons. This is useful for some people and for some gamers (or idk). <br>
1815
<br>
1916
<br>
2017
**How do i install it?** <br>
21-
Just download and extract the .rar file <br>
18+
Just download and double click the .msi file <br>
2219
<br>
2320
**How do i use it?** <br>
24-
Don't worry, the User Interface is very user friendly, you should figure it out without much difficulty. <br>
21+
You create overlays on the Keys Menu and assign a key to it, then you customize it however you like.
22+
Don't worry, the User Interface is very user friendly thanks to WinUI 3, you should figure stuff out without difficulty. <br>
2523
<br>
2624
>[!IMPORTANT]
2725
> This program only works on Windows and <b> WILL NOT </b> come to macOS or linux systems, for that the whole program would need to be re-written, <br>so dont ask for a port.

0 commit comments

Comments
 (0)