viewport seems to work

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@275 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-11 15:03:56 +00:00
parent bf78a98ac2
commit 8532ac96ec
12 changed files with 191 additions and 12 deletions

View File

@@ -398,6 +398,12 @@
<dd>
<a href="#Mw_Widget_Viewport_h__MwViewportClass">MwViewportClass</a>
</dd>
<dd>
<a href="#Mw_Widget_Viewport_h__MwViewportGetViewport">MwViewportGetViewport</a>
</dd>
<dd>
<a href="#Mw_Widget_Viewport_h__MwViewportSetSize">MwViewportSetSize</a>
</dd>
<dt>
<a href="#Mw_Widget_Vulkan_h">Mw/Widget/Vulkan.h</a>
</dt>
@@ -2518,6 +2524,56 @@
</dd>
</dl>
<hr>
<pre id="Mw_Widget_Viewport_h__MwViewportGetViewport">MWDECL MwWidget <B><FONT COLOR="#0000FF">MwViewportGetViewport</FONT></B> (
MwWidget handle
);</pre>
<dl>
<dd>
Get parent widget where widgets should be placed.
</dd>
<dt>
Parameter <code>handle</code>
</dt>
<dd>
Widget.
</dd>
<dt>
Returns
</dt>
<dd>
Widget.
</dd>
</dl>
<hr>
<pre id="Mw_Widget_Viewport_h__MwViewportSetSize">MWDECL <B><FONT COLOR="#228B22">void</FONT></B> <B><FONT COLOR="#0000FF">MwViewportSetSize</FONT></B> (
MwWidget handle,
<B><FONT COLOR="#228B22">int</FONT></B> w,
<B><FONT COLOR="#228B22">int</FONT></B> h
);</pre>
<dl>
<dd>
Set viewport size.
</dd>
<dt>
Parameter <code>handle</code>
</dt>
<dd>
Widget.
</dd>
<dt>
Parameter <code>w</code>
</dt>
<dd>
Width.
</dd>
<dt>
Parameter <code>h</code>
</dt>
<dd>
Height.
</dd>
</dl>
<hr>
<h2 align="center" id="Mw_Widget_Vulkan_h">Mw/Widget/Vulkan.h</h2>
<dl>
<dt>