Files
milsko/include/Mw/Widget/Viewport.h
NishiOwO 8532ac96ec viewport seems to work
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@275 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-11 15:03:56 +00:00

41 lines
667 B
C

/* $Id$ */
/*!
* %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>
#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
*/
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
}
#endif
#endif