Option to bind G-Helper window to any macro key https://github.com/seerge/g-helper/issues/1389

Auto refresh tweaks https://github.com/seerge/g-helper/issues/1395
Anime Matrix tweaks
This commit is contained in:
Serge
2023-09-30 23:08:34 +02:00
parent 03944dc208
commit 7845f278f8
9 changed files with 186 additions and 108 deletions

View File

@@ -45,11 +45,22 @@ namespace GHelper
comboScaling.SelectedIndex = AppConfig.Get("matrix_quality", 0);
comboScaling.SelectedValueChanged += ComboScaling_SelectedValueChanged;
comboRotation.DropDownStyle = ComboBoxStyle.DropDownList;
comboRotation.SelectedIndex = AppConfig.Get("matrix_rotation", 0);
comboRotation.SelectedValueChanged += ComboRotation_SelectedValueChanged; ;
uiScale = panelPicture.Width / matrixControl.device.MaxColumns / 3;
panelPicture.Height = (int)(matrixControl.device.MaxRows * uiScale);
}
private void ComboRotation_SelectedValueChanged(object? sender, EventArgs e)
{
AppConfig.Set("matrix_rotation", comboRotation.SelectedIndex);
SetMatrixPicture(false);
}
private void ComboScaling_SelectedValueChanged(object? sender, EventArgs e)
{
AppConfig.Set("matrix_quality", comboScaling.SelectedIndex);