Skip to content

Commit

Permalink
picotuner ethernet initial support - wip, misc bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvdb committed Apr 28, 2024
1 parent 42e2895 commit 9380269
Show file tree
Hide file tree
Showing 19 changed files with 1,450 additions and 1,164 deletions.
1 change: 1 addition & 0 deletions ExtraFeatures/BATCWebchat/WebChatSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public class WebChatSettings
public int chat_font_size = 12;
public int gui_chat_width = 500;
public int gui_chat_height = 500;
public int gui_chat_seperator = 180;
}
}
65 changes: 40 additions & 25 deletions ExtraFeatures/BATCWebchat/wbchat.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 2 additions & 15 deletions ExtraFeatures/BATCWebchat/wbchat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ private void lbUsers_MouseDoubleClick(object sender, MouseEventArgs e)

private void checkStayOnTop_CheckedChanged(object sender, EventArgs e)
{
/*

if ( checkStayOnTop.Checked )
{
TopMost = true;
Expand All @@ -359,7 +359,7 @@ private void checkStayOnTop_CheckedChanged(object sender, EventArgs e)
{
TopMost = false;
}
*/

}

private void copySelectedTextToolStripMenuItem_Click(object sender, EventArgs e)
Expand All @@ -384,24 +384,11 @@ private void txtNick_Click(object sender, EventArgs e)
}
}

/*
private void lst_MeasureItem(object sender, MeasureItemEventArgs e)
{
e.ItemHeight = (int)e.Graphics.MeasureString(lbChat.Items[e.Index].ToString(), lbChat.Font, lbChat.Width).Height;
}

private void lst_DrawItem(object sender, DrawItemEventArgs e)
{
e.DrawBackground();
e.DrawFocusRectangle();
e.Graphics.DrawString(lbChat.Items[e.Index].ToString(), e.Font, new SolidBrush(e.ForeColor), e.Bounds);
}
*/


private void lbChat_Resize(object sender, EventArgs e)
{
//lbChat.Refresh();
}

private void richChat_LinkClicked(object sender, LinkClickedEventArgs e)
Expand Down
Loading

0 comments on commit 9380269

Please sign in to comment.