forked from pyrite-dev/milsko
add MwShow
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@713 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
1a96e4f559
commit
cf761bf19a
7 changed files with 30 additions and 11 deletions
|
|
@ -293,6 +293,13 @@ MWDECL void MwToggleDarkTheme(MwWidget handle, int toggle);
|
||||||
*/
|
*/
|
||||||
MWDECL MwWidget MwGetParent(MwWidget handle);
|
MWDECL MwWidget MwGetParent(MwWidget handle);
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* @brief Show widget
|
||||||
|
* @param handle Widget
|
||||||
|
* @param toggle Toggle
|
||||||
|
*/
|
||||||
|
MWDECL void MwShow(MwWidget handle, int toggle);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -334,6 +334,13 @@
|
||||||
<widget name="handle" />
|
<widget name="handle" />
|
||||||
</arguments>
|
</arguments>
|
||||||
</function>
|
</function>
|
||||||
|
<function name="MwLibraryInit" />
|
||||||
|
<function name="MwShow">
|
||||||
|
<arguments>
|
||||||
|
<widget name="handle" />
|
||||||
|
<integer name="toggle" />
|
||||||
|
</arguments>
|
||||||
|
</function>
|
||||||
</functions>
|
</functions>
|
||||||
</header>
|
</header>
|
||||||
<header name="Error">
|
<header name="Error">
|
||||||
|
|
|
||||||
|
|
@ -720,7 +720,8 @@ static void MwLLBeginStateChangeImpl(MwLL handle){
|
||||||
}
|
}
|
||||||
|
|
||||||
static void MwLLEndStateChangeImpl(MwLL handle) {
|
static void MwLLEndStateChangeImpl(MwLL handle) {
|
||||||
(void)handle;;
|
(void)handle;
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int MwLLGDICallInitImpl(void) {
|
static int MwLLGDICallInitImpl(void) {
|
||||||
|
|
|
||||||
|
|
@ -629,3 +629,7 @@ int MwLibraryInit(void) {
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MwShow(MwWidget handle, int toggle) {
|
||||||
|
MwLLShow(handle->lowlevel, toggle);
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue