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

@@ -18,7 +18,20 @@ extern "C" {
*/
MWDECL MwClass MwViewportClass;
MWDECL MwWidget MwViewportGetViewport(MwWidget widget);
/*!
* %brief Get parent widget where widgets should be placed
* %param handle Widget
* %return Widget
*/
MWDECL MwWidget MwViewportGetViewport(MwWidget handle);
/*!
* %brief Set viewport size
* %param handle Widget
* %param w Width
* %param h Height
*/
MWDECL void MwViewportSetSize(MwWidget handle, int w, int h);
#ifdef __cplusplus
}