new cursor

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@674 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-12 18:28:25 +00:00
parent da33803835
commit 94e0fe41c0
6 changed files with 139 additions and 3 deletions

View File

@@ -24,6 +24,16 @@ MWDECL MwCursor MwCursorDefault;
*/
MWDECL MwCursor MwCursorDefaultMask;
/*!
* @brief Arrow cursor
*/
MWDECL MwCursor MwCursorArrow;
/*!
* @brief Arrow cursor mask
*/
MWDECL MwCursor MwCursorArrowMask;
/*!
* @brief Cross cursor
*/

View File

@@ -131,7 +131,9 @@ struct _MwListBox {
};
struct _MwComboBox {
char** list;
int opened;
int selected;
};
struct _MwDirectoryEntry {

View File

@@ -18,6 +18,16 @@ extern "C" {
*/
MWDECL MwClass MwComboBoxClass;
/*!
* @brief Adds the entry to ComboBox
* @param handle Widget
* @param index Index
* @param text Text
*/
MwInline void MwComboBoxAdd(MwWidget handle, int index, const char* text) {
MwVaWidgetExecute(handle, "mwComboBoxAdd", NULL, index, text);
}
#ifdef __cplusplus
}
#endif