generate pkgconfig file (don't commit yet i fucked it up)
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
IoI_xD 2026-07-15 17:32:53 -07:00
commit c705d2b98c
375 changed files with 203503 additions and 203476 deletions

View file

@ -1,46 +1,46 @@
/*!
* @file Mw/Widget/Viewport.h
* @brief Viewport widget
*/
#ifndef __MW_WIDGET_VIEWPORT_H__
#define __MW_WIDGET_VIEWPORT_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#include <Mw/Core.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Viewport widget class
*/
MWDECL MwClass MwViewportClass;
/*!
* @brief Get parent widget where widgets should be placed
* @param handle Widget
* @return Widget
*/
MwInline MwWidget MwViewportGetViewport(MwWidget handle) {
MwWidget out;
MwVaWidgetExecute(handle, "mwViewportGetViewport", &out);
return out;
}
/*!
* @brief Set viewport size
* @param handle Widget
* @param w Width
* @param h Height
*/
MwInline void MwViewportSetSize(MwWidget handle, int w, int h) {
MwVaWidgetExecute(handle, "mwViewportSetSize", NULL, w, h);
}
#ifdef __cplusplus
}
#endif
#endif
/*!
* @file Mw/Widget/Viewport.h
* @brief Viewport widget
*/
#ifndef __MW_WIDGET_VIEWPORT_H__
#define __MW_WIDGET_VIEWPORT_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#include <Mw/Core.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Viewport widget class
*/
MWDECL MwClass MwViewportClass;
/*!
* @brief Get parent widget where widgets should be placed
* @param handle Widget
* @return Widget
*/
MwInline MwWidget MwViewportGetViewport(MwWidget handle) {
MwWidget out;
MwVaWidgetExecute(handle, "mwViewportGetViewport", &out);
return out;
}
/*!
* @brief Set viewport size
* @param handle Widget
* @param w Width
* @param h Height
*/
MwInline void MwViewportSetSize(MwWidget handle, int w, int h) {
MwVaWidgetExecute(handle, "mwViewportSetSize", NULL, w, h);
}
#ifdef __cplusplus
}
#endif
#endif