Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# for Lib please replace the Lib folder from this repo with the one linked below
[WhackerLinkLib/Fork](https://github.com/DeathSoulYTDev/WhackerLinkLib)

# WhackerLink Console V2
### WhackerLink Dispatch Console
![console](./images/consolehome.JPG)
<img width="1916" height="1036" alt="image" src="https://github.com/user-attachments/assets/0a166373-bc20-47b0-a380-48c311975bd6" />

## Setup
- Download the packaged release from the releases or clone and build yourself
- Modify the codeplug file
- Select the codeplug once opening the app
## Features
- Custumizable widgets
- Auto saved and transferable user settings
- Auto saved and transferable user settings
Binary file added WhackerLinkConsoleV2/Assets/dualpage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added WhackerLinkConsoleV2/Assets/pager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions WhackerLinkConsoleV2/ChannelBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</Rectangle>

<!-- Main Info Section -->
<StackPanel Grid.Column="1" HorizontalAlignment="Left" Width="119" Margin="48,0,0,1" Grid.RowSpan="2" Grid.ColumnSpan="2">
<StackPanel Grid.Column="1" HorizontalAlignment="Left" Width="140" Margin="27,0,0,1" Grid.RowSpan="2" Grid.ColumnSpan="2">
<TextBlock Text="{Binding ChannelName}" FontWeight="Bold" Foreground="White" FontSize="12"/>
<TextBlock Text="{Binding LastSrcId}" Foreground="Gold" FontSize="10"/>
<TextBlock Text="{Binding SystemName}" Foreground="Gold" FontSize="10"/>
Expand Down Expand Up @@ -100,7 +100,7 @@
<Image Source="pack://application:,,,/WhackerLinkConsoleV2;component/Assets/channelmarker.png" Width="36" Height="40"/>
</Button>
</StackPanel>
<Button x:Name="PttButton" Click="PTTButton_Click" HorizontalAlignment="Left" Width="42" Margin="41,1,0,4" Grid.ColumnSpan="2" BorderThickness="0,0,0,0" BorderBrush="#FFC1C1C1" UseLayoutRounding="False" Grid.RowSpan="2" Background="#FFEEA400">
<Button x:Name="PttButton" Click="PTTButton_Click" HorizontalAlignment="Left" Width="42" Margin="20,1,0,4" Grid.ColumnSpan="2" BorderThickness="0,0,0,0" BorderBrush="#FFC1C1C1" UseLayoutRounding="False" Grid.RowSpan="2" Background="#FFEEA400">
<Button.Resources>
<Style TargetType="{x:Type Border}">
<Setter Property="CornerRadius" Value="2"/>
Expand Down
13 changes: 9 additions & 4 deletions WhackerLinkConsoleV2/ChannelBox.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private void ChannelBox_MouseLeftButtonDown(object sender, MouseButtonEventArgs
if (IsEditMode) return;

IsSelected = !IsSelected;
Background = IsSelected ? (Brush)new BrushConverter().ConvertFrom("#FF0B004B") : Brushes.Gray;
Background = IsSelected ? (Brush)new BrushConverter().ConvertFrom("#FF0B004B") : (Brush)new BrushConverter().ConvertFrom("#888888");

if (IsSelected)
{
Expand Down Expand Up @@ -278,11 +278,11 @@ private void UpdateBackground()
{
if (SystemName == MainWindow.PLAYBACKSYS || ChannelName == MainWindow.PLAYBACKCHNAME || DstId == MainWindow.PLAYBACKTG)
{
Background = IsSelected ? (Brush)new BrushConverter().ConvertFrom("#FFC90000") : Brushes.DarkGray;
Background = IsSelected ? (Brush)new BrushConverter().ConvertFrom("#FFC90000") : (Brush)new BrushConverter().ConvertFrom("#888888");
return;
}

Background = IsSelected ? (Brush)new BrushConverter().ConvertFrom("#FF0B004B") : Brushes.DarkGray;
Background = IsSelected ? (Brush)new BrushConverter().ConvertFrom("#FF0B004B") : (Brush)new BrushConverter().ConvertFrom("#888888");
}

private async void PTTButton_Click(object sender, RoutedEventArgs e)
Expand All @@ -300,7 +300,7 @@ private async void PTTButton_Click(object sender, RoutedEventArgs e)
private void PageSelectButton_Click(object sender, RoutedEventArgs e)
{
if (!IsSelected) return;

PageState = !PageState;
PageButtonClicked.Invoke(sender, this);
}
Expand Down Expand Up @@ -336,5 +336,10 @@ private void PttButton_MouseLeave(object sender, System.Windows.Input.MouseEvent

((Button)sender).Background = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FFDDDDDD"));
}

private void SetPageState(bool state)
{
PageState = state;
}
}
}
466 changes: 284 additions & 182 deletions WhackerLinkConsoleV2/MainWindow.xaml

Large diffs are not rendered by default.

Loading