mirror of
https://github.com/MathiasLui/CSGO-Projects.git
synced 2025-05-07 14:21:17 +00:00

* Now show spawns from BSP parsing, priority spawns are lighter than normal ones * Add possibility to not display certain things via the View menu * Add help menu * Add bomb code credits for pasta * Show extra info in bottom left corner: bomb damage and radius, and if a BSP or NAV has been found for the map * Correctly renamed previous help menu entry to "about"
43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace Damage_Calculator
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for ctrlPlayerSpawn.xaml
|
|
/// </summary>
|
|
public partial class ctrlPlayerSpawn : UserControl
|
|
{
|
|
public ctrlPlayerSpawn()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void SetColour(Color colour)
|
|
{
|
|
this.ellipse.Stroke = this.rectangle.Fill = new SolidColorBrush(colour);
|
|
}
|
|
|
|
public void SetEllipseFill(Color colour)
|
|
{
|
|
this.ellipse.Fill = new SolidColorBrush(colour);
|
|
}
|
|
|
|
public void SetRotation(double angle)
|
|
{
|
|
gridControl.RenderTransform = new RotateTransform(angle);
|
|
}
|
|
}
|
|
}
|