mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-02 23:50:50 +00:00
done
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@761 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -18,7 +18,7 @@ extern "C" {
|
||||
* @param str String
|
||||
* @return String
|
||||
*/
|
||||
MWDECL char* MwStringDupliacte(const char* str);
|
||||
MWDECL char* MwStringDuplicate(const char* str);
|
||||
|
||||
/*!
|
||||
* @brief Concatenates 2 strings
|
||||
|
||||
@@ -72,7 +72,7 @@ MwInline void MwListBoxInsert(MwWidget handle, int index, void* packet) {
|
||||
* @param index Index
|
||||
*/
|
||||
MwInline void MwListBoxDelete(MwWidget handle, int index) {
|
||||
MwVaWidgetExecute(handle, "mwListboxDelete", NULL, index);
|
||||
MwVaWidgetExecute(handle, "mwListBoxDelete", NULL, index);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
@@ -19,6 +19,36 @@ extern "C" {
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user