idk what i did

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@446 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-21 17:30:41 +00:00
parent d263f6abb1
commit 1dbe11aca0
49 changed files with 97 additions and 1715 deletions

View File

@@ -2,7 +2,6 @@
/*!
* %file Mw/Widget/Button.h
* %brief Button widget
* %prop MwNpixmap MwNtext
*/
#ifndef __MW_WIDGET_BUTTON_H__
#define __MW_WIDGET_BUTTON_H__

View File

@@ -2,7 +2,6 @@
/*!
* %file Mw/Widget/CheckBox.h
* %brief CheckBox widget
* %prop MwNchecked
*/
#ifndef __MW_WIDGET_CHECKBOX_H__
#define __MW_WIDGET_CHECKBOX_H__

View File

@@ -2,7 +2,6 @@
/*!
* %file Mw/Widget/Entry.h
* %brief Entry widget
* %prop MwNtext
*/
#ifndef __MW_WIDGET_ENTRY_H__
#define __MW_WIDGET_ENTRY_H__

View File

@@ -2,7 +2,6 @@
/*!
* %file Mw/Widget/Image.h
* %brief Image widget
* %prop MwNpixmap
*/
#ifndef __MW_WIDGET_IMAGE_H__
#define __MW_WIDGET_IMAGE_H__

View File

@@ -2,7 +2,6 @@
/*!
* %file Mw/Widget/Label.h
* %brief Label widget
* %prop MwNtext MwNalignment MwNbold
*/
#ifndef __MW_WIDGET_LABEL_H__
#define __MW_WIDGET_LABEL_H__

View File

@@ -2,7 +2,6 @@
/*!
* %file Mw/Widget/ListBox.h
* %brief ListBox widget
* %prop MwNleftPadding
*/
#ifndef __MW_WIDGET_LISTBOX_H__
#define __MW_WIDGET_LISTBOX_H__
@@ -27,7 +26,12 @@ MWDECL MwClass MwListBoxClass;
* %param pixmap Pixmap
* %param ... Text
*/
MWDECL void MwListBoxInsert(MwWidget handle, int index, MwLLPixmap pixmap, ...); /* VA_HINT:pixmap */
MwInline void MwListBoxInsert(MwWidget handle, int index, MwLLPixmap pixmap, ...) {
va_list va;
va_start(va, pixmap);
MwVaWidgetExecute(handle, "mwListBoxInsert", NULL, index, pixmap, &va);
va_end(va);
}
/*!
* %brief Inserts multiple items on the listbox
@@ -37,26 +41,12 @@ MWDECL void MwListBoxInsert(MwWidget handle, int index, MwLLPixmap pixmap, ...);
* %param pixmap Pixmap
* %param ... Text
*/
MWDECL void MwListBoxInsertMultiple(MwWidget handle, int index, int count, MwLLPixmap* pixmap, ...); /* VA_HINT:pixmap */
/*!
* %brief Inserts item on the listbox
* %param handle Widget
* %param index Index
* %param pixmap Pixmap
* %param va Text
*/
MWDECL void MwListBoxVaInsert(MwWidget handle, int index, MwLLPixmap pixmap, va_list va);
/*!
* %brief Inserts multiple items on the listbox
* %param handle Widget
* %param index Index
* %param count Count
* %param pixmap Pixmap
* %param va Text
*/
MWDECL void MwListBoxVaInsertMultiple(MwWidget handle, int index, int count, MwLLPixmap* pixmap, va_list va);
MwInline void MwListBoxInsertMultiple(MwWidget handle, int index, int count, MwLLPixmap* pixmap, ...) {
va_list va;
va_start(va, pixmap);
MwVaWidgetExecute(handle, "mwListBoxInsertMultiple", NULL, index, count, pixmap, &va);
va_end(va);
}
/*!
* %brief Deletes item from the listbox