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
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
4b6eae99dc
commit
c705d2b98c
375 changed files with 203503 additions and 203476 deletions
|
|
@ -1,110 +1,110 @@
|
|||
/*!
|
||||
* @file Mw/Widget/TreeView.h
|
||||
* @brief TreeView widget
|
||||
*/
|
||||
#ifndef __MW_WIDGET_TREEVIEW_H__
|
||||
#define __MW_WIDGET_TREEVIEW_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/Core.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* @brief TreeView widget class
|
||||
*/
|
||||
MWDECL MwClass MwTreeViewClass;
|
||||
|
||||
/*!
|
||||
* @brief Adds item to the treeview
|
||||
* @param handle Widget
|
||||
* @parma parent Parent
|
||||
* @parma pixmap Pixmap
|
||||
* @param item Item
|
||||
*/
|
||||
MwInline void* MwTreeViewAdd(MwWidget handle, void* parent, MwLLPixmap pixmap, const char* item) {
|
||||
void* out;
|
||||
MwVaWidgetExecute(handle, "mwTreeViewAdd", &out, parent, pixmap, item);
|
||||
return out;
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Deletes item from the treeview
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
*/
|
||||
MwInline void MwTreeViewDelete(MwWidget handle, void* item) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewDelete", NULL, item);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Resets the treeview
|
||||
* @param handle Widget
|
||||
*/
|
||||
MwInline void MwTreeViewReset(MwWidget handle) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewReset", NULL);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Gets item from the treeview
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @return Item
|
||||
*/
|
||||
MwInline const char* MwTreeViewGet(MwWidget handle, void* item) {
|
||||
const char* out;
|
||||
MwVaWidgetExecute(handle, "mwTreeViewGet", (void*)&out, item);
|
||||
return out;
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Sets the label of ithe item
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @param label Label
|
||||
*/
|
||||
MwInline void MwTreeViewSetLabel(MwWidget handle, void* item, const char* label) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewSetLabel", NULL, item, label);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Sets the pixmap of ithe item
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @param pixmap Pixmap
|
||||
*/
|
||||
MwInline void MwTreeViewSetPixmap(MwWidget handle, void* item, MwLLPixmap pixmap) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewSetPixmap", NULL, item, pixmap);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Sets the opened state of ithe item
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @param opened Opened or not
|
||||
*/
|
||||
MwInline void MwTreeViewSetOpened(MwWidget handle, void* item, int opened) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewSetOpened", NULL, item, opened);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Gets the opened state of ithe item
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @return Opened or not
|
||||
*/
|
||||
MwInline int MwTreeViewGetOpened(MwWidget handle, void* item) {
|
||||
int out;
|
||||
MwVaWidgetExecute(handle, "mwTreeViewGetOpened", (void*)&out, item);
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
/*!
|
||||
* @file Mw/Widget/TreeView.h
|
||||
* @brief TreeView widget
|
||||
*/
|
||||
#ifndef __MW_WIDGET_TREEVIEW_H__
|
||||
#define __MW_WIDGET_TREEVIEW_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/Core.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* @brief TreeView widget class
|
||||
*/
|
||||
MWDECL MwClass MwTreeViewClass;
|
||||
|
||||
/*!
|
||||
* @brief Adds item to the treeview
|
||||
* @param handle Widget
|
||||
* @parma parent Parent
|
||||
* @parma pixmap Pixmap
|
||||
* @param item Item
|
||||
*/
|
||||
MwInline void* MwTreeViewAdd(MwWidget handle, void* parent, MwLLPixmap pixmap, const char* item) {
|
||||
void* out;
|
||||
MwVaWidgetExecute(handle, "mwTreeViewAdd", &out, parent, pixmap, item);
|
||||
return out;
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Deletes item from the treeview
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
*/
|
||||
MwInline void MwTreeViewDelete(MwWidget handle, void* item) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewDelete", NULL, item);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Resets the treeview
|
||||
* @param handle Widget
|
||||
*/
|
||||
MwInline void MwTreeViewReset(MwWidget handle) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewReset", NULL);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Gets item from the treeview
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @return Item
|
||||
*/
|
||||
MwInline const char* MwTreeViewGet(MwWidget handle, void* item) {
|
||||
const char* out;
|
||||
MwVaWidgetExecute(handle, "mwTreeViewGet", (void*)&out, item);
|
||||
return out;
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Sets the label of ithe item
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @param label Label
|
||||
*/
|
||||
MwInline void MwTreeViewSetLabel(MwWidget handle, void* item, const char* label) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewSetLabel", NULL, item, label);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Sets the pixmap of ithe item
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @param pixmap Pixmap
|
||||
*/
|
||||
MwInline void MwTreeViewSetPixmap(MwWidget handle, void* item, MwLLPixmap pixmap) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewSetPixmap", NULL, item, pixmap);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Sets the opened state of ithe item
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @param opened Opened or not
|
||||
*/
|
||||
MwInline void MwTreeViewSetOpened(MwWidget handle, void* item, int opened) {
|
||||
MwVaWidgetExecute(handle, "mwTreeViewSetOpened", NULL, item, opened);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Gets the opened state of ithe item
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @return Opened or not
|
||||
*/
|
||||
MwInline int MwTreeViewGetOpened(MwWidget handle, void* item) {
|
||||
int out;
|
||||
MwVaWidgetExecute(handle, "mwTreeViewGetOpened", (void*)&out, item);
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue