new documentation
This commit is contained in:
Vendored
+2
-2
@@ -8,5 +8,5 @@ Does not have any effect on other platforms."/></head><body><script>/* Here to p
|
||||
float: none;
|
||||
text-shadow: 0 0 0 transparent;
|
||||
}
|
||||
</style><nav class="nav"><div class="navbar"><div class="navbar-inner" style="background:#FAFAFA; border-bottom:1px solid rgba(0,0,0,.09)"><div class="container"><a class="brand" style="color:#000000" href="../../">API Documentation</a><a href="#" id="theme-toggle" class="brand" style="color:#000000" onclick="toggleTheme()" title="Toggle Dark Mode"><i class="fa fa-moon-o"></i></a></div></div></div></nav><div class="container main-content"><div class="row-fluid"><div class="span3"><div class="well sidebar-nav"><form class="form-search" id="searchForm"><div class="input-prepend input-block-level"><span class="add-on"><i class="fa fa-search"></i></span><input id="search" type="text" placeholder="Filter (Ctrl+P)" autocomplete="off"/></div></form></div><div class="well sidebar-nav" id="explorer"><div id="nav"></div></div></div><div class="span9"><div class="page-header"><h1><small>class</small> WindowsAPI</h1><h4><small>package <a href="../../funkin/windows/index.html">funkin.windows</a></small></h4> <span class="label label-meta label-meta-directlyUsed" title="Marks types that are directly referenced by non-extern code.">@:directlyUsed</span></div><div class="body"><div class="doc doc-main"><p>Class for Windows-only functions, such as transparent windows, message boxes, and more.
|
||||
Does not have any effect on other platforms.</p></div><h3 class="section">Static methods</h3><div class="fields"><div class="field "><a name="allocConsole"></a><h3 class="anchor"><code><span class="label label-static">static</span><a href="#allocConsole"><span class="identifier">allocConsole</span></a>():<span class="type">Void</span></code></h3><div class="doc"><p>Allocates a new console. The console will automatically be opened</p></div></div><div class="field "><a name="consoleColorToOpenFL"></a><h3 class="anchor"><code><span class="label label-static">static</span><a href="#consoleColorToOpenFL"><span class="identifier">consoleColorToOpenFL</span></a>(<span style="white-space:nowrap">color:<a class="type" title="funkin.windows.ConsoleColor" href="../../funkin/windows/ConsoleColor.html">ConsoleColor</a></span>):<span class="type">Int</span></code></h3><div class="doc"><p></p></div></div><div class="field "><a name="setConsoleColors"></a><h3 class="anchor"><code><span class="label label-meta label-meta-value" title="Used to store default values for fields and function arguments.">@:value({ backgroundColor : BLACK, foregroundColor : LIGHTGRAY })</span><span class="label label-static">static</span><a href="#setConsoleColors"><span class="identifier">setConsoleColors</span></a>(<span style="white-space:nowrap">foregroundColor:<a class="type" title="funkin.windows.ConsoleColor" href="../../funkin/windows/ConsoleColor.html">ConsoleColor</a> = LIGHTGRAY,</span> <span style="white-space:nowrap">backgroundColor:<a class="type" title="funkin.windows.ConsoleColor" href="../../funkin/windows/ConsoleColor.html">ConsoleColor</a> = BLACK</span>):<span class="type">Void</span></code></h3><div class="doc"><p>Sets the console colors</p></div></div><div class="field "><a name="setDarkMode"></a><h3 class="anchor"><code><span class="label label-static">static</span><a href="#setDarkMode"><span class="identifier">setDarkMode</span></a>(<span style="white-space:nowrap">enable:<span class="type">Bool</span></span>):<span class="type">Void</span></code></h3><div class="doc"><p>Sets the window titlebar to dark mode (Windows 10 only)</p></div></div></div></div></div></div></div><footer class="section site-footer" style="background:#FAFAFA"><div class="container"><div class="copyright"><p style="color:#000000">© 2022 </p></div></div></footer><script src="../..//highlighter.js"></script><link href="../../highlighter.css" rel="stylesheet"/></body></html>
|
||||
</style><nav class="nav"><div class="navbar"><div class="navbar-inner" style="background:#FAFAFA; border-bottom:1px solid rgba(0,0,0,.09)"><div class="container"><a class="brand" style="color:#000000" href="../../">API Documentation</a><a href="#" id="theme-toggle" class="brand" style="color:#000000" onclick="toggleTheme()" title="Toggle Dark Mode"><i class="fa fa-moon-o"></i></a></div></div></div></nav><div class="container main-content"><div class="row-fluid"><div class="span3"><div class="well sidebar-nav"><form class="form-search" id="searchForm"><div class="input-prepend input-block-level"><span class="add-on"><i class="fa fa-search"></i></span><input id="search" type="text" placeholder="Filter (Ctrl+P)" autocomplete="off"/></div></form></div><div class="well sidebar-nav" id="explorer"><div id="nav"></div></div></div><div class="span9"><div class="page-header"><h1><small>class</small> WindowsAPI</h1><h4><small>package <a href="../../funkin/windows/index.html">funkin.windows</a></small></h4> <span class="label label-meta label-meta-directlyUsed" title="Marks types that are directly referenced by non-extern code.">@:directlyUsed</span><span class="label label-meta label-meta-build" title="Builds a class or enum from a macro.">@:build(hscript.UsingHandler.build())</span></div><div class="body"><div class="doc doc-main"><p>Class for Windows-only functions, such as transparent windows, message boxes, and more.
|
||||
Does not have any effect on other platforms.</p></div><h3 class="section">Static methods</h3><div class="fields"><div class="field "><a name="allocConsole"></a><h3 class="anchor"><code><span class="label label-static">static</span><a href="#allocConsole"><span class="identifier">allocConsole</span></a>():<span class="type">Void</span></code></h3><div class="doc"><p>Allocates a new console. The console will automatically be opened</p></div></div><div class="field "><a name="consoleColorToOpenFL"></a><h3 class="anchor"><code><span class="label label-static">static</span><a href="#consoleColorToOpenFL"><span class="identifier">consoleColorToOpenFL</span></a>(<span style="white-space:nowrap">color:<a class="type" title="funkin.windows.ConsoleColor" href="../../funkin/windows/ConsoleColor.html">ConsoleColor</a></span>):<span class="type">Int</span></code></h3><div class="doc"><p></p></div></div><div class="field "><a name="setConsoleColors"></a><h3 class="anchor"><code><span class="label label-meta label-meta-value" title="Used to store default values for fields and function arguments.">@:value({ backgroundColor : BLACK, foregroundColor : LIGHTGRAY })</span><span class="label label-static">static</span><a href="#setConsoleColors"><span class="identifier">setConsoleColors</span></a>(<span style="white-space:nowrap">foregroundColor:<a class="type" title="funkin.windows.ConsoleColor" href="../../funkin/windows/ConsoleColor.html">ConsoleColor</a> = LIGHTGRAY,</span> <span style="white-space:nowrap">backgroundColor:<a class="type" title="funkin.windows.ConsoleColor" href="../../funkin/windows/ConsoleColor.html">ConsoleColor</a> = BLACK</span>):<span class="type">Void</span></code></h3><div class="doc"><p>Sets the console colors</p></div></div><div class="field "><a name="setDarkMode"></a><h3 class="anchor"><code><span class="label label-static">static</span><a href="#setDarkMode"><span class="identifier">setDarkMode</span></a>(<span style="white-space:nowrap">enable:<span class="type">Bool</span></span>):<span class="type">Void</span></code></h3><div class="doc"><p>Sets the window titlebar to dark mode (Windows 10 only)</p></div></div><div class="field "><a name="showMessageBox"></a><h3 class="anchor"><code><span class="label label-meta label-meta-value" title="Used to store default values for fields and function arguments.">@:value({ icon : MSG_WARNING })</span><span class="label label-static">static</span><a href="#showMessageBox"><span class="identifier">showMessageBox</span></a>(<span style="white-space:nowrap">caption:<span class="type">String</span>,</span> <span style="white-space:nowrap">message:<span class="type">String</span>,</span> <span style="white-space:nowrap">icon:<a class="type" title="funkin.windows.MessageBoxIcon" href="../../funkin/windows/MessageBoxIcon.html">MessageBoxIcon</a> = MSG_WARNING</span>):<span class="type">Void</span></code></h3><div class="doc"><p>Shows a message box</p></div></div></div></div></div></div></div><footer class="section site-footer" style="background:#FAFAFA"><div class="container"><div class="copyright"><p style="color:#000000">© 2022 </p></div></div></footer><script src="../..//highlighter.js"></script><link href="../../highlighter.css" rel="stylesheet"/></body></html>
|
||||
Reference in New Issue
Block a user