Dactyloidae Milsko Widget initial commit

This commit is contained in:
wuggy 2026-07-28 23:21:45 +01:00
commit 91b45c0d14
410 changed files with 204246 additions and 0 deletions

View file

@ -0,0 +1,27 @@
/*!
* @file Mw/Dialog/ColorPicker.h
* @brief Color picker
*/
#ifndef __MW_COLORPICKER_H__
#define __MW_COLORPICKER_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Creates a color picker
* @param handle Widget
* @param title Title text
* @return Widget
*/
MWDECL MwWidget MWAPI MwColorPicker(MwWidget handle, const char* title);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -0,0 +1,27 @@
/*!
* @file Mw/Dialog/DirectoryChooser.h
* @brief Directory chooser
*/
#ifndef __MW_DIRECTORYCHOOSER_H__
#define __MW_DIRECTORYCHOOSER_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Creates a directory chooser
* @param handle Widget
* @param title Title text
* @return Widget
*/
MWDECL MwWidget MWAPI MwDirectoryChooser(MwWidget handle, const char* title);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -0,0 +1,36 @@
/*!
* @file Mw/Dialog/FileChooser.h
* @brief File chooser
*/
#ifndef __MW_FILECHOOSER_H__
#define __MW_FILECHOOSER_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Creates a file chooser
* @param handle Widget
* @param title Title text
* @return Widget
*/
MWDECL MwWidget MWAPI MwFileChooser(MwWidget handle, const char* title);
/*!
* @brief Creates a file chooser
* @param handle Widget
* @param title Title text
* @param dir Show directory only or not
* @return Widget
*/
MWDECL MwWidget MWAPI MwFileChooserEx(MwWidget handle, const char* title, int dir);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -0,0 +1,36 @@
/*!
* @file Mw/Dialog/MessageBox.h
* @brief Message box
*/
#ifndef __MW_MESSAGEBOX_H__
#define __MW_MESSAGEBOX_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Creates a message box
* @param handle Widget
* @param text Text
* @param title Title text
* @param flag Flag
* @return Widget
*/
MWDECL MwWidget MWAPI MwMessageBox(MwWidget handle, const char* text, const char* title, unsigned int flag);
/*!
* @brief Gets a child of the message box
* @param handle Widget
* @param child Child
*/
MWDECL MwWidget MWAPI MwMessageBoxGetChild(MwWidget handle, int child);
#ifdef __cplusplus
}
#endif
#endif