tab widget
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
6eefe44f6f
commit
1c2cd6e875
21 changed files with 451 additions and 51 deletions
49
include/Mw/Widget/Tab.h
Normal file
49
include/Mw/Widget/Tab.h
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
/*!
|
||||
* @file Mw/Widget/Tab.h
|
||||
* @brief Tab widget
|
||||
*/
|
||||
#ifndef __MW_WIDGET_TAB_H__
|
||||
#define __MW_WIDGET_TAB_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/Core.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* @brief Tab widget class
|
||||
*/
|
||||
MWDECL MwClass MwTabClass;
|
||||
|
||||
/*!
|
||||
* @brief Adds a tab
|
||||
* @param handle Widget
|
||||
* @param name Tab name
|
||||
* @return Frame
|
||||
*/
|
||||
MwInline MwWidget MwTabAdd(MwWidget handle, const char* name) {
|
||||
MwWidget out;
|
||||
MwVaWidgetExecute(handle, "mwTabAdd", &out, name);
|
||||
return out;
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Gets a tab frame
|
||||
* @param handle Widget
|
||||
* @param name Tab name
|
||||
* @return Frame
|
||||
*/
|
||||
MwInline MwWidget MwTabGetFrame(MwWidget handle, const char* name) {
|
||||
MwWidget out;
|
||||
MwVaWidgetExecute(handle, "mwTabGetFrame", &out, name);
|
||||
return out;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue