This commit is contained in:
HueByte
2026-02-19 08:55:19 +00:00
parent 5cf3788c33
commit 277ba787ee
121 changed files with 2385 additions and 3990 deletions
+25 -27
View File
@@ -7,16 +7,16 @@
<meta name="title" content="Class MainWindow | EchoHub Documentation ">
<meta name="description" content="Main Terminal.Gui window for the EchoHub chat client.">
<link rel="icon" href="../../favicon.ico">
<link rel="icon" href="../../images/hue_icon.svg">
<link rel="stylesheet" href="../../public/docfx.min.css">
<link rel="stylesheet" href="../../public/main.css">
<meta name="docfx:navrel" content="../../toc.html">
<meta name="docfx:tocrel" content="toc.html">
<meta name="docfx:tocrel" content="../toc.html">
<meta name="docfx:rel" content="../../">
<meta name="docfx:docurl" content="https://github.com/HueByte/EchoHub/new/master/apiSpec/new?filename=EchoHub_Client_UI_MainWindow.md&amp;value=---%0Auid%3A%20EchoHub.Client.UI.MainWindow%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
@@ -44,7 +44,7 @@
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../logo.svg" alt="EchoHub">
<img id="logo" class="svg" src="../../images/hue_icon.svg" alt="EchoHub">
EchoHub
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
@@ -102,7 +102,7 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public sealed class MainWindow : Runnable, IDisposable, ISupportInitializeNotification, ISupportInitialize, IRunnable</code></pre>
<pre><code class="lang-csharp hljs">public sealed class MainWindow : Runnable, IDisposable, IRunnable</code></pre>
</div>
@@ -122,8 +122,6 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<dt>Implements</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitializenotification">ISupportInitializeNotification</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
<div><span class="xref">IRunnable</span></div>
</dd>
</dl>
@@ -199,7 +197,7 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<span class="xref">View.InvokeCommand(Command)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">View.SetContentSize(Size?)</a>
<span class="xref">View.SetContentSize(Size?)</span>
</div>
<div>
<span class="xref">View.GetContentSize()</span>
@@ -211,22 +209,22 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<span class="xref">View.GetHeightRequiredForSubViews()</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">View.ContentToScreen(in Point)</a>
<span class="xref">View.ContentToScreen(in Point)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">View.ScreenToContent(in Point)</a>
<span class="xref">View.ScreenToContent(in Point)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">View.ViewportToScreen(in Rectangle)</a>
<span class="xref">View.ViewportToScreen(in Rectangle)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">View.ViewportToScreen(in Point)</a>
<span class="xref">View.ViewportToScreen(in Point)</span>
</div>
<div>
<span class="xref">View.ViewportToScreen()</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">View.ScreenToViewport(in Point)</a>
<span class="xref">View.ScreenToViewport(in Point)</span>
</div>
<div>
<span class="xref">View.GetViewportOffsetFromFrame()</span>
@@ -280,7 +278,7 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<span class="xref">View.SetClipToScreen()</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">View.ExcludeFromClip(Rectangle)</a>
<span class="xref">View.ExcludeFromClip(Rectangle)</span>
</div>
<div>
<span class="xref">View.ExcludeFromClip(Region)</span>
@@ -310,7 +308,7 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">View.Move(int, int)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.rune">View.AddRune(Rune)</a>
<span class="xref">View.AddRune(Rune)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">View.AddRune(char)</a>
@@ -331,10 +329,10 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">View.DrawHotString(string, bool)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">View.FillRect(Rectangle, Color?)</a>
<span class="xref">View.FillRect(Rectangle, Color?)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">View.FillRect(Rectangle, Rune)</a>
<span class="xref">View.FillRect(Rectangle, Rune)</span>
</div>
<div>
<span class="xref">View.GetScheme()</span>
@@ -385,22 +383,22 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<span class="xref">View.NewKeyDownEvent(Key)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">View.Contains(in Point)</a>
<span class="xref">View.Contains(in Point)</span>
</div>
<div>
<span class="xref">View.FrameToScreen()</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">View.ScreenToFrame(in Point)</a>
<span class="xref">View.ScreenToFrame(in Point)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">View.Layout(Size)</a>
<span class="xref">View.Layout(Size)</span>
</div>
<div>
<span class="xref">View.Layout()</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">View.SetRelativeLayout(Size)</a>
<span class="xref">View.SetRelativeLayout(Size)</span>
</div>
<div>
<span class="xref">View.SetNeedsLayout()</span>
@@ -409,7 +407,7 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<span class="xref">View.GetContainerSize()</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">View.GetViewsUnderLocation(in Point, ViewportSettingsFlags)</a>
<span class="xref">View.GetViewsUnderLocation(in Point, ViewportSettingsFlags)</span>
</div>
<div>
<span class="xref">View.AdvanceFocus(NavigationDirection, TabBehavior?)</span>
@@ -430,7 +428,7 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<span class="xref">View.SetNeedsDraw()</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">View.SetNeedsDraw(Rectangle)</a>
<span class="xref">View.SetNeedsDraw(Rectangle)</span>
</div>
<div>
<span class="xref">View.OnTextChanged()</span>
@@ -1074,7 +1072,7 @@ Call after theme changes to refresh colors.</p>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dt><span class="xref">IReadOnlyList</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
@@ -1107,7 +1105,7 @@ Call after theme changes to refresh colors.</p>
<dl class="parameters">
<dt><code>channelName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>messages</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/DTOs/ChatDtos.cs">MessageDto</a>&gt;</dt>
<dt><code>messages</code> <span class="xref">List</span>&lt;<a class="xref" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/DTOs/ChatDtos.cs">MessageDto</a>&gt;</dt>
<dd></dd>
</dl>
@@ -1200,7 +1198,7 @@ Call after theme changes to refresh colors.</p>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>channels</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/DTOs/ChatDtos.cs">ChannelDto</a>&gt;</dt>
<dt><code>channels</code> <span class="xref">List</span>&lt;<a class="xref" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/DTOs/ChatDtos.cs">ChannelDto</a>&gt;</dt>
<dd></dd>
</dl>
@@ -1646,7 +1644,7 @@ Call after theme changes to refresh colors.</p>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
<div class='footer-custom'><div class='footer-inner'><span class='footer-brand'>EchoHub</span><span class='footer-sep'>&middot;</span><a href='https://github.com/HueByte/EchoHub'>GitHub</a><span class='footer-sep'>&middot;</span><a href='https://echohub.voidcube.cloud'>Website</a><span class='footer-sep'>&middot;</span><span class='footer-credit'>Built with <a href='https://dotnet.github.io/docfx'>DocFX</a></span></div></div>
</div>
</div>
</footer>