Skip to content

Commit

Permalink
Merge pull request #34 from fastfinge/gui-work
Browse files Browse the repository at this point in the history
prep for the gui release.
  • Loading branch information
fastfinge authored Feb 6, 2024
2 parents 6b1bedb + c123dc6 commit f0a36a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion adispeak/Adispeak.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ private void OnDisconnect(DisconnectArgs argument)
}

private void OnMessageSent(MessageSentArgs argument)
{
{
if (config.GetGlobal("speech") && config.GetGlobal(MethodBase.GetCurrentMethod().Name)
&& config.GetWindow(argument.Target, "speech") && config.GetWindow(argument.Target, MethodBase.GetCurrentMethod().Name) && argument.Server.IRCv3Caps.Contains("echo-message") == false)
{
Expand Down
4 changes: 2 additions & 2 deletions adispeak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Solution to make AdiIRC interface with screen readers.

## Latest Preconfigured Adispeak

Get adispeak alpha 0.2.3 from:
https://github.com/fastfinge/adispeak/releases/download/v_0.2.3/adispeak_0.2.3.zip
Get adispeak alpha 0.3 from:
https://github.com/fastfinge/adispeak/releases/download/v_0.3/adispeak_0.3.zip

## Installing

Expand Down
Binary file modified adispeak/bin/x64/Release/adispeak.dll
Binary file not shown.
6 changes: 4 additions & 2 deletions adispeak/gui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class ConfigGui: Form
private Dictionary<string, bool> items;
private Dictionary <string, bool> AvailableOptions = new Dictionary <string, bool>
{
{"speech", true},
{"OnChannelActionMessage", true},
{"OnChannelCtcpMessage", true},
{"OnChannelCtcpReplyMessage", true},
Expand Down Expand Up @@ -105,14 +106,15 @@ public ConfigGui(Config confparm)
}
}
treeView.Dock = DockStyle.Fill;
treeView.Sort();
Controls.Add(treeView);
locked = false;
okButton = new Button();
okButton.Text = "OK";
okButton.Text = "Close";
okButton.Dock = DockStyle.Bottom;
okButton.Click += new EventHandler(okButton_Click);
Controls.Add(okButton);

this.CancelButton = okButton;
this.Size = new System.Drawing.Size(300, 300);
this.Show();
}
Expand Down

0 comments on commit f0a36a5

Please sign in to comment.