diff --git a/Doxyfile b/Doxyfile
index 6728419..fd53bc4 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -19,7 +19,6 @@ FULL_PATH_NAMES = YES
STRIP_FROM_PATH = include/
ENABLED_SECTIONS = YES
OUTPUT_LANGUAGE = English
-FILTER_PATTERNS = *.h=tools/doxyfilter.pl
GENERATE_LATEX = NO
EXTRACT_ALL = YES
diff --git a/doc/index.html b/doc/index.html
deleted file mode 100644
index 4359c7d..0000000
--- a/doc/index.html
+++ /dev/null
@@ -1,3778 +0,0 @@
-
-
-
- Milsko GUI Toolkit Documentation
-
-
- Milsko GUI Toolkit Documentation
-
- Table of Contents
-
--
- Mw/Constants.h
-
--
- MwDIRECTION
-
--
- MwORIENTATION
-
--
- MwALIGNMENT
-
--
- MwDEFAULT
-
--
- MwDIRECTORY_TYPE
-
--
- MwMB_ICONMASK
-
--
- MwMB_BUTTONMASK
-
--
- MwMB_BUTTONOK
-
--
- MwMB_BUTTONCANCEL
-
--
- MwMB_BUTTONYES
-
--
- MwMB_BUTTONNO
-
--
- MwMB_BUTTONOKCANCEL
-
--
- MwMB_BUTTONYESNO
-
--
- MwMB_BUTTONYESNOCANCEL
-
--
- Mw/Core.h
-
--
- MwDispatch
-
--
- MwDispatch2
-
--
- MwDispatch3
-
--
- MwCreateWidget
-
--
- MwVaCreateWidget
-
--
- MwVaListCreateWidget
-
--
- MwDestroyWidget
-
--
- MwVaWidgetExecute
-
--
- MwVaListWidgetExecute
-
--
- MwLoop
-
--
- MwStep
-
--
- MwPending
-
--
- MwSetInteger
-
--
- MwSetText
-
--
- MwSetVoid
-
--
- MwGetInteger
-
--
- MwGetText
-
--
- MwGetVoid
-
--
- MwSetDefault
-
--
- MwVaApply
-
--
- MwVaListApply
-
--
- MwAddUserHandler
-
--
- MwDispatchUserHandler
-
--
- MwSetErrorHandler
-
--
- MwDispatchError
-
--
- MwGetBeforeStep
-
--
- MwForceRender
-
--
- MwForceRender2
-
--
- MwAddTickList
-
--
- MwFocus
-
--
- MwGrabPointer
-
--
- MwHideCursor
-
--
- Mw/Cursor.h
-
--
- MwCursorDefault
-
--
- MwCursorDefaultMask
-
--
- MwCursorCross
-
--
- MwCursorCrossMask
-
--
- MwCursorText
-
--
- MwCursorTextMask
-
--
- MwCursorHidden
-
--
- MwCursorHiddenMask
-
--
- Mw/Default.h
-
--
- MwDefaultBackground
-
--
- MwDefaultForeground
-
--
- MwGetDefaultBorderWidth
-
--
- Mw/Directory.h
-
--
- MwDirectoryOpen
-
--
- MwDirectoryClose
-
--
- MwDirectoryRead
-
--
- MwDirectoryFreeEntry
-
--
- MwDirectoryCurrent
-
--
- MwDirectoryJoin
-
--
- Mw/Draw.h
-
--
- MwParseColor
-
--
- MwLightenColor
-
--
- MwDrawRect
-
--
- MwDrawRectFading
-
--
- MwDrawFrame
-
--
- MwDrawWidgetBack
-
--
- MwDrawTriangle
-
--
- MwDrawFrameEx
-
--
- MwDrawText
-
--
- MwLoadImage
-
--
- MwTextWidth
-
--
- MwTextHeight
-
--
- MwGetColor
-
--
- MwLoadRaw
-
--
- MwLoadXPM
-
--
- MwLoadIcon
-
--
- MwParseColorName
-
--
- Mw/Error.h
-
--
- MwErrorEnum_T
-
--
- MwEsuccess
-
--
- MwEerror
-
--
- MwGetLastError
-
--
- Mw/FileChooser.h
-
--
- Mw/Font.h
-
--
- MwFontData[]
-
--
- MwBoldFontData[]
-
--
- MwTTFData[]
-
--
- MwTTFDataSize
-
--
- MwBoldTTFData[]
-
--
- MwBoldTTFDataSize
-
--
- MwFontLoad
-
--
- MwFontFree
-
--
- Mw/Icon.h
-
--
- MwIconBack[]
-
--
- MwIconComputer[]
-
--
- MwIconDirectory[]
-
--
- MwIconError[]
-
--
- MwIconFile[]
-
--
- MwIconForward[]
-
--
- MwIconInfo[]
-
--
- MwIconNews[]
-
--
- MwIconNote[]
-
--
- MwIconSearch[]
-
--
- MwIconUp[]
-
--
- MwIconWarning[]
-
--
- Mw/LowLevel.h
-
--
- Mw/MachDep.h
-
--
- Mw/MessageBox.h
-
--
- MwMessageBox
-
--
- MwMessageBoxGetChild
-
--
- MwMessageBoxDestroy
-
--
- Mw/Milsko.h
-
--
- Mw/String.h
-
--
- MwStringDupliacte
-
--
- MwStringConcat
-
--
- MwStringSize
-
--
- MwStringTime
-
--
- Mw/StringDefs.h
-
--
- Mw/TypeDefs.h
-
--
- Mw/Unicode.h
-
--
- MwUTF8ToUTF32
-
--
- MwUTF8Length
-
--
- MwUTF8Copy
-
--
- MwUTF32ToUTF8
-
--
- Mw/Version.h
-
--
- MwMAJOR
-
--
- MwMINOR
-
--
- MwVERSION
-
--
- Mw/Widget/Button.h
-
--
- MwButtonClass
-
--
- Mw/Widget/CheckBox.h
-
--
- MwCheckBoxClass
-
--
- Mw/Widget/Entry.h
-
--
- MwEntryClass
-
--
- Mw/Widget/Frame.h
-
--
- MwFrameClass
-
--
- Mw/Widget/Image.h
-
--
- MwImageClass
-
--
- Mw/Widget/Label.h
-
--
- MwLabelClass
-
--
- Mw/Widget/ListBox.h
-
--
- MwListBoxClass
-
--
- MwListBoxCreatePacket
-
--
- MwListBoxDestroyPacket
-
--
- MwListBoxPacketInsert
-
--
- MwListBoxPacketSet
-
--
- MwListBoxPacketSetIcon
-
--
- MwListBoxInsert
-
--
- MwListBoxDelete
-
--
- MwListBoxGet
-
--
- MwListBoxSetWidth
-
--
- MwListBoxReset
-
--
- Mw/Widget/Menu.h
-
--
- MwMenuClass
-
--
- MwMenuAdd
-
--
- Mw/Widget/NumberEntry.h
-
--
- MwNumberEntryClass
-
--
- Mw/Widget/OpenGL.h
-
--
- MwOpenGLClass
-
--
- MwOpenGLMakeCurrent
-
--
- MwOpenGLGetProcAddress
-
--
- MwOpenGLSwapBuffer
-
--
- Mw/Widget/ScrollBar.h
-
--
- MwScrollBarClass
-
--
- MwScrollBarGetVisibleLength
-
--
- Mw/Widget/SubMenu.h
-
--
- MwSubMenuClass
-
--
- Mw/Widget/Viewport.h
-
--
- MwViewportClass
-
--
- MwViewportGetViewport
-
--
- MwViewportSetSize
-
--
- Mw/Widget/Vulkan.h
-
--
- MwVulkanClass
-
--
- MwVulkanEnableExtension
-
--
- MwVulkanEnableLayer
-
--
- MwVulkanConfig_T
-
--
- api_version
-
--
- vk_version
-
--
- validation_layers
-
--
- MwVulkanConfigure
-
--
- MwVulkanField_T
-
--
- MwVulkanField_GetInstanceProcAddr
-
--
- MwVulkanField_Instance
-
--
- MwVulkanField_Surface
-
--
- MwVulkanField_PhysicalDevice
-
--
- MwVulkanField_LogicalDevice
-
--
- MwVulkanField_GraphicsQueueIndex
-
--
- MwVulkanField_PresentQueueIndex
-
--
- MwVulkanField_PresentQueue
-
--
- MwVulkanGetField
-
--
- MwVulkanSupported
-
--
- Mw/Widget/Window.h
-
--
- MwWindowClass
-
--
- MwWindowMakeBorderless
-
-
-
-Mw/Constants.h
-
--
- Constants.
-
-
-
-enum MwDIRECTION;
-
--
- Direction enumeration.
-
-
-
-enum MwORIENTATION;
-
--
- Orientation.
-
-
-
-enum MwALIGNMENT;
-
--
- Alignment.
-
-
-
-#define MwDEFAULT 0x0fffffff
-
--
- Default.
-
-
-
-enum MwDIRECTORY_TYPE;
-
--
- Directory entry type.
-
-
-
-#define MwMB_ICONMASK 0xf
-
--
- Icon mask.
-
-
-
-#define MwMB_BUTTONMASK 0xf0
-
--
- Button mask.
-
-
-
-#define MwMB_BUTTONOK 0x10
-
--
- OK button.
-
-
-
-#define MwMB_BUTTONCANCEL 0x20
-
--
- Cancel button.
-
-
-
-#define MwMB_BUTTONYES 0x40
-
--
- Yes button.
-
-
-
-#define MwMB_BUTTONNO 0x80
-
--
- No button.
-
-
-
-#define MwMB_BUTTONOKCANCEL (MwMB_BUTTONCANCEL | MwMB_BUTTONOK)
-
--
- Ok and Cancel button.
-
-
-
-#define MwMB_BUTTONYESNO (MwMB_BUTTONYES | MwMB_BUTTONNO)
-
--
- Yes and No button.
-
-
-
-#define MwMB_BUTTONYESNOCANCEL (MwMB_BUTTONYES | MwMB_BUTTONNO | MwMB_BUTTONCANCEL)
-
--
- Yes, No and Cancel button.
-
-
-
-Mw/Core.h
-
--
- Core.
-
-
-
-#define MwDispatch(x, y)
-
--
- Dispatches the handler of widget class.
-
--
-
 | Used internally. |
-
--
- Parameter
x
-
--
- Widget.
-
--
- Parameter
y
-
--
- Handler name.
-
-
-
-#define MwDispatch2(x, y)
-
--
- Dispatches the handler of widget class.
-
--
-
 | Used internally. |
-
--
- Parameter
x
-
--
- Widget.
-
--
- Parameter
y
-
--
- Handler name.
-
--
- Returns
-
--
-
0 for success, otherwise failed.
-
-
-
-#define MwDispatch3(x, y, z)
-
--
- Dispatches the handler of widget class.
-
--
-
 | Used internally. |
-
--
- Parameter
x
-
--
- Widget.
-
--
- Parameter
y
-
--
- Handler name.
-
--
- Parameter
z
-
--
- Argument.
-
-
-
-MWDECL MwWidget MwCreateWidget (
- MwClass widget_class,
- const char* name,
- MwWidget parent,
- int x,
- int y,
- unsigned int width,
- unsigned int height
-);
-
--
- Creates a widget.
-
--
- Parameter
widget_class
-
--
- Widget class.
-
--
- Parameter
name
-
--
- Widget name.
-
--
- Parameter
parent
-
--
- Parent widget or
NULL.
-
--
- Parameter
x
-
--
- X.
-
--
- Parameter
y
-
--
- Y.
-
--
- Parameter
width
-
--
- Width.
-
--
- Parameter
height
-
--
- Height.
-
--
- Returns
-
--
- Widget.
-
-
-
-MWDECL MwWidget MwVaCreateWidget (
- MwClass widget_class,
- const char* name,
- MwWidget parent,
- int x,
- int y,
- unsigned int width,
- unsigned int height,
- ...
-);
-
--
- Creates a widget.
-
--
- Parameter
widget_class
-
--
- Widget class.
-
--
- Parameter
name
-
--
- Widget name.
-
--
- Parameter
parent
-
--
- Parent widget or
NULL.
-
--
- Parameter
x
-
--
- X.
-
--
- Parameter
y
-
--
- Y.
-
--
- Parameter
width
-
--
- Width.
-
--
- Parameter
height
-
--
- Height.
-
--
- Parameter
...
-
--
- Same with MwVaApply.
-
--
- Returns
-
--
- Widget.
-
-
-
-MWDECL MwWidget MwVaListCreateWidget (
- MwClass widget_class,
- const char* name,
- MwWidget parent,
- int x,
- int y,
- unsigned int width,
- unsigned int height,
- va_list va
-);
-
--
- Creates a widget.
-
--
- Parameter
widget_class
-
--
- Widget class.
-
--
- Parameter
name
-
--
- Widget name.
-
--
- Parameter
parent
-
--
- Parent widget or
NULL.
-
--
- Parameter
x
-
--
- X.
-
--
- Parameter
y
-
--
- Y.
-
--
- Parameter
width
-
--
- Width.
-
--
- Parameter
height
-
--
- Height.
-
--
- Parameter
va
-
--
- Same with MwVaListApply.
-
--
- Returns
-
--
- Widget.
-
-
-
-MWDECL void MwDestroyWidget (
- MwWidget handle
-);
-
--
- Destroys the widget and its child widgets.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-MWDECL void MwVaWidgetExecute (
- MwWidget handle,
- const char* func_name,
- void* out,
- ...
-);
-
--
- Executes a method specific to the widget (varadic version).
-
--
-
 | Prefer using corresponding functions for better code clarity and type safety. |
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
...
-
--
- Widget function arguments.
-
-
-
-MWDECL void MwVaListWidgetExecute (
- MwWidget handle,
- const char* func_name,
- void* out,
- va_list va
-);
-
--
- Executes a method specific to the widget (va_list version).
-
--
-
 | Prefer using corresponding functions for better code clarity and type safety. |
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
va
-
--
- Widget function arguments.
-
-
-
-MWDECL void MwLoop (
- MwWidget handle
-);
-
--
- Runs the main loop.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-MWDECL void MwStep (
- MwWidget handle
-);
-
--
- Runs the single step.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-MWDECL int MwPending (
- MwWidget handle
-);
-
--
- Check if any event is pending.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Returns
-
--
-
1 if any event is pending.
-
-
-
-MWDECL void MwSetInteger (
- MwWidget handle,
- const char* key,
- int n
-);
-
--
- Sets an integer property.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
key
-
--
- Key.
-
--
- Parameter
n
-
--
- Value.
-
-
-
-MWDECL void MwSetText (
- MwWidget handle,
- const char* key,
- const char* value
-);
-
--
- Sets a text property.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
key
-
--
- Key.
-
--
- Parameter
value
-
--
- Value.
-
-
-
-MWDECL void MwSetVoid (
- MwWidget handle,
- const char* key,
- void* value
-);
-
--
- Sets a void pointer property.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
key
-
--
- Key.
-
--
- Parameter
value
-
--
- Value.
-
-
-
-MWDECL int MwGetInteger (
- MwWidget handle,
- const char* key
-);
-
--
- Gets the integer property.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
key
-
--
- Key.
-
--
- Returns
-
--
- Value.
-
-
-
-MWDECL const char* MwGetText (
- MwWidget handle,
- const char* key
-);
-
--
- Gets the text property.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
key
-
--
- Key.
-
--
- Returns
-
--
- Value.
-
-
-
-MWDECL void* MwGetVoid (
- MwWidget handle,
- const char* key
-);
-
--
- Gets the void pointer property.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
key
-
--
- Key.
-
--
- Returns
-
--
- Value.
-
-
-
-MWDECL void MwSetDefault (
- MwWidget handle
-);
-
--
- Sets the default property.
-
--
-
 | This is called when widget is created. |
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-MWDECL void MwVaApply (
- MwWidget handle,
- ...
-);
-
--
- Sets the properties.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
...
-
--
- Properties.
-
-
-
-MWDECL void MwVaListApply (
- MwWidget handle,
- va_list va
-);
-
--
- Sets properties.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
va
-
--
- Properties.
-
-
-
-MWDECL void MwAddUserHandler (
- MwWidget handle,
- const char* key,
- MwUserHandler handler,
- void* user_data
-);
-
--
- Sets a user handler.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
key
-
--
- Key.
-
--
- Parameter
handler
-
--
- Handler.
-
--
- Parameter
user_data
-
--
- User data passed to handler.
-
-
-
-MWDECL void MwDispatchUserHandler (
- MwWidget handle,
- const char* key,
- void* handler_data
-);
-
--
- Dispatches the user handler.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
key
-
--
- Key.
-
--
- Parameter
handler_data
-
--
- Handler data passed to handler.
-
-
-
-MWDECL void MwSetErrorHandler (
- MwErrorHandler handler,
- void* user_data
-);
-
--
- Sets an error handler.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
handler
-
--
- Handler.
-
--
- Parameter
user_data
-
--
- User data passed to handler.
-
-
-
-MWDECL void MwDispatchError (
- int code,
- const char* message
-);
-
--
- Dispatches the error handler.
-
--
- Parameter
code
-
--
- Error code.
-
--
- Parameter
message
-
--
- Error message.
-
-
-
-MWDECL void MwGetBeforeStep (
- MwWidget handle,
- jmp_buf* jmpbuf
-);
-
--
- Gets the before_step of widget.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
jmpbuf
-
--
- jmp_buf.
-
-
-
-MWDECL void MwForceRender (
- MwWidget handle
-);
-
--
- Forcefully makes widget render.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-MWDECL void MwForceRender2 (
- MwWidget handle,
- void* ptr
-);
-
--
- Forcefully makes widget render.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
ptr
-
--
- Ignored.
-
-
-
-MWDECL void MwAddTickList (
- MwWidget handle
-);
-
--
- Adds an widget to tick handler list.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-MWDECL void MwFocus (
- MwWidget handle
-);
-
--
- Focus the widget.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-MWDECL void MwGrabPointer (
- MwWidget handle,
- int toggle
-);
-
--
- Grabs the pointer.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
toggle
-
--
- Toggle.
-
-
-
-MWDECL void MwHideCursor (
- MwWidget handle
-);
-
--
- Hides the cursor.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-Mw/Cursor.h
-
--
- Cursor externs.
-
-
-
-MWDECL MwCursor MwCursorDefault;
-
--
- Default cursor.
-
-
-
-MWDECL MwCursor MwCursorDefaultMask;
-
--
- Default cursor mask.
-
-
-
-MWDECL MwCursor MwCursorCross;
-
--
- Cross cursor.
-
-
-
-MWDECL MwCursor MwCursorCrossMask;
-
--
- Cross cursor mask.
-
-
-
-MWDECL MwCursor MwCursorText;
-
--
- Text cursor.
-
-
-
-MWDECL MwCursor MwCursorTextMask;
-
--
- Text cursor mask.
-
-
-
-MWDECL MwCursor MwCursorHidden;
-
--
- Hidden cursor.
-
-
-
-MWDECL MwCursor MwCursorHiddenMask;
-
--
- Hidden cursor mask.
-
-
-
-Mw/Default.h
-
--
- Default properties.
-
-
-
-MWDECL const char* MwDefaultBackground;
-
--
- Default background color.
-
-
-
-MWDECL const char* MwDefaultForeground;
-
--
- Default foreground color.
-
-
-
-MWDECL int MwGetDefaultBorderWidth (
- MwWidget handle
-);
-
--
- Gets default border width.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-Mw/Directory.h
-
--
- Directory functions.
-
-
-
-MWDECL void* MwDirectoryOpen (
- const char* path
-);
-
--
- Opens a directory.
-
--
- Parameter
path
-
--
- Path.
-
--
- Returns
-
--
- Handle.
-
-
-
-MWDECL void MwDirectoryClose (
- void* handle
-);
-
--
- Closes a directory.
-
--
- Parameter
handle
-
--
- Handle.
-
-
-
-MWDECL MwDirectoryEntry* MwDirectoryRead (
- void* handle
-);
-
--
- Reads a directory.
-
--
- Parameter
handle
-
--
- Handle.
-
--
- Returns
-
--
- Directory entry.
-
-
-
-MWDECL void MwDirectoryFreeEntry (
- MwDirectoryEntry* entry
-);
-
--
- Frees a directory entry.
-
--
- Parameter
entry
-
--
- Entry.
-
-
-
-MWDECL char* MwDirectoryCurrent (
- void
-);
-
--
- Gets a current directory.
-
--
- Parameter
Directory
-
--
-
-
-
-
-MWDECL char* MwDirectoryJoin (
- char* a,
- char* b
-);
-
--
- Joins 2 paths.
-
--
- Parameter
a
-
--
- Path.
-
--
- Parameter
b
-
--
- Path.
-
--
- Returns
-
--
- Path.
-
-
-
-Mw/Draw.h
-
--
- Common drawing API.
-
-
-
-MWDECL MwLLColor MwParseColor (
- MwWidget handle,
- const char* text
-);
-
--
- Parses a color text.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
text
-
--
- Color text.
-
--
- Returns
-
--
- Color.
-
-
-
-MWDECL MwLLColor MwLightenColor (
- MwWidget handle,
- MwLLColor color,
- int r,
- int g,
- int b
-);
-
--
- Lighten a color.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
color
-
--
- Color.
-
--
- Parameter
r
-
--
- Red.
-
--
- Parameter
g
-
--
- Green.
-
--
- Parameter
b
-
--
- Blue.
-
--
- Returns
-
--
- Color.
-
-
-
-MWDECL void MwDrawRect (
- MwWidget handle,
- MwRect* rect,
- MwLLColor color
-);
-
--
- Draws a filled rectangle.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
rect
-
--
- Rectangle area.
-
--
- Parameter
color
-
--
- Color.
-
-
-
-MWDECL void MwDrawRectFading (
- MwWidget handle,
- MwRect* rect,
- MwLLColor color
-);
-
--
- Draws a filled rectangle that fades to a darker color.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
rect
-
--
- Rectangle area.
-
--
- Parameter
color
-
--
- Color.
-
-
-
-MWDECL void MwDrawFrame (
- MwWidget handle,
- MwRect* rect,
- MwLLColor color,
- int invert
-);
-
--
- Draws a frame.
-
--
-
 | rect gets changed to the area of rectangle inside. |
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
rect
-
--
- Rectangle area.
-
--
- Parameter
color
-
--
- Color.
-
--
- Parameter
invert
-
--
- Invert the 3D border color or not.
-
-
-
-MWDECL void MwDrawWidgetBack (
- MwWidget handle,
- MwRect* rect,
- MwLLColor color,
- int invert,
- int border
-);
-
--
- Does the DrawFrame/DrawRect combo used for drawing widget.
-
--
-
 | rect gets changed to the area of rectangle inside. |
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
rect
-
--
- Rectangle area.
-
--
- Parameter
color
-
--
- Color.
-
--
- Parameter
invert
-
--
- Invert the 3D border color or not.
-
-
-
-MWDECL void MwDrawTriangle (
- MwWidget handle,
- MwRect* rect,
- MwLLColor color,
- int invert,
- int direction
-);
-
--
- Draws a triangle.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
rect
-
--
- Rectangle area.
-
--
- Parameter
color
-
--
- Color.
-
--
- Parameter
invert
-
--
- Invert the 3D border color or not.
-
-
-
-MWDECL void MwDrawFrameEx (
- MwWidget handle,
- MwRect* rect,
- MwLLColor color,
- int invert,
- int border
-);
-
--
- Draws a frame with specified border width.
-
--
-
 | rect gets changed to the area of rectangle inside. |
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
rect
-
--
- Rectangle area.
-
--
- Parameter
color
-
--
- Color.
-
--
- Parameter
invert
-
--
- Invert the 3D border color or not.
-
--
- Parameter
border
-
--
- Border width.
-
-
-
-MWDECL void MwDrawText (
- MwWidget handle,
- MwPoint* point,
- const char* text,
- int bold,
- int align,
- MwLLColor color
-);
-
--
- Draws a text.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
point
-
--
- Center point of the text.
-
--
- Parameter
text
-
--
- Text.
-
--
- Parameter
bold
-
--
- Bold.
-
--
- Parameter
align
-
--
- Align.
-
--
- Parameter
color
-
--
- Color.
-
-
-
-MWDECL MwLLPixmap MwLoadImage (
- MwWidget handle,
- const char* path
-);
-
--
- Creates a pixmap from image.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
path
-
--
- Path.
-
--
- Returns
-
--
- Pixmap.
-
-
-
-MWDECL int MwTextWidth (
- MwWidget handle,
- const char* text
-);
-
--
- Calculates a text width.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
text
-
--
- Text.
-
--
- Returns
-
--
- Text width.
-
-
-
-MWDECL int MwTextHeight (
- MwWidget handle,
- const char* text
-);
-
--
- Calculates a text height.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
text
-
--
- Text.
-
--
- Returns
-
--
- Text height.
-
-
-
-MWDECL void MwGetColor (
- MwLLColor color,
- int* red,
- int* green,
- int* blue
-);
-
--
- Get color components.
-
--
- Parameter
color
-
--
- Color.
-
--
- Parameter
red
-
--
- Pointer to red color.
-
--
- Parameter
green
-
--
- Pointer to green color.
-
--
- Parameter
blue
-
--
- Pointer to blue color.
-
-
-
-MWDECL MwLLPixmap MwLoadRaw (
- MwWidget handle,
- unsigned char* rgb,
- int width,
- int height
-);
-
--
- Creates a pixmap from raw data.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
rgb
-
--
- RGBA data.
-
--
- Parameter
width
-
--
- Width.
-
--
- Parameter
height
-
--
- Height.
-
--
- Returns
-
--
- Pixmap.
-
-
-
-MWDECL MwLLPixmap MwLoadXPM (
- MwWidget handle,
- char** data
-);
-
--
- Creates a pixmap from XPM data.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
data
-
--
- Data.
-
--
- Returns
-
--
- Pixmap.
-
-
-
-MWDECL MwLLPixmap MwLoadIcon (
- MwWidget handle,
- unsigned int* data
-);
-
--
- Creates a pixmap from icon data.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
data
-
--
- Data.
-
--
- Returns
-
--
- Pixmap.
-
-
-
-MWDECL MwLLColor MwParseColorName (
- MwWidget handle,
- const char* color
-);
-
--
- Parses a color name.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
color
-
--
- Color name.
-
--
- Returns
-
--
- Color.
-
-
-
-Mw/Error.h
-
--
- Error codes.
-
-
-
-typedef enum MwErrorEnum_T;
-
--
- Error code enumeration.
-
-
-
- MwEsuccess = 0
-
--
- No error.
-
-
-
- MwEerror
-
--
- There was an error.
-
-
-
-MWDECL const char* MwGetLastError (
- void
-);
-
--
- Get the last error.
-
-
-
-Mw/FileChooser.h
-
--
- File chooser.
-
-
-
-Mw/Font.h
-
--
- Default font.
-
-
-
-MWDECL MwFont MwFontData[];
-
--
- Default font data.
-
-
-
-MWDECL MwFont MwBoldFontData[];
-
--
- Default bold font data.
-
-
-
-MWDECL unsigned char MwTTFData[];
-
--
- Default TTF font data.
-
-
-
-MWDECL unsigned int MwTTFDataSize;
-
--
- Default TTF font size.
-
-
-
-MWDECL unsigned char MwBoldTTFData[];
-
--
- Default bold TTF font data.
-
-
-
-MWDECL unsigned int MwBoldTTFDataSize;
-
--
- Default bold TTF font size.
-
-
-
-MWDECL void* MwFontLoad (
- unsigned char* data,
- unsigned int size
-);
-
--
- Loads a TTF Font.
-
--
- Parameter
data
-
--
- Data.
-
--
- Parameter
size
-
--
- Data size.
-
--
- Returns
-
--
- Font handle.
-
-
-
-MWDECL void MwFontFree (
- void* handle
-);
-
--
- Frees a font handle.
-
--
- Parameter
handle
-
--
- Handle.
-
-
-
-Mw/Icon.h
-
--
- Icon.
-
-
-
-MWDECL unsigned int MwIconBack[];
-
--
- Back icon.
-
-
-
-MWDECL unsigned int MwIconComputer[];
-
--
- Computer icon.
-
-
-
-MWDECL unsigned int MwIconDirectory[];
-
--
- Directory icon.
-
-
-
-MWDECL unsigned int MwIconError[];
-
--
- Error icon.
-
-
-
-MWDECL unsigned int MwIconFile[];
-
--
- File icon.
-
-
-
-MWDECL unsigned int MwIconForward[];
-
--
- Forward icon.
-
-
-
-MWDECL unsigned int MwIconInfo[];
-
--
- Info icon.
-
-
-
-MWDECL unsigned int MwIconNews[];
-
--
- News icon.
-
-
-
-MWDECL unsigned int MwIconNote[];
-
--
- Note icon.
-
-
-
-MWDECL unsigned int MwIconSearch[];
-
--
- Search icon.
-
-
-
-MWDECL unsigned int MwIconUp[];
-
--
- Up icon.
-
-
-
-MWDECL unsigned int MwIconWarning[];
-
--
- Warning icon.
-
-
-
-Mw/LowLevel.h
-
--
- Low-level drawing API.
-
--
-
 | This is used internally. |
-
-
-
-Mw/MachDep.h
-
--
- Machine dependent headers and macros.
-
-
-
-Mw/MessageBox.h
-
--
- Message box.
-
-
-
-MWDECL MwWidget MwMessageBox (
- MwWidget handle,
- const char* text,
- const char* title,
- unsigned int flag
-);
-
--
- Creates a message box.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
text
-
--
- Text.
-
--
- Parameter
title
-
--
- Title text.
-
--
- Parameter
flag
-
--
- Flag.
-
--
- Returns
-
--
- Widget.
-
-
-
-MWDECL MwWidget MwMessageBoxGetChild (
- MwWidget handle,
- int child
-);
-
--
- Gets a child of the message box.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
child
-
--
- Child.
-
-
-
-MWDECL void MwMessageBoxDestroy (
- MwWidget handle
-);
-
--
- Destroys the message box.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-Mw/Milsko.h
-
--
- Includes all headers.
-
-
-
-Mw/String.h
-
--
- String utilities.
-
-
-
-MWDECL char* MwStringDupliacte (
- const char* str
-);
-
--
- Duplicates a string.
-
--
- Parameter
str
-
--
- String.
-
--
- Returns
-
--
- String.
-
-
-
-MWDECL char* MwStringConcat (
- const char* str1,
- const char* str2
-);
-
--
- Concatenates 2 strings.
-
--
- Parameter
str1
-
--
- String.
-
--
- Parameter
str2
-
--
- String.
-
--
- Returns
-
--
- String.
-
-
-
-MWDECL void MwStringSize (
- char* out,
- MwOffset size
-);
-
--
- Converts size to string.
-
--
- Parameter
out
-
--
- Output.
-
--
- Parameter
size
-
--
- Size.
-
-
-
-MWDECL void MwStringTime (
- char* out,
- time_t t
-);
-
--
- Converts time to string.
-
--
- Parameter
out
-
--
- Output.
-
--
- Parameter
t
-
--
- Time.
-
-
-
-Mw/StringDefs.h
-
--
- String definitions for property.
-
-
-
-Mw/TypeDefs.h
-
--
- Type definitions.
-
-
-
-Mw/Unicode.h
-
--
- Handles UTF8 stuff.
-
-
-
-MWDECL int MwUTF8ToUTF32 (
- const char* input,
- int* output
-);
-
--
- output Output.
-
--
- Returns
-
--
- Bytes this multibyte takes.
-
-
-
-MWDECL int MwUTF8Length (
- const char* input
-);
-
--
- input Input.
-
--
- Returns
-
--
- Length.
-
-
-
-MWDECL int MwUTF8Copy (
- const char* src,
- int srcskip,
- char* dst,
- int dstskip,
- int len
-);
-
--
- len Length.
-
--
- Returns
-
--
- Copied length in bytes.
-
-
-
-MWDECL int MwUTF32ToUTF8 (
- int input,
- char* output
-);
-
--
- output Output.
-
--
- Returns
-
--
- Bytes this wide byte takes.
-
-
-
-Mw/Version.h
-
--
- Version informations.
-
-
-
-#define MwMAJOR 0
-
--
- Major version.
-
-
-
-#define MwMINOR 0
-
--
- Minor version.
-
-
-
-#define MwVERSION "pre-1.0"
-
--
- Version in string.
-
-
-
-
-
--
- Button widget.
-
-
-
-MWDECL MwClass MwButtonClass;
-
--
- Button widget class.
-
-
-
-
-
--
- CheckBox widget.
-
-
-
-MWDECL MwClass MwCheckBoxClass;
-
--
- CheckBox widget class.
-
-
-
-Mw/Widget/Entry.h
-
--
- Entry widget.
-
-
-
-MWDECL MwClass MwEntryClass;
-
--
- Entry widget class.
-
-
-
-
-
--
- Frame widget.
-
-
-
-MWDECL MwClass MwFrameClass;
-
--
- Frame widget class.
-
-
-
-
-
--
- Image widget.
-
-
-
-MWDECL MwClass MwImageClass;
-
--
- Image widget class.
-
-
-
-
-
--
- Label widget.
-
-
-
-MWDECL MwClass MwLabelClass;
-
--
- Label widget class.
-
-
-
-
-
--
- ListBox widget.
-
-
-
-MWDECL MwClass MwListBoxClass;
-
--
- ListBox widget class.
-
-
-
-MWDECL MwListBoxPacket* MwListBoxCreatePacket (
- void
-);
-
--
- Creates a listbox packet.
-
--
- Returns
-
--
- Packet.
-
-
-
-MWDECL void MwListBoxDestroyPacket (
- MwListBoxPacket* packet
-);
-
--
- Destroys a listbox packet.
-
--
- Parameter
packet
-
--
- Packet.
-
-
-
-MWDECL int MwListBoxPacketInsert (
- MwListBoxPacket* packet,
- int index
-);
-
--
- Inserts a new item to a packet.
-
--
- Parameter
packet
-
--
- Packet.
-
--
- Parameter
index
-
--
- Index.
-
--
- Returns
-
--
- Index.
-
-
-
-MWDECL void MwListBoxPacketSet (
- MwListBoxPacket* packet,
- int index,
- int col,
- const char* text
-);
-
--
- Sets a column of item in a packet.
-
--
- Parameter
packet
-
--
- Packet.
-
--
- Parameter
index
-
--
- Index.
-
--
- Parameter
col
-
--
- Column.
-
--
- Parameter
text
-
--
- Text.
-
-
-
-MWDECL void MwListBoxPacketSetIcon (
- MwListBoxPacket* packet,
- int index,
- MwLLPixmap icon
-);
-
--
- Sets an icon of item in a packet.
-
--
- Parameter
packet
-
--
- Packet.
-
--
- Parameter
index
-
--
- Index.
-
--
- Parameter
icon
-
--
- Icon.
-
-
-
-MwInline void MwListBoxInsert (
- MwWidget handle,
- int index,
- void* packet
-);
-
--
- Inserts item on the listbox.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
index
-
--
- Index.
-
--
- Parameter
packet
-
--
- Packet.
-
-
-
-MwInline void MwListBoxDelete (
- MwWidget handle,
- int index
-);
-
--
- Deletes item from the listbox.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
index
-
--
- Index.
-
-
-
-MwInline const char* MwListBoxGet (
- MwWidget handle,
- int index
-);
-
--
- Gets item from the listbox.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
index
-
--
- Index.
-
--
- Returns
-
--
- Item.
-
-
-
-MwInline void MwListBoxSetWidth (
- MwWidget handle,
- int index,
- int width
-);
-
--
- Sets an item width of the listbox.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
index
-
--
- Column index.
-
--
- Parameter
width
-
--
- Width.
-
-
-
-MwInline void MwListBoxReset (
- MwWidget handle
-);
-
--
- Resets the listbox.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-
-
--
- Menu widget.
-
-
-
-
-
--
- Menu widget class.
-
-
-
-
-
--
- Adds a menu.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
menu
-
--
- Menu.
-
--
- Parameter
name
-
--
- Menu name.
-
--
- Returns
-
--
- Menu.
-
-
-
-Mw/Widget/NumberEntry.h
-
--
- NumberEntry widget.
-
-
-
-MWDECL MwClass MwNumberEntryClass;
-
--
- NumberEntry widget class.
-
-
-
-
-
--
- OpenGL widget.
-
-
-
-MWDECL MwClass MwOpenGLClass;
-
--
- OpenGL widget class.
-
-
-
-MwInline void MwOpenGLMakeCurrent (
- MwWidget handle
-);
-
--
- Make a widget current OpenGL context.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-MwInline void* MwOpenGLGetProcAddress (
- MwWidget handle,
- const char* name
-);
-
--
- Get a procedure from OpenGL.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
name
-
--
- Name.
-
--
- Returns
-
--
- Procedure.
-
-
-
-MwInline void MwOpenGLSwapBuffer (
- MwWidget handle
-);
-
--
- Swaps the buffer of OpenGL context.
-
--
- Parameter
handle
-
--
- Widget.
-
-
-
-
-
--
- ScrollBar widget.
-
-
-
-MWDECL MwClass MwScrollBarClass;
-
--
- ScrollBar widget class.
-
-
-
-MwInline int MwScrollBarGetVisibleLength (
- MwWidget handle
-);
-
--
- Calculates a visible length of scrollbar.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Returns
-
--
- Visible length.
-
-
-
-
-
--
- SubMenu widget.
-
-
-
-
-
--
- SubMenu widget class.
-
-
-
-
-
--
- Viewport widget.
-
-
-
-MWDECL MwClass MwViewportClass;
-
--
- Viewport widget class.
-
-
-
-MwInline MwWidget MwViewportGetViewport (
- MwWidget handle
-);
-
--
- Get parent widget where widgets should be placed.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Returns
-
--
- Widget.
-
-
-
-MwInline void MwViewportSetSize (
- MwWidget handle,
- int w,
- int h
-);
-
--
- Set viewport size.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
w
-
--
- Width.
-
--
- Parameter
h
-
--
- Height.
-
-
-
-
-
--
- Vulkan widget.
-
--
-
 | This header is not documented yet. |
-
-
-
-MWDECL MwClass MwVulkanClass;
-
--
- Vulkan widget class.
-
-
-
-MWDECL void MwVulkanEnableExtension (
- const char* ext_name
-);
-
--
- Add an extension to the list of extensions to enable prior to initialization.
-
--
-
 | This must be called before MwCreateWidget. |
-
-
-
-MWDECL void MwVulkanEnableLayer (
- const char* ext_name
-);
-
--
- Add an layer to the list of layers to enable prior to initialization.
-
--
-
 | This must be called before MwCreateWidget. |
-
-
-
-typedef struct MwVulkanConfig_T;
-
--
- Configuration options that can be passed to setup Vulkan before a widget is created.
-
-
-
- uint32_t api_version;
-
--
- Vulkan API version (default: VK_API_VERSION_1_0).
-
-
-
- uint32_t vk_version;
-
--
- Vulkan version (default: VK_VERSION_1_0).
-
-
-
- VkBool32 validation_layers;
-
--
- Whether or not to enable validation layers (default: false).
-
-
-
-MWDECL void MwVulkanConfigure (
- MwVulkanConfig cfg
-);
-
--
- Configure Vulkan prior to initializing the widget.
-
--
-
 | The configuration provided will be used for future initializations of the Vulkan widget (unless it's changed). |
-
-
-
-typedef enum MwVulkanField_T;
-
--
- Field that can be gotten from Vulkan.
-
-
-
- MwVulkanField_GetInstanceProcAddr = 0
-
--
- The address of the vulkan widget's vkGetInstanceProcAddr function (PFN_vkGetInstanceProcAddr).
-
-
-
- MwVulkanField_Instance
-
--
- The address of the vulkan widget's instance (VkInstance).
-
-
-
- MwVulkanField_Surface
-
--
- The address of the vulkan widget's surface (VkSurfaceKHR).
-
-
-
- MwVulkanField_PhysicalDevice
-
--
- The address of the vulkan widget's physical device (VkPhysicalDevice).
-
-
-
- MwVulkanField_LogicalDevice
-
--
- The address of the vulkan widget's logical device (VkDevice).
-
-
-
- MwVulkanField_GraphicsQueueIndex
-
--
- The address of the index that the vulkan widget uses for the graphics queue (uint32_t *).
-
-
-
- MwVulkanField_PresentQueueIndex
-
--
- The address of the index that the vulkan widget uses for the present queue (uint32_t *).
-
-
-
- MwVulkanField_PresentQueue
-
--
- The address of the vulkan widget's graphics queue (VkQueue).
-
-
-
-MwInline void* MwVulkanGetField (
- MwWidget handle,
- MwVulkanField field,
- MwErrorEnum* out
-);
-
--
- Function for getting a field from within Vulkan.
-
--
-
 | Consult the documentation for MwVulkanField to know what type is expected for out. |
-
-
-
-MWDECL VkBool32 MwVulkanSupported (
- void
-);
-
--
- Return whether Vulkan is installed on the target platform.
-
-
-
-
-
--
- Window widget.
-
-
-
-MWDECL MwClass MwWindowClass;
-
--
- Window widget class.
-
-
-
-MwInline void MwWindowMakeBorderless (
- MwWidget handle,
- int toggle
-);
-
--
- Makes window borderless.
-
--
- Parameter
handle
-
--
- Widget.
-
--
- Parameter
toggle
-
--
- Toggle.
-
-
-
-
-
diff --git a/doc/info.gif b/doc/info.gif
deleted file mode 100644
index cf03a0a..0000000
Binary files a/doc/info.gif and /dev/null differ
diff --git a/doc/note.gif b/doc/note.gif
deleted file mode 100644
index 26d93d8..0000000
Binary files a/doc/note.gif and /dev/null differ
diff --git a/doc/unsure.gif b/doc/unsure.gif
deleted file mode 100644
index 2700666..0000000
Binary files a/doc/unsure.gif and /dev/null differ
diff --git a/doc/warning.gif b/doc/warning.gif
deleted file mode 100644
index d020fb5..0000000
Binary files a/doc/warning.gif and /dev/null differ
diff --git a/include/Mw/Constants.h b/include/Mw/Constants.h
index 999ef84..3a81e10 100644
--- a/include/Mw/Constants.h
+++ b/include/Mw/Constants.h
@@ -1,13 +1,13 @@
/* $Id$ */
/*!
- * %file Mw/Constants.h
- * %brief Constants
+ * @file Mw/Constants.h
+ * @brief Constants
*/
#ifndef __MW_CONSTANTS_H__
#define __MW_CONSTANTS_H__
/*!
- * %brief Direction enumeration
+ * @brief Direction enumeration
*/
enum MwDIRECTION {
MwNORTH = 0,
@@ -17,7 +17,7 @@ enum MwDIRECTION {
};
/*!
- * %brief Orientation
+ * @brief Orientation
*/
enum MwORIENTATION {
MwVERTICAL = 0,
@@ -25,7 +25,7 @@ enum MwORIENTATION {
};
/*!
- * %brief Alignment
+ * @brief Alignment
*/
enum MwALIGNMENT {
MwALIGNMENT_CENTER = 0,
@@ -34,12 +34,12 @@ enum MwALIGNMENT {
};
/*!
- * %brief Default
+ * @brief Default
*/
#define MwDEFAULT 0x0fffffff
/*!
- * %brief Directory entry type
+ * @brief Directory entry type
*/
enum MwDIRECTORY_TYPE {
MwDIRECTORY_FILE = 0,
@@ -47,7 +47,7 @@ enum MwDIRECTORY_TYPE {
};
/*!
- * %brief Icon mask
+ * @brief Icon mask
*/
#define MwMB_ICONMASK 0xf
@@ -60,42 +60,42 @@ enum MwMB_ICON {
};
/*!
- * %brief Button mask
+ * @brief Button mask
*/
#define MwMB_BUTTONMASK 0xf0
/*!
- * %brief OK button
+ * @brief OK button
*/
#define MwMB_BUTTONOK 0x10
/*!
- * %brief Cancel button
+ * @brief Cancel button
*/
#define MwMB_BUTTONCANCEL 0x20
/*!
- * %brief Yes button
+ * @brief Yes button
*/
#define MwMB_BUTTONYES 0x40
/*!
- * %brief No button
+ * @brief No button
*/
#define MwMB_BUTTONNO 0x80
/*!
- * %brief Ok and Cancel button
+ * @brief Ok and Cancel button
*/
#define MwMB_BUTTONOKCANCEL (MwMB_BUTTONCANCEL | MwMB_BUTTONOK)
/*!
- * %brief Yes and No button
+ * @brief Yes and No button
*/
#define MwMB_BUTTONYESNO (MwMB_BUTTONYES | MwMB_BUTTONNO)
/*!
- * %brief Yes, No and Cancel button
+ * @brief Yes, No and Cancel button
*/
#define MwMB_BUTTONYESNOCANCEL (MwMB_BUTTONYES | MwMB_BUTTONNO | MwMB_BUTTONCANCEL)
diff --git a/include/Mw/Core.h b/include/Mw/Core.h
index e55864c..9cce378 100644
--- a/include/Mw/Core.h
+++ b/include/Mw/Core.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Core.h
- * %brief Core
+ * @file Mw/Core.h
+ * @brief Core
*/
#ifndef __MW_CORE_H__
#define __MW_CORE_H__
@@ -10,30 +10,30 @@
#include
/*!
- * %warning Used internally
- * %brief Dispatches the handler of widget class
- * %param x Widget
- * %param y Handler name
+ * @warning Used internally
+ * @brief Dispatches the handler of widget class
+ * @param x Widget
+ * @param y Handler name
*/
#define MwDispatch(x, y) \
if(!x->destroyed && x->widget_class != NULL && x->widget_class->y != NULL) x->widget_class->y(x)
/*!
- * %warning Used internally
- * %brief Dispatches the handler of widget class
- * %param x Widget
- * %param y Handler name
- * %return `0` for success, otherwise failed
+ * @warning Used internally
+ * @brief Dispatches the handler of widget class
+ * @param x Widget
+ * @param y Handler name
+ * @return `0` for success, otherwise failed
*/
#define MwDispatch2(x, y) \
((!x->destroyed && x->widget_class != NULL && x->widget_class->y != NULL) ? x->widget_class->y(x) : 0)
/*!
- * %warning Used internally
- * %brief Dispatches the handler of widget class
- * %param x Widget
- * %param y Handler name
- * %param z Argument
+ * @warning Used internally
+ * @brief Dispatches the handler of widget class
+ * @param x Widget
+ * @param y Handler name
+ * @param z Argument
*/
#define MwDispatch3(x, y, z) \
if(!x->destroyed && x->widget_class != NULL && x->widget_class->y != NULL) x->widget_class->y(x, z)
@@ -45,237 +45,237 @@ extern "C" {
#endif
/*!
- * %brief Creates a widget
- * %param widget_class Widget class
- * %param name Widget name
- * %param parent Parent widget or `NULL`
- * %param x X
- * %param y Y
- * %param width Width
- * %param height Height
- * %return Widget
+ * @brief Creates a widget
+ * @param widget_class Widget class
+ * @param name Widget name
+ * @param parent Parent widget or `NULL`
+ * @param x X
+ * @param y Y
+ * @param width Width
+ * @param height Height
+ * @return Widget
*/
MWDECL MwWidget MwCreateWidget(MwClass widget_class, const char* name, MwWidget parent, int x, int y, unsigned int width, unsigned int height);
/*!
- * %brief Creates a widget
- * %param widget_class Widget class
- * %param name Widget name
- * %param parent Parent widget or `NULL`
- * %param x X
- * %param y Y
- * %param width Width
- * %param height Height
- * %param ... Same with MwVaApply
- * %return Widget
+ * @brief Creates a widget
+ * @param widget_class Widget class
+ * @param name Widget name
+ * @param parent Parent widget or `NULL`
+ * @param x X
+ * @param y Y
+ * @param width Width
+ * @param height Height
+ * @param ... Same with MwVaApply
+ * @return Widget
*/
MWDECL MwWidget MwVaCreateWidget(MwClass widget_class, const char* name, MwWidget parent, int x, int y, unsigned int width, unsigned int height, ...);
/*!
- * %brief Creates a widget
- * %param widget_class Widget class
- * %param name Widget name
- * %param parent Parent widget or `NULL`
- * %param x X
- * %param y Y
- * %param width Width
- * %param height Height
- * %param va Same with MwVaListApply
- * %return Widget
+ * @brief Creates a widget
+ * @param widget_class Widget class
+ * @param name Widget name
+ * @param parent Parent widget or `NULL`
+ * @param x X
+ * @param y Y
+ * @param width Width
+ * @param height Height
+ * @param va Same with MwVaListApply
+ * @return Widget
*/
MWDECL MwWidget MwVaListCreateWidget(MwClass widget_class, const char* name, MwWidget parent, int x, int y, unsigned int width, unsigned int height, va_list va);
/*!
- * %brief Destroys the widget and its child widgets
- * %param handle Widget
+ * @brief Destroys the widget and its child widgets
+ * @param handle Widget
*/
MWDECL void MwDestroyWidget(MwWidget handle);
/*!
- * %brief Executes a method specific to the widget (varadic version).
- * %warning Prefer using corresponding functions for better code clarity and type safety.
- * %param handle Widget
- * %param ... Widget function arguments.
+ * @brief Executes a method specific to the widget (varadic version).
+ * @warning Prefer using corresponding functions for better code clarity and type safety.
+ * @param handle Widget
+ * @param ... Widget function arguments.
*/
MWDECL void MwVaWidgetExecute(MwWidget handle, const char* func_name, void* out, ...);
/*!
- * %brief Executes a method specific to the widget (va_list version).
- * %warning Prefer using corresponding functions for better code clarity and type safety.
- * %param handle Widget
- * %param va Widget function arguments.
+ * @brief Executes a method specific to the widget (va_list version).
+ * @warning Prefer using corresponding functions for better code clarity and type safety.
+ * @param handle Widget
+ * @param va Widget function arguments.
*/
MWDECL void MwVaListWidgetExecute(MwWidget handle, const char* func_name, void* out, va_list va);
/*!
- * %brief Runs the main loop
- * %param handle Widget
+ * @brief Runs the main loop
+ * @param handle Widget
*/
MWDECL void MwLoop(MwWidget handle);
/*!
- * %brief Runs the single step
- * %param handle Widget
+ * @brief Runs the single step
+ * @param handle Widget
*/
MWDECL void MwStep(MwWidget handle);
/*!
- * %brief Check if any event is pending
- * %param handle Widget
- * %return `1` if any event is pending
+ * @brief Check if any event is pending
+ * @param handle Widget
+ * @return `1` if any event is pending
*/
MWDECL int MwPending(MwWidget handle);
/*!
- * %brief Sets an integer property
- * %param handle Widget
- * %param key Key
- * %param n Value
+ * @brief Sets an integer property
+ * @param handle Widget
+ * @param key Key
+ * @param n Value
*/
MWDECL void MwSetInteger(MwWidget handle, const char* key, int n);
/*!
- * %brief Sets a text property
- * %param handle Widget
- * %param key Key
- * %param value Value
+ * @brief Sets a text property
+ * @param handle Widget
+ * @param key Key
+ * @param value Value
*/
MWDECL void MwSetText(MwWidget handle, const char* key, const char* value);
/*!
- * %brief Sets a void pointer property
- * %param handle Widget
- * %param key Key
- * %param value Value
+ * @brief Sets a void pointer property
+ * @param handle Widget
+ * @param key Key
+ * @param value Value
*/
MWDECL void MwSetVoid(MwWidget handle, const char* key, void* value);
/*!
- * %brief Gets the integer property
- * %param handle Widget
- * %param key Key
- * %return Value
+ * @brief Gets the integer property
+ * @param handle Widget
+ * @param key Key
+ * @return Value
*/
MWDECL int MwGetInteger(MwWidget handle, const char* key);
/*!
- * %brief Gets the text property
- * %param handle Widget
- * %param key Key
- * %return Value
+ * @brief Gets the text property
+ * @param handle Widget
+ * @param key Key
+ * @return Value
*/
MWDECL const char* MwGetText(MwWidget handle, const char* key);
/*!
- * %brief Gets the void pointer property
- * %param handle Widget
- * %param key Key
- * %return Value
+ * @brief Gets the void pointer property
+ * @param handle Widget
+ * @param key Key
+ * @return Value
*/
MWDECL void* MwGetVoid(MwWidget handle, const char* key);
/*!
- * %brief Sets the default property
- * %param handle Widget
- * %warning This is called when widget is created
+ * @brief Sets the default property
+ * @param handle Widget
+ * @warning This is called when widget is created
*/
MWDECL void MwSetDefault(MwWidget handle);
/*!
- * %brief Sets the properties
- * %param handle Widget
- * %param ... Properties
+ * @brief Sets the properties
+ * @param handle Widget
+ * @param ... Properties
*/
MWDECL void MwVaApply(MwWidget handle, ...);
/*!
- * %brief Sets properties
- * %param handle Widget
- * %param va Properties
+ * @brief Sets properties
+ * @param handle Widget
+ * @param va Properties
*/
MWDECL void MwVaListApply(MwWidget handle, va_list va);
/*!
- * %brief Sets a user handler
- * %param handle Widget
- * %param key Key
- * %param handler Handler
- * %param user_data User data passed to handler
+ * @brief Sets a user handler
+ * @param handle Widget
+ * @param key Key
+ * @param handler Handler
+ * @param user_data User data passed to handler
*/
MWDECL void MwAddUserHandler(MwWidget handle, const char* key, MwUserHandler handler, void* user_data);
/*!
- * %brief Dispatches the user handler
- * %param handle Widget
- * %param key Key
- * %param handler_data Handler data passed to handler
+ * @brief Dispatches the user handler
+ * @param handle Widget
+ * @param key Key
+ * @param handler_data Handler data passed to handler
*/
MWDECL void MwDispatchUserHandler(MwWidget handle, const char* key, void* handler_data);
/*!
- * %brief Sets an error handler
- * %param handle Widget
- * %param handler Handler
- * %param user_data User data passed to handler
+ * @brief Sets an error handler
+ * @param handle Widget
+ * @param handler Handler
+ * @param user_data User data passed to handler
*/
MWDECL void MwSetErrorHandler(MwErrorHandler handler, void* user_data);
/*!
- * %brief Dispatches the error handler
- * %param code Error code
- * %param message Error message
+ * @brief Dispatches the error handler
+ * @param code Error code
+ * @param message Error message
*/
MWDECL void MwDispatchError(int code, const char* message);
/*!
- * %brief Gets the before_step of widget
- * %param handle Widget
- * %param jmpbuf jmp_buf
+ * @brief Gets the before_step of widget
+ * @param handle Widget
+ * @param jmpbuf jmp_buf
*/
MWDECL void MwGetBeforeStep(MwWidget handle, jmp_buf* jmpbuf);
/*!
- * %brief Forcefully makes widget render
- * %param handle Widget
+ * @brief Forcefully makes widget render
+ * @param handle Widget
*/
MWDECL void MwForceRender(MwWidget handle);
/*!
- * %brief Forcefully makes widget render
- * %param handle Widget
- * %param ptr Ignored
+ * @brief Forcefully makes widget render
+ * @param handle Widget
+ * @param ptr Ignored
*/
MWDECL void MwForceRender2(MwWidget handle, void* ptr);
/*!
- * %brief Adds an widget to tick handler list
- * %param handle Widget
+ * @brief Adds an widget to tick handler list
+ * @param handle Widget
*/
MWDECL void MwAddTickList(MwWidget handle);
/*!
- * %brief Focus the widget
- * %param handle Widget
+ * @brief Focus the widget
+ * @param handle Widget
*/
MWDECL void MwFocus(MwWidget handle);
/*!
- * %brief Grabs the pointer
- * %param handle Widget
- * %param toggle Toggle
+ * @brief Grabs the pointer
+ * @param handle Widget
+ * @param toggle Toggle
*/
MWDECL void MwGrabPointer(MwWidget handle, int toggle);
/*!
- * %brief Hides the cursor
- * %param handle Widget
+ * @brief Hides the cursor
+ * @param handle Widget
*/
MWDECL void MwHideCursor(MwWidget handle);
/*!
- * %param Toggles the dark theme
- * %param handle Widget
- * %param toggle Toggle
+ * @param Toggles the dark theme
+ * @param handle Widget
+ * @param toggle Toggle
*/
MWDECL void MwToggleDarkTheme(MwWidget handle, int toggle);
diff --git a/include/Mw/Cursor.h b/include/Mw/Cursor.h
index e64bb4a..aeaa19c 100644
--- a/include/Mw/Cursor.h
+++ b/include/Mw/Cursor.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Cursor.h
- * %brief Cursor externs
+ * @file Mw/Cursor.h
+ * @brief Cursor externs
*/
#ifndef __MW_CURSOR_H__
@@ -15,42 +15,42 @@ extern "C" {
#endif
/*!
- * %brief Default cursor
+ * @brief Default cursor
*/
MWDECL MwCursor MwCursorDefault;
/*!
- * %brief Default cursor mask
+ * @brief Default cursor mask
*/
MWDECL MwCursor MwCursorDefaultMask;
/*!
- * %brief Cross cursor
+ * @brief Cross cursor
*/
MWDECL MwCursor MwCursorCross;
/*!
- * %brief Cross cursor mask
+ * @brief Cross cursor mask
*/
MWDECL MwCursor MwCursorCrossMask;
/*!
- * %brief Text cursor
+ * @brief Text cursor
*/
MWDECL MwCursor MwCursorText;
/*!
- * %brief Text cursor mask
+ * @brief Text cursor mask
*/
MWDECL MwCursor MwCursorTextMask;
/*!
- * %brief Hidden cursor
+ * @brief Hidden cursor
*/
MWDECL MwCursor MwCursorHidden;
/*!
- * %brief Hidden cursor mask
+ * @brief Hidden cursor mask
*/
MWDECL MwCursor MwCursorHiddenMask;
diff --git a/include/Mw/Default.h b/include/Mw/Default.h
index 4fad75f..7b252d1 100644
--- a/include/Mw/Default.h
+++ b/include/Mw/Default.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Default.h
- * %brief Default properties
+ * @file Mw/Default.h
+ * @brief Default properties
*/
#ifndef __MW_DEFAULT_H__
#define __MW_DEFAULT_H__
@@ -14,28 +14,28 @@ extern "C" {
#endif
/*!
- * %brief Default background color
+ * @brief Default background color
*/
MWDECL const char* MwDefaultBackground;
/*!
- * %brief Default foreground color
+ * @brief Default foreground color
*/
MWDECL const char* MwDefaultForeground;
/*!
- * %brief Default dark theme background color
+ * @brief Default dark theme background color
*/
MWDECL const char* MwDefaultDarkBackground;
/*!
- * %brief Default dark theme foreground color
+ * @brief Default dark theme foreground color
*/
MWDECL const char* MwDefaultDarkForeground;
/*!
- * %brief Gets default border width
- * %param handle Widget
+ * @brief Gets default border width
+ * @param handle Widget
*/
MWDECL int MwGetDefaultBorderWidth(MwWidget handle);
diff --git a/include/Mw/Directory.h b/include/Mw/Directory.h
index 18beb77..4a9bb60 100644
--- a/include/Mw/Directory.h
+++ b/include/Mw/Directory.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Directory.h
- * %brief Directory functions
+ * @file Mw/Directory.h
+ * @brief Directory functions
*/
#ifndef __MW_DIRECTORY_H__
#define __MW_DIRECTORY_H__
@@ -14,42 +14,42 @@ extern "C" {
#endif
/*!
- * %brief Opens a directory
- * %param path Path
- * %return Handle
+ * @brief Opens a directory
+ * @param path Path
+ * @return Handle
*/
MWDECL void* MwDirectoryOpen(const char* path);
/*!
- * %brief Closes a directory
- * %param handle Handle
+ * @brief Closes a directory
+ * @param handle Handle
*/
MWDECL void MwDirectoryClose(void* handle);
/*!
- * %brief Reads a directory
- * %param handle Handle
- * %return Directory entry
+ * @brief Reads a directory
+ * @param handle Handle
+ * @return Directory entry
*/
MWDECL MwDirectoryEntry* MwDirectoryRead(void* handle);
/*!
- * %brief Frees a directory entry
- * %param entry Entry
+ * @brief Frees a directory entry
+ * @param entry Entry
*/
MWDECL void MwDirectoryFreeEntry(MwDirectoryEntry* entry);
/*!
- * %brief Gets a current directory
- * %param Directory
+ * @brief Gets a current directory
+ * @param Directory
*/
MWDECL char* MwDirectoryCurrent(void);
/*!
- * %brief Joins 2 paths
- * %param a Path
- * %param b Path
- * %return Path
+ * @brief Joins 2 paths
+ * @param a Path
+ * @param b Path
+ * @return Path
*/
MWDECL char* MwDirectoryJoin(char* a, char* b);
diff --git a/include/Mw/Draw.h b/include/Mw/Draw.h
index 1c7fac7..7d84270 100644
--- a/include/Mw/Draw.h
+++ b/include/Mw/Draw.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Draw.h
- * %brief Common drawing API
+ * @file Mw/Draw.h
+ * @brief Common drawing API
*/
#ifndef __MW_DRAW_H__
#define __MW_DRAW_H__
@@ -15,157 +15,157 @@ extern "C" {
#endif
/*!
- * %brief Parses a color text
- * %param handle Widget
- * %param text Color text
- * %return Color
+ * @brief Parses a color text
+ * @param handle Widget
+ * @param text Color text
+ * @return Color
*/
MWDECL MwLLColor MwParseColor(MwWidget handle, const char* text);
/*!
- * %brief Lighten a color
- * %param handle Widget
- * %param color Color
- * %param r Red
- * %param g Green
- * %param b Blue
- * %return Color
+ * @brief Lighten a color
+ * @param handle Widget
+ * @param color Color
+ * @param r Red
+ * @param g Green
+ * @param b Blue
+ * @return Color
*/
MWDECL MwLLColor MwLightenColor(MwWidget handle, MwLLColor color, int r, int g, int b);
/*!
- * %brief Draws a filled rectangle
- * %param handle Widget
- * %param rect Rectangle area
- * %param color Color
+ * @brief Draws a filled rectangle
+ * @param handle Widget
+ * @param rect Rectangle area
+ * @param color Color
*/
MWDECL void MwDrawRect(MwWidget handle, MwRect* rect, MwLLColor color);
/*!
- * %brief Draws a filled rectangle that fades to a darker color
- * %param handle Widget
- * %param rect Rectangle area
- * %param color Color
+ * @brief Draws a filled rectangle that fades to a darker color
+ * @param handle Widget
+ * @param rect Rectangle area
+ * @param color Color
*/
MWDECL void MwDrawRectFading(MwWidget handle, MwRect* rect, MwLLColor color);
/*!
- * %brief Draws a frame
- * %param handle Widget
- * %param rect Rectangle area
- * %param color Color
- * %param invert Invert the 3D border color or not
- * %warning `rect` gets changed to the area of rectangle inside
+ * @brief Draws a frame
+ * @param handle Widget
+ * @param rect Rectangle area
+ * @param color Color
+ * @param invert Invert the 3D border color or not
+ * @warning `rect` gets changed to the area of rectangle inside
*/
MWDECL void MwDrawFrame(MwWidget handle, MwRect* rect, MwLLColor color, int invert);
/*!
- * %brief Does the DrawFrame/DrawRect combo used for drawing widget.
- * %param handle Widget
- * %param rect Rectangle area
- * %param color Color
- * %param invert Invert the 3D border color or not
- * %warning `rect` gets changed to the area of rectangle inside
+ * @brief Does the DrawFrame/DrawRect combo used for drawing widget.
+ * @param handle Widget
+ * @param rect Rectangle area
+ * @param color Color
+ * @param invert Invert the 3D border color or not
+ * @warning `rect` gets changed to the area of rectangle inside
*/
MWDECL void MwDrawWidgetBack(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int border);
/*!
- * %brief Draws a triangle
- * %param handle Widget
- * %param rect Rectangle area
- * %param color Color
- * %param invert Invert the 3D border color or not
+ * @brief Draws a triangle
+ * @param handle Widget
+ * @param rect Rectangle area
+ * @param color Color
+ * @param invert Invert the 3D border color or not
*/
MWDECL void MwDrawTriangle(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int direction);
/*!
- * %brief Draws a frame with specified border width
- * %param handle Widget
- * %param rect Rectangle area
- * %param color Color
- * %param invert Invert the 3D border color or not
- * %param border Border width
- * %warning `rect` gets changed to the area of rectangle inside
+ * @brief Draws a frame with specified border width
+ * @param handle Widget
+ * @param rect Rectangle area
+ * @param color Color
+ * @param invert Invert the 3D border color or not
+ * @param border Border width
+ * @warning `rect` gets changed to the area of rectangle inside
*/
MWDECL void MwDrawFrameEx(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int border);
/*!
- * %brief Draws a text
- * %param handle Widget
- * %param point Center point of the text
- * %param text Text
- * %param bold Bold
- * %param align Align
- * %param color Color
+ * @brief Draws a text
+ * @param handle Widget
+ * @param point Center point of the text
+ * @param text Text
+ * @param bold Bold
+ * @param align Align
+ * @param color Color
*/
MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color);
/*!
- * %brief Creates a pixmap from image
- * %param handle Widget
- * %param path Path
- * %return Pixmap
+ * @brief Creates a pixmap from image
+ * @param handle Widget
+ * @param path Path
+ * @return Pixmap
*/
MWDECL MwLLPixmap MwLoadImage(MwWidget handle, const char* path);
/*!
- * %brief Calculates a text width
- * %param handle Widget
- * %param text Text
- * %return Text width
+ * @brief Calculates a text width
+ * @param handle Widget
+ * @param text Text
+ * @return Text width
*/
MWDECL int MwTextWidth(MwWidget handle, const char* text);
/*!
- * %brief Calculates a text height
- * %param handle Widget
- * %param text Text
- * %return Text height
+ * @brief Calculates a text height
+ * @param handle Widget
+ * @param text Text
+ * @return Text height
*/
MWDECL int MwTextHeight(MwWidget handle, const char* text);
/*!
- * %brief Get color components
- * %param color Color
- * %param red Pointer to red color
- * %param green Pointer to green color
- * %param blue Pointer to blue color
+ * @brief Get color components
+ * @param color Color
+ * @param red Pointer to red color
+ * @param green Pointer to green color
+ * @param blue Pointer to blue color
*/
MWDECL void MwGetColor(MwLLColor color, int* red, int* green, int* blue);
/*!
- * %brief Creates a pixmap from raw data
- * %param handle Widget
- * %param rgb RGBA data
- * %param width Width
- * %param height Height
- * %return Pixmap
+ * @brief Creates a pixmap from raw data
+ * @param handle Widget
+ * @param rgb RGBA data
+ * @param width Width
+ * @param height Height
+ * @return Pixmap
*/
MWDECL MwLLPixmap MwLoadRaw(MwWidget handle, unsigned char* rgb, int width, int height);
/*!
- * %brief Creates a pixmap from XPM data
- * %param handle Widget
- * %param data Data
- * %return Pixmap
+ * @brief Creates a pixmap from XPM data
+ * @param handle Widget
+ * @param data Data
+ * @return Pixmap
*/
MWDECL MwLLPixmap MwLoadXPM(MwWidget handle, char** data);
/*!
- * %brief Creates a pixmap from icon data
- * %param handle Widget
- * %param data Data
- * %return Pixmap
+ * @brief Creates a pixmap from icon data
+ * @param handle Widget
+ * @param data Data
+ * @return Pixmap
*/
MWDECL MwLLPixmap MwLoadIcon(MwWidget handle, unsigned int* data);
/* color.c */
/*!
- * %brief Parses a color name
- * %param handle Widget
- * %param color Color name
- * %return Color
+ * @brief Parses a color name
+ * @param handle Widget
+ * @param color Color name
+ * @return Color
*/
MWDECL MwLLColor MwParseColorName(MwWidget handle, const char* color);
diff --git a/include/Mw/Error.h b/include/Mw/Error.h
index 8da62a0..78c21ed 100644
--- a/include/Mw/Error.h
+++ b/include/Mw/Error.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Error.h
- * %brief Error codes
+ * @file Mw/Error.h
+ * @brief Error codes
*/
#ifndef __MW_ERROR_H__
#define __MW_ERROR_H__
@@ -9,21 +9,21 @@
#include
/*!
- * %brief Error code enumeration
+ * @brief Error code enumeration
*/
typedef enum MwErrorEnum_T {
/*!
- * %brief No error
+ * @brief No error
*/
MwEsuccess = 0,
/*!
- * %brief There was an error
+ * @brief There was an error
*/
MwEerror,
} MwErrorEnum;
/*!
- * %brief Get the last error
+ * @brief Get the last error
*/
MWDECL const char* MwGetLastError(void);
diff --git a/include/Mw/FileChooser.h b/include/Mw/FileChooser.h
index 0611434..af14f18 100644
--- a/include/Mw/FileChooser.h
+++ b/include/Mw/FileChooser.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/FileChooser.h
- * %brief File chooser
+ * @file Mw/FileChooser.h
+ * @brief File chooser
*/
#ifndef __MW_FILECHOOSER_H__
#define __MW_FILECHOOSER_H__
diff --git a/include/Mw/Font.h b/include/Mw/Font.h
index 0bbfe91..4bddcfb 100644
--- a/include/Mw/Font.h
+++ b/include/Mw/Font.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Font.h
- * %brief Default font
+ * @file Mw/Font.h
+ * @brief Default font
*/
#ifndef __MW_FONT_H__
#define __MW_FONT_H__
@@ -14,46 +14,46 @@ extern "C" {
#endif
/*!
- * %brief Default font data
+ * @brief Default font data
*/
MWDECL MwFont MwFontData[];
/*!
- * %brief Default bold font data
+ * @brief Default bold font data
*/
MWDECL MwFont MwBoldFontData[];
/*!
- * %brief Default TTF font data
+ * @brief Default TTF font data
*/
MWDECL unsigned char MwTTFData[];
/*!
- * %brief Default TTF font size
+ * @brief Default TTF font size
*/
MWDECL unsigned int MwTTFDataSize;
/*!
- * %brief Default bold TTF font data
+ * @brief Default bold TTF font data
*/
MWDECL unsigned char MwBoldTTFData[];
/*!
- * %brief Default bold TTF font size
+ * @brief Default bold TTF font size
*/
MWDECL unsigned int MwBoldTTFDataSize;
/*!
- * %brief Loads a TTF Font
- * %param data Data
- * %param size Data size
- * %return Font handle
+ * @brief Loads a TTF Font
+ * @param data Data
+ * @param size Data size
+ * @return Font handle
*/
MWDECL void* MwFontLoad(unsigned char* data, unsigned int size);
/*!
- * %brief Frees a font handle
- * %param handle Handle
+ * @brief Frees a font handle
+ * @param handle Handle
*/
MWDECL void MwFontFree(void* handle);
diff --git a/include/Mw/Icon.h b/include/Mw/Icon.h
index ff0d86f..9e0103d 100644
--- a/include/Mw/Icon.h
+++ b/include/Mw/Icon.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Icon.h
- * %brief Icon
+ * @file Mw/Icon.h
+ * @brief Icon
*/
#ifndef __MW_ICON_H__
#define __MW_ICON_H__
@@ -13,62 +13,62 @@ extern "C" {
#endif
/*!
- * %brief Back icon
+ * @brief Back icon
*/
MWDECL unsigned int MwIconBack[];
/*!
- * %brief Computer icon
+ * @brief Computer icon
*/
MWDECL unsigned int MwIconComputer[];
/*!
- * %brief Directory icon
+ * @brief Directory icon
*/
MWDECL unsigned int MwIconDirectory[];
/*!
- * %brief Error icon
+ * @brief Error icon
*/
MWDECL unsigned int MwIconError[];
/*!
- * %brief File icon
+ * @brief File icon
*/
MWDECL unsigned int MwIconFile[];
/*!
- * %brief Forward icon
+ * @brief Forward icon
*/
MWDECL unsigned int MwIconForward[];
/*!
- * %brief Info icon
+ * @brief Info icon
*/
MWDECL unsigned int MwIconInfo[];
/*!
- * %brief News icon
+ * @brief News icon
*/
MWDECL unsigned int MwIconNews[];
/*!
- * %brief Note icon
+ * @brief Note icon
*/
MWDECL unsigned int MwIconNote[];
/*!
- * %brief Search icon
+ * @brief Search icon
*/
MWDECL unsigned int MwIconSearch[];
/*!
- * %brief Up icon
+ * @brief Up icon
*/
MWDECL unsigned int MwIconUp[];
/*!
- * %brief Warning icon
+ * @brief Warning icon
*/
MWDECL unsigned int MwIconWarning[];
diff --git a/include/Mw/LowLevel.h b/include/Mw/LowLevel.h
index 056c216..4c8ed01 100644
--- a/include/Mw/LowLevel.h
+++ b/include/Mw/LowLevel.h
@@ -1,8 +1,8 @@
/* $Id$ */
/*!
- * %file Mw/LowLevel.h
- * %brief Low-level drawing API
- * %warning This is used internally
+ * @file Mw/LowLevel.h
+ * @brief Low-level drawing API
+ * @warning This is used internally
*/
#ifndef __MW_LOWLEVEL_H__
#define __MW_LOWLEVEL_H__
diff --git a/include/Mw/MachDep.h b/include/Mw/MachDep.h
index 613fcb7..be0529a 100644
--- a/include/Mw/MachDep.h
+++ b/include/Mw/MachDep.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/MachDep.h
- * %brief Machine dependent headers and macros
+ * @file Mw/MachDep.h
+ * @brief Machine dependent headers and macros
*/
#ifndef __MW_MACHDEP_H__
#define __MW_MACHDEP_H__
diff --git a/include/Mw/MessageBox.h b/include/Mw/MessageBox.h
index 55d2650..038fb97 100644
--- a/include/Mw/MessageBox.h
+++ b/include/Mw/MessageBox.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/MessageBox.h
- * %brief Message box
+ * @file Mw/MessageBox.h
+ * @brief Message box
*/
#ifndef __MW_MESSAGEBOX_H__
#define __MW_MESSAGEBOX_H__
@@ -14,25 +14,25 @@ extern "C" {
#endif
/*!
- * %brief Creates a message box
- * %param handle Widget
- * %param text Text
- * %param title Title text
- * %param flag Flag
- * %return Widget
+ * @brief Creates a message box
+ * @param handle Widget
+ * @param text Text
+ * @param title Title text
+ * @param flag Flag
+ * @return Widget
*/
MWDECL MwWidget 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
+ * @brief Gets a child of the message box
+ * @param handle Widget
+ * @param child Child
*/
MWDECL MwWidget MwMessageBoxGetChild(MwWidget handle, int child);
/*!
- * %brief Destroys the message box
- * %param handle Widget
+ * @brief Destroys the message box
+ * @param handle Widget
*/
MWDECL void MwMessageBoxDestroy(MwWidget handle);
diff --git a/include/Mw/Milsko.h b/include/Mw/Milsko.h
index 99262ad..69c6436 100644
--- a/include/Mw/Milsko.h
+++ b/include/Mw/Milsko.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Milsko.h
- * %brief Includes all headers
+ * @file Mw/Milsko.h
+ * @brief Includes all headers
*/
#ifndef __MW_MILSKO_H__
#define __MW_MILSKO_H__
diff --git a/include/Mw/String.h b/include/Mw/String.h
index 7244d07..5987fad 100644
--- a/include/Mw/String.h
+++ b/include/Mw/String.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/String.h
- * %brief String utilities
+ * @file Mw/String.h
+ * @brief String utilities
*/
#ifndef __MW_STRING_H__
#define __MW_STRING_H__
@@ -14,31 +14,31 @@ extern "C" {
#endif
/*!
- * %brief Duplicates a string
- * %param str String
- * %return String
+ * @brief Duplicates a string
+ * @param str String
+ * @return String
*/
MWDECL char* MwStringDupliacte(const char* str);
/*!
- * %brief Concatenates 2 strings
- * %param str1 String
- * %param str2 String
- * %return String
+ * @brief Concatenates 2 strings
+ * @param str1 String
+ * @param str2 String
+ * @return String
*/
MWDECL char* MwStringConcat(const char* str1, const char* str2);
/*!
- * %brief Converts size to string
- * %param out Output
- * %param size Size
+ * @brief Converts size to string
+ * @param out Output
+ * @param size Size
*/
MWDECL void MwStringSize(char* out, MwOffset size);
/*!
- * %brief Converts time to string
- * %param out Output
- * %param t Time
+ * @brief Converts time to string
+ * @param out Output
+ * @param t Time
*/
MWDECL void MwStringTime(char* out, time_t t);
diff --git a/include/Mw/StringDefs.h b/include/Mw/StringDefs.h
index 7229288..9bc7dc1 100644
--- a/include/Mw/StringDefs.h
+++ b/include/Mw/StringDefs.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/StringDefs.h
- * %brief String definitions for property
+ * @file Mw/StringDefs.h
+ * @brief String definitions for property
*/
#ifndef __MW_STRINGDEFS_H__
#define __MW_STRINGDEFS_H__
diff --git a/include/Mw/TypeDefs.h b/include/Mw/TypeDefs.h
index ecea50f..29b6f42 100644
--- a/include/Mw/TypeDefs.h
+++ b/include/Mw/TypeDefs.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/TypeDefs.h
- * %brief Type definitions
+ * @file Mw/TypeDefs.h
+ * @brief Type definitions
*/
#ifndef __MW_TYPEDEFS_H__
#define __MW_TYPEDEFS_H__
diff --git a/include/Mw/Unicode.h b/include/Mw/Unicode.h
index 3a7e160..083663b 100644
--- a/include/Mw/Unicode.h
+++ b/include/Mw/Unicode.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Unicode.h
- * %brief Handles UTF8 stuff
+ * @file Mw/Unicode.h
+ * @brief Handles UTF8 stuff
*/
#ifndef __MW_UNICODE_H__
#define __MW_UNICODE_H__
@@ -14,36 +14,36 @@ extern "C" {
#endif
/*!
- * %brief Converts UTF-8 to UTF-32
- * %brief input Input
- * %brief output Output
- * %return Bytes this multibyte takes
+ * @brief Converts UTF-8 to UTF-32
+ * @brief input Input
+ * @brief output Output
+ * @return Bytes this multibyte takes
*/
MWDECL int MwUTF8ToUTF32(const char* input, int* output);
/*!
- * %brief Calculates UTF-8 string length
- * %brief input Input
- * %return Length
+ * @brief Calculates UTF-8 string length
+ * @brief input Input
+ * @return Length
*/
MWDECL int MwUTF8Length(const char* input);
/*!
- * %brief Copies UTF-8 string to other string
- * %brief src Source
- * %brief srcskip Length to be skipped
- * %brief dst Destination
- * %brief dstskip Length to be skipped
- * %brief len Length
- * %return Copied length in bytes
+ * @brief Copies UTF-8 string to other string
+ * @brief src Source
+ * @brief srcskip Length to be skipped
+ * @brief dst Destination
+ * @brief dstskip Length to be skipped
+ * @brief len Length
+ * @return Copied length in bytes
*/
MWDECL int MwUTF8Copy(const char* src, int srcskip, char* dst, int dstskip, int len);
/*!
- * %brief Converts UTF-32 to UTF-8
- * %brief input Input
- * %brief output Output
- * %return Bytes this wide byte takes
+ * @brief Converts UTF-32 to UTF-8
+ * @brief input Input
+ * @brief output Output
+ * @return Bytes this wide byte takes
*/
MWDECL int MwUTF32ToUTF8(int input, char* output);
diff --git a/include/Mw/Version.h b/include/Mw/Version.h
index 2e2d388..615846d 100644
--- a/include/Mw/Version.h
+++ b/include/Mw/Version.h
@@ -1,23 +1,23 @@
/* $Id$ */
/*!
- * %file Mw/Version.h
- * %brief Version informations
+ * @file Mw/Version.h
+ * @brief Version informations
*/
#ifndef __MW_VERSION_H__
#define __MW_VERSION_H__
/*!
- * %brief Major version
+ * @brief Major version
*/
#define MwMAJOR 0
/*!
- * %brief Minor version
+ * @brief Minor version
*/
#define MwMINOR 0
/*!
- * %brief Version in string
+ * @brief Version in string
*/
#define MwVERSION "pre-1.0"
diff --git a/include/Mw/Widget/Button.h b/include/Mw/Widget/Button.h
index 96ec9a3..06d0594 100644
--- a/include/Mw/Widget/Button.h
+++ b/include/Mw/Widget/Button.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/Button.h
- * %brief Button widget
+ * @file Mw/Widget/Button.h
+ * @brief Button widget
*/
#ifndef __MW_WIDGET_BUTTON_H__
#define __MW_WIDGET_BUTTON_H__
@@ -14,7 +14,7 @@ extern "C" {
#endif
/*!
- * %brief Button widget class
+ * @brief Button widget class
*/
MWDECL MwClass MwButtonClass;
diff --git a/include/Mw/Widget/CheckBox.h b/include/Mw/Widget/CheckBox.h
index 12979c6..9f61e4d 100644
--- a/include/Mw/Widget/CheckBox.h
+++ b/include/Mw/Widget/CheckBox.h
@@ -1,7 +1,7 @@
/* $Id: CheckBox.h 206 2025-10-07 15:10:46Z nishi $ */
/*!
- * %file Mw/Widget/CheckBox.h
- * %brief CheckBox widget
+ * @file Mw/Widget/CheckBox.h
+ * @brief CheckBox widget
*/
#ifndef __MW_WIDGET_CHECKBOX_H__
#define __MW_WIDGET_CHECKBOX_H__
@@ -14,7 +14,7 @@ extern "C" {
#endif
/*!
- * %brief CheckBox widget class
+ * @brief CheckBox widget class
*/
MWDECL MwClass MwCheckBoxClass;
diff --git a/include/Mw/Widget/Entry.h b/include/Mw/Widget/Entry.h
index c342c71..4fb6f6c 100644
--- a/include/Mw/Widget/Entry.h
+++ b/include/Mw/Widget/Entry.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/Entry.h
- * %brief Entry widget
+ * @file Mw/Widget/Entry.h
+ * @brief Entry widget
*/
#ifndef __MW_WIDGET_ENTRY_H__
#define __MW_WIDGET_ENTRY_H__
@@ -14,7 +14,7 @@ extern "C" {
#endif
/*!
- * %brief Entry widget class
+ * @brief Entry widget class
*/
MWDECL MwClass MwEntryClass;
diff --git a/include/Mw/Widget/Frame.h b/include/Mw/Widget/Frame.h
index dd162c7..34213f9 100644
--- a/include/Mw/Widget/Frame.h
+++ b/include/Mw/Widget/Frame.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/Frame.h
- * %brief Frame widget
+ * @file Mw/Widget/Frame.h
+ * @brief Frame widget
*/
#ifndef __MW_WIDGET_FRAME_H__
#define __MW_WIDGET_FRAME_H__
@@ -14,7 +14,7 @@ extern "C" {
#endif
/*!
- * %brief Frame widget class
+ * @brief Frame widget class
*/
MWDECL MwClass MwFrameClass;
diff --git a/include/Mw/Widget/Image.h b/include/Mw/Widget/Image.h
index 478660d..48756d0 100644
--- a/include/Mw/Widget/Image.h
+++ b/include/Mw/Widget/Image.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/Image.h
- * %brief Image widget
+ * @file Mw/Widget/Image.h
+ * @brief Image widget
*/
#ifndef __MW_WIDGET_IMAGE_H__
#define __MW_WIDGET_IMAGE_H__
@@ -14,7 +14,7 @@ extern "C" {
#endif
/*!
- * %brief Image widget class
+ * @brief Image widget class
*/
MWDECL MwClass MwImageClass;
diff --git a/include/Mw/Widget/Label.h b/include/Mw/Widget/Label.h
index 9ca4ec5..31bcf43 100644
--- a/include/Mw/Widget/Label.h
+++ b/include/Mw/Widget/Label.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/Label.h
- * %brief Label widget
+ * @file Mw/Widget/Label.h
+ * @brief Label widget
*/
#ifndef __MW_WIDGET_LABEL_H__
#define __MW_WIDGET_LABEL_H__
@@ -14,7 +14,7 @@ extern "C" {
#endif
/*!
- * %brief Label widget class
+ * @brief Label widget class
*/
MWDECL MwClass MwLabelClass;
diff --git a/include/Mw/Widget/ListBox.h b/include/Mw/Widget/ListBox.h
index eb372f5..1a773bd 100644
--- a/include/Mw/Widget/ListBox.h
+++ b/include/Mw/Widget/ListBox.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/ListBox.h
- * %brief ListBox widget
+ * @file Mw/Widget/ListBox.h
+ * @brief ListBox widget
*/
#ifndef __MW_WIDGET_LISTBOX_H__
#define __MW_WIDGET_LISTBOX_H__
@@ -15,71 +15,71 @@ extern "C" {
#endif
/*!
- * %brief ListBox widget class
+ * @brief ListBox widget class
*/
MWDECL MwClass MwListBoxClass;
/*!
- * %brief Creates a listbox packet
- * %return Packet
+ * @brief Creates a listbox packet
+ * @return Packet
*/
MWDECL MwListBoxPacket* MwListBoxCreatePacket(void);
/*!
- * %brief Destroys a listbox packet
- * %param packet Packet
+ * @brief Destroys a listbox packet
+ * @param packet Packet
*/
MWDECL void MwListBoxDestroyPacket(MwListBoxPacket* packet);
/*!
- * %brief Inserts a new item to a packet
- * %param packet Packet
- * %param index Index
- * %return Index
+ * @brief Inserts a new item to a packet
+ * @param packet Packet
+ * @param index Index
+ * @return Index
*/
MWDECL int MwListBoxPacketInsert(MwListBoxPacket* packet, int index);
/*!
- * %brief Sets a column of item in a packet
- * %param packet Packet
- * %param index Index
- * %param col Column
- * %param text Text
+ * @brief Sets a column of item in a packet
+ * @param packet Packet
+ * @param index Index
+ * @param col Column
+ * @param text Text
*/
MWDECL void MwListBoxPacketSet(MwListBoxPacket* packet, int index, int col, const char* text);
/*!
- * %brief Sets an icon of item in a packet
- * %param packet Packet
- * %param index Index
- * %param icon Icon
+ * @brief Sets an icon of item in a packet
+ * @param packet Packet
+ * @param index Index
+ * @param icon Icon
*/
MWDECL void MwListBoxPacketSetIcon(MwListBoxPacket* packet, int index, MwLLPixmap icon);
/*!
- * %brief Inserts item on the listbox
- * %param handle Widget
- * %param index Index
- * %param packet Packet
+ * @brief Inserts item on the listbox
+ * @param handle Widget
+ * @param index Index
+ * @param packet Packet
*/
MwInline void MwListBoxInsert(MwWidget handle, int index, void* packet) {
MwVaWidgetExecute(handle, "mwListBoxInsert", NULL, index, packet);
}
/*!
- * %brief Deletes item from the listbox
- * %param handle Widget
- * %param index Index
+ * @brief Deletes item from the listbox
+ * @param handle Widget
+ * @param index Index
*/
MwInline void MwListBoxDelete(MwWidget handle, int index) {
MwVaWidgetExecute(handle, "mwListboxDelete", NULL, index);
};
/*!
- * %brief Gets item from the listbox
- * %param handle Widget
- * %param index Index
- * %return Item
+ * @brief Gets item from the listbox
+ * @param handle Widget
+ * @param index Index
+ * @return Item
*/
MwInline const char* MwListBoxGet(MwWidget handle, int index) {
const char* out;
@@ -88,18 +88,18 @@ MwInline const char* MwListBoxGet(MwWidget handle, int index) {
};
/*!
- * %brief Sets an item width of the listbox
- * %param handle Widget
- * %param index Column index
- * %param width Width
+ * @brief Sets an item width of the listbox
+ * @param handle Widget
+ * @param index Column index
+ * @param width Width
*/
MwInline void MwListBoxSetWidth(MwWidget handle, int index, int width) {
MwVaWidgetExecute(handle, "mwListBoxSetWidth", NULL, index, width);
};
/*!
- * %brief Resets the listbox
- * %param handle Widget
+ * @brief Resets the listbox
+ * @param handle Widget
*/
MwInline void MwListBoxReset(MwWidget handle) {
MwVaWidgetExecute(handle, "mwListBoxReset", NULL);
diff --git a/include/Mw/Widget/Menu.h b/include/Mw/Widget/Menu.h
index d4d0838..8ca4999 100644
--- a/include/Mw/Widget/Menu.h
+++ b/include/Mw/Widget/Menu.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/Menu.h
- * %brief Menu widget
+ * @file Mw/Widget/Menu.h
+ * @brief Menu widget
*/
#ifndef __MW_WIDGET_MENU_H__
#define __MW_WIDGET_MENU_H__
@@ -15,16 +15,16 @@ extern "C" {
#endif
/*!
- * %brief Menu widget class
+ * @brief Menu widget class
*/
MWDECL MwClass MwMenuClass;
/*!
- * %brief Adds a menu
- * %param handle Widget
- * %param menu Menu
- * %param name Menu name
- * %return Menu
+ * @brief Adds a menu
+ * @param handle Widget
+ * @param menu Menu
+ * @param name Menu name
+ * @return Menu
*/
MwInline MwMenu MwMenuAdd(MwWidget handle, MwMenu menu, const char* name) {
MwMenu out;
diff --git a/include/Mw/Widget/NumberEntry.h b/include/Mw/Widget/NumberEntry.h
index e9c6149..0b38063 100644
--- a/include/Mw/Widget/NumberEntry.h
+++ b/include/Mw/Widget/NumberEntry.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/NumberEntry.h
- * %brief NumberEntry widget
+ * @file Mw/Widget/NumberEntry.h
+ * @brief NumberEntry widget
*/
#ifndef __MW_WIDGET_NUMBERENTRY_H__
#define __MW_WIDGET_NUMBERENTRY_H__
@@ -14,7 +14,7 @@ extern "C" {
#endif
/*!
- * %brief NumberEntry widget class
+ * @brief NumberEntry widget class
*/
MWDECL MwClass MwNumberEntryClass;
diff --git a/include/Mw/Widget/OpenGL.h b/include/Mw/Widget/OpenGL.h
index eb49468..28538d2 100644
--- a/include/Mw/Widget/OpenGL.h
+++ b/include/Mw/Widget/OpenGL.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/OpenGL.h
- * %brief OpenGL widget
+ * @file Mw/Widget/OpenGL.h
+ * @brief OpenGL widget
*/
#ifndef __MW_WIDGET_OPENGL_H__
#define __MW_WIDGET_OPENGL_H__
@@ -26,23 +26,23 @@ extern "C" {
#endif
/*!
- * %brief OpenGL widget class
+ * @brief OpenGL widget class
*/
MWDECL MwClass MwOpenGLClass;
/*!
- * %brief Make a widget current OpenGL context
- * %param handle Widget
+ * @brief Make a widget current OpenGL context
+ * @param handle Widget
*/
MwInline void MwOpenGLMakeCurrent(MwWidget handle) {
MwVaWidgetExecute(handle, "mwOpenGLMakeCurrent", NULL);
};
/*!
- * %brief Get a procedure from OpenGL
- * %param handle Widget
- * %param name Name
- * %return Procedure
+ * @brief Get a procedure from OpenGL
+ * @param handle Widget
+ * @param name Name
+ * @return Procedure
*/
MwInline void* MwOpenGLGetProcAddress(MwWidget handle, const char* name) {
void* out;
@@ -51,8 +51,8 @@ MwInline void* MwOpenGLGetProcAddress(MwWidget handle, const char* name) {
};
/*!
- * %brief Swaps the buffer of OpenGL context
- * %param handle Widget
+ * @brief Swaps the buffer of OpenGL context
+ * @param handle Widget
*/
MwInline void MwOpenGLSwapBuffer(MwWidget handle) {
MwVaWidgetExecute(handle, "mwOpenGLSwapBuffer", NULL);
diff --git a/include/Mw/Widget/ScrollBar.h b/include/Mw/Widget/ScrollBar.h
index d122098..9a71b3f 100644
--- a/include/Mw/Widget/ScrollBar.h
+++ b/include/Mw/Widget/ScrollBar.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/ScrollBar.h
- * %brief ScrollBar widget
+ * @file Mw/Widget/ScrollBar.h
+ * @brief ScrollBar widget
*/
#ifndef __MW_WIDGET_SCROLLBAR_H__
#define __MW_WIDGET_SCROLLBAR_H__
@@ -15,14 +15,14 @@ extern "C" {
#endif
/*!
- * %brief ScrollBar widget class
+ * @brief ScrollBar widget class
*/
MWDECL MwClass MwScrollBarClass;
/*!
- * %brief Calculates a visible length of scrollbar
- * %param handle Widget
- * %return Visible length
+ * @brief Calculates a visible length of scrollbar
+ * @param handle Widget
+ * @return Visible length
*/
MwInline int MwScrollBarGetVisibleLength(MwWidget handle) {
int out;
diff --git a/include/Mw/Widget/SubMenu.h b/include/Mw/Widget/SubMenu.h
index cc6410d..8a28c64 100644
--- a/include/Mw/Widget/SubMenu.h
+++ b/include/Mw/Widget/SubMenu.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/SubMenu.h
- * %brief SubMenu widget
+ * @file Mw/Widget/SubMenu.h
+ * @brief SubMenu widget
*/
#ifndef __MW_WIDGET_SUBMENU_H__
#define __MW_WIDGET_SUBMENU_H__
@@ -15,7 +15,7 @@ extern "C" {
#endif
/*!
- * %brief SubMenu widget class
+ * @brief SubMenu widget class
*/
MWDECL MwClass MwSubMenuClass;
diff --git a/include/Mw/Widget/Viewport.h b/include/Mw/Widget/Viewport.h
index 5b4d0ee..1c36091 100644
--- a/include/Mw/Widget/Viewport.h
+++ b/include/Mw/Widget/Viewport.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/Viewport.h
- * %brief Viewport widget
+ * @file Mw/Widget/Viewport.h
+ * @brief Viewport widget
*/
#ifndef __MW_WIDGET_VIEWPORT_H__
#define __MW_WIDGET_VIEWPORT_H__
@@ -15,14 +15,14 @@ extern "C" {
#endif
/*!
- * %brief Viewport widget class
+ * @brief Viewport widget class
*/
MWDECL MwClass MwViewportClass;
/*!
- * %brief Get parent widget where widgets should be placed
- * %param handle Widget
- * %return Widget
+ * @brief Get parent widget where widgets should be placed
+ * @param handle Widget
+ * @return Widget
*/
MwInline MwWidget MwViewportGetViewport(MwWidget handle) {
MwWidget out;
@@ -31,10 +31,10 @@ MwInline MwWidget MwViewportGetViewport(MwWidget handle) {
};
/*!
- * %brief Set viewport size
- * %param handle Widget
- * %param w Width
- * %param h Height
+ * @brief Set viewport size
+ * @param handle Widget
+ * @param w Width
+ * @param h Height
*/
MwInline void MwViewportSetSize(MwWidget handle, int w, int h) {
MwVaWidgetExecute(handle, "mwViewportSetSize", NULL, w, h);
diff --git a/include/Mw/Widget/Vulkan.h b/include/Mw/Widget/Vulkan.h
index 7038111..aeec2d9 100644
--- a/include/Mw/Widget/Vulkan.h
+++ b/include/Mw/Widget/Vulkan.h
@@ -1,8 +1,8 @@
/* $Id$ */
/*!
- * %file Mw/Widget/Vulkan.h
- * %brief Vulkan widget
- * %warning This header is not documented yet
+ * @file Mw/Widget/Vulkan.h
+ * @brief Vulkan widget
+ * @warning This header is not documented yet
*/
/**
@@ -29,89 +29,89 @@ extern "C" {
#endif
/*!
- * %brief Vulkan widget class
+ * @brief Vulkan widget class
*/
MWDECL MwClass MwVulkanClass;
/*!
- * %brief Add an extension to the list of extensions to enable prior to initialization.
- * %warning This must be called before MwCreateWidget.
+ * @brief Add an extension to the list of extensions to enable prior to initialization.
+ * @warning This must be called before MwCreateWidget.
*/
MWDECL void MwVulkanEnableExtension(const char* ext_name);
/*!
- * %brief Add an layer to the list of layers to enable prior to initialization.
- * %warning This must be called before MwCreateWidget.
+ * @brief Add an layer to the list of layers to enable prior to initialization.
+ * @warning This must be called before MwCreateWidget.
*/
MWDECL void MwVulkanEnableLayer(const char* ext_name);
/*!
- * %brief Configuration options that can be passed to setup Vulkan before a widget is created.
+ * @brief Configuration options that can be passed to setup Vulkan before a widget is created.
*/
typedef struct MwVulkanConfig_T {
/*!
- * %brief Vulkan API version (default: VK_API_VERSION_1_0)
+ * @brief Vulkan API version (default: VK_API_VERSION_1_0)
*/
uint32_t api_version;
/*!
- * %brief Vulkan version (default: VK_VERSION_1_0)
+ * @brief Vulkan version (default: VK_VERSION_1_0)
*/
uint32_t vk_version;
/*!
- * %brief Whether or not to enable validation layers (default: false)
+ * @brief Whether or not to enable validation layers (default: false)
*/
VkBool32 validation_layers;
} MwVulkanConfig;
/*!
- * %brief Configure Vulkan prior to initializing the widget.
- * %warning This must be called before MwCreateWidget.
- * %warning The configuration provided will be used for future initializations of the Vulkan widget (unless it's changed)
+ * @brief Configure Vulkan prior to initializing the widget.
+ * @warning This must be called before MwCreateWidget.
+ * @warning The configuration provided will be used for future initializations of the Vulkan widget (unless it's changed)
*/
MWDECL void MwVulkanConfigure(MwVulkanConfig cfg);
/*!
- * %brief Field that can be gotten from Vulkan.
+ * @brief Field that can be gotten from Vulkan.
*/
typedef enum MwVulkanField_T {
/*!
- * %brief The address of the vulkan widget's vkGetInstanceProcAddr function (PFN_vkGetInstanceProcAddr)
+ * @brief The address of the vulkan widget's vkGetInstanceProcAddr function (PFN_vkGetInstanceProcAddr)
*/
MwVulkanField_GetInstanceProcAddr = 0,
/*!
- * %brief The address of the vulkan widget's instance (VkInstance)
+ * @brief The address of the vulkan widget's instance (VkInstance)
*/
MwVulkanField_Instance,
/*!
- * %brief The address of the vulkan widget's surface (VkSurfaceKHR)
+ * @brief The address of the vulkan widget's surface (VkSurfaceKHR)
*/
MwVulkanField_Surface,
/*!
- * %brief The address of the vulkan widget's physical device (VkPhysicalDevice)
+ * @brief The address of the vulkan widget's physical device (VkPhysicalDevice)
*/
MwVulkanField_PhysicalDevice,
/*!
- * %brief The address of the vulkan widget's logical device (VkDevice)
+ * @brief The address of the vulkan widget's logical device (VkDevice)
*/
MwVulkanField_LogicalDevice,
/*!
- * %brief The address of the index that the vulkan widget uses for the graphics queue (uint32_t *)
+ * @brief The address of the index that the vulkan widget uses for the graphics queue (uint32_t *)
*/
MwVulkanField_GraphicsQueueIndex,
/*!
- * %brief The address of the index that the vulkan widget uses for the present queue (uint32_t *)
+ * @brief The address of the index that the vulkan widget uses for the present queue (uint32_t *)
*/
MwVulkanField_PresentQueueIndex,
MwVulkanField_GraphicsQueue,
/*!
- * %brief The address of the vulkan widget's graphics queue (VkQueue)
+ * @brief The address of the vulkan widget's graphics queue (VkQueue)
*/
MwVulkanField_PresentQueue,
} MwVulkanField;
/*!
- * %brief Function for getting a field from within Vulkan.
- * %warning Consult the documentation for MwVulkanField to know what type is expected for out.
+ * @brief Function for getting a field from within Vulkan.
+ * @warning Consult the documentation for MwVulkanField to know what type is expected for out.
*/
MwInline void* MwVulkanGetField(MwWidget handle, MwVulkanField field, MwErrorEnum* out) {
void* field_out;
@@ -120,7 +120,7 @@ MwInline void* MwVulkanGetField(MwWidget handle, MwVulkanField field, MwErrorEnu
};
/*!
- * %brief Return whether Vulkan is installed on the target platform.
+ * @brief Return whether Vulkan is installed on the target platform.
*/
MWDECL VkBool32 MwVulkanSupported(void);
diff --git a/include/Mw/Widget/Window.h b/include/Mw/Widget/Window.h
index 38bc0eb..fa4f4a0 100644
--- a/include/Mw/Widget/Window.h
+++ b/include/Mw/Widget/Window.h
@@ -1,7 +1,7 @@
/* $Id$ */
/*!
- * %file Mw/Widget/Window.h
- * %brief Window widget
+ * @file Mw/Widget/Window.h
+ * @brief Window widget
*/
#ifndef __MW_WIDGET_WINDOW_H__
#define __MW_WIDGET_WINDOW_H__
@@ -15,14 +15,14 @@ extern "C" {
#endif
/*!
- * %brief Window widget class
+ * @brief Window widget class
*/
MWDECL MwClass MwWindowClass;
/*!
- * %brief Makes window borderless
- * %param handle Widget
- * %param toggle Toggle
+ * @brief Makes window borderless
+ * @param handle Widget
+ * @param toggle Toggle
*/
MwInline void MwWindowMakeBorderless(MwWidget handle, int toggle) {
MwVaWidgetExecute(handle, "mwWindowMakeBorderless", NULL, toggle);
diff --git a/tools/doc.pl b/tools/doc.pl
deleted file mode 100755
index c8fb7a1..0000000
--- a/tools/doc.pl
+++ /dev/null
@@ -1,289 +0,0 @@
-#!/usr/bin/env perl
-# $Id$
-
-our $html = "";
-our $title = "Milsko GUI Toolkit Documentation";
-our @pathlist = ("include");
-our @notes = ("warning", "unsure", "note", "info");
-
-our @files = ();
-our %files_sections = ();
-
-sub sentence {
- my $str = $_[0];
- $str =~ s/([^\.])$/\1./g;
- $str =~ s/`(.+?)`/\1<\/code>/g;
- $str =~ s/\*{3}(.+?)\*{3}/\1<\/i><\/b>/g;
- $str =~ s/\*{2}(.+?)\*{2}/\1<\/b>/g;
- $str =~ s/\*(.+?)\*/\1<\/i>/g;
- return $str;
-}
-
-sub out {
- $html = $html . "$_[0]\n";
-}
-
-sub arguments {
- my ($args) = @_;
- my $out = "";
- my @arglist = split(/[ \t]*,[ \t]*/, $args);
-
- $out = $out . " (\n";
- foreach my $str (@arglist) {
- $out = $out . "\t$str";
- if ($str eq $arglist[ 0 + @arglist - 1 ]) {
- $out = $out . "\n";
- }
- else {
- $out = $out . ",\n";
- }
- }
- $out = $out . ")";
-
- return $out;
-}
-
-sub replace_special {
- my $ret = $_[0];
-
- $ret =~ s/[\r\n]+//g;
- $ret =~ s/[^A-Za-z0-9_]/_/g;
-
- return $ret;
-}
-
-sub highlight {
- my $txt = "";
- my $app = 0;
-
- open(DOCPL, ">", "/tmp/docpl");
- print(DOCPL $_[0] . "\n");
- close(DOCPL);
-
- open(DOCIN, "cat /tmp/docpl | enscript -q -whtml --color -Ec -o - |");
- while (my $l = ) {
- $l =~ s/\r?\n$//g;
- if ($l =~ /\/i) {
- $app = 1;
- }
- elsif ($l =~ /\<\/pre\>/i) {
- $app = 0;
- }
- elsif ($app) {
- $txt = $txt . "\n" . $l;
- }
- }
- close(DOCIN);
-
- $txt =~ s/[\r\n]+$//g;
- $txt =~ s/^[\r\n]+//g;
-
- return $txt;
-}
-
-sub scan_dir {
- my ($first, $path) = @_;
- $path =~ s/\/+$//g;
-
- if (opendir(my $dh, $path)) {
- print(STDERR "Scanning $path\n");
- my @paths = sort(readdir($dh));
- foreach my $p (@paths) {
- if ($p eq '.' || $p eq '..' || $p eq 'MwOO') {
- next;
- }
- scan_dir($first, $path . "/" . $p);
- }
- closedir($dh);
- }
- else {
- my $spaces = "";
- my $in = 0;
- my $out = 0;
- my $file = 0;
- my $has_file = 0;
- my %kv = ();
- my %param = ();
- my @paramlist = ();
- my $current = "";
-
- print(STDERR "$path is a file\n");
- open(IN, "<", "$path");
- while (my $l = ) {
- my $l2 = $l;
- $l =~ s/[\r\n]+$//g;
-
- $l2 =~ s/[\r\n \t]+//g;
- if (length($l2) == 0) {
- next;
- }
-
- if ($out) {
- my $para = "dt";
- my $brief = $kv{brief} or "";
-
- $brief = sentence($brief);
-
- $out = 0;
- if (!$has_file) {
- print(STDERR
- "Warning: missing comment with %file, ignoring\n");
- next;
- }
- if (!defined($kv{brief})) {
- print(STDERR "Warning: comment missing %brief, ignoring\n");
- next;
- }
- if (!$file && defined($kv{brief})) {
- my $id = "";
- my $sl = "";
- my $attr = "";
-
- $para = "dd";
-
- $l =~ s/[ \t]+/ /g;
- $l =~ s/[ ]*(?:\\|,[ ]*)$//g;
- $l =~ s/[ ]*(?:;( \/\*.+)?|\{.*)[ ]*$/;/g;
- if (!($l =~ /^#/)) {
- $l =~ s/\(([^\)]+)\)/arguments($1)/ge;
- }
-
- $sl = $l;
- $sl =~ s/\n//g;
- $sl =~ s/=.+$//g;
- $sl =~ s/^#[^ ]+(?:[ \t]+([^ \(]+)(?:.+$))?/\1/;
- $sl =~ s/^.+[ \t]+([^ ]+)[ \t]*\(.+\);?$/\1/g;
- $sl =~ s/^.+[ \t]+([^ ]+);( \/\*.+)?$/\1/g;
-
- $id = replace_special($current . "__" . $sl);
- $attr = " id=\"$id\"";
-
- if (!defined($files_sections{ replace_special($current) }))
- {
- @{ $files_sections{ replace_special($current) } } = ();
- }
- push(@{ $files_sections{ replace_special($current) } },
- $sl);
-
- out("" . highlight($l) . "
");
- }
- out("");
- out("<$para>");
- out(" $brief");
- out("$para>");
-
- foreach my $note (@notes) {
- if (defined($kv{$note})) {
- out("- ");
- out(
-"
 | "
- . sentence($kv{$note})
- . " |
");
- out(" ");
- }
- }
-
- foreach my $p (@paramlist) {
- out("- ");
- out(" Parameter
$p");
- out(" ");
- out("- ");
- out(" " . sentence($param{$p}));
- out("
");
- }
-
- if (defined($kv{return})) {
- out("- ");
- out(" Returns");
- out("
");
- out("- ");
- out(" " . sentence($kv{return}));
- out("
");
- }
- out("
");
- out("
");
- }
- elsif ($l =~ /^([ \t]*)\/\*\!/) {
- $spaces = $1;
- $in = 1;
- $file = 0;
- %kv = ();
- %param = ();
- @paramlist = ();
- }
- elsif ($in && ($l =~ /^$spaces \*\//)) {
- $in = 0;
- $out = 1;
- }
- elsif ($in
- && ($l =~ /^$spaces \*[ \t]+%([^ ]+)(?:[ \t]+(.+))?$/))
- {
- $kv{$1} = $2;
- if ($1 eq "file") {
- if (!$has_file) {
- out( "$2
");
- push(@files, $2);
- }
-
- $file = 1;
- $has_file = 1;
- $current = $2;
- }
- elsif ($1 eq "param") {
- my $p = $2;
- $p =~ /^([^ ]+)(?:[ \t]+(.+))?$/;
-
- $param{$1} = $2;
- push(@paramlist, $1);
- }
- }
- }
- close(IN);
- }
-}
-
-out("");
-out(" ");
-out(" ");
-out(" $title");
-out(" ");
-out(" ");
-out(" $title
");
-out("
");
-out(" Table of Contents
");
-
-my $old = $html;
-$html = "";
-foreach my $f (@pathlist) {
- scan_dir($f, $f);
-}
-my $stuff = $html;
-$html = $old;
-
-out("");
-foreach my $f (@files) {
- out("- ");
- out(" $f");
- out("
");
- foreach my $sect (@{ $files_sections{ replace_special($f) } }) {
- out("- ");
- out( " $sect");
- out("
");
- }
-}
-out("
");
-
-out("
");
-
-$html = $html . $stuff;
-
-out(" ");
-out("");
-
-open(OUT, ">", "doc/index.html");
-print(OUT $html);
-close(OUT);
diff --git a/tools/doxyfilter.pl b/tools/doxyfilter.pl
deleted file mode 100755
index 989bfd0..0000000
--- a/tools/doxyfilter.pl
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env perl
-# $Id$
-
-open(IN, "<", $ARGV[0]);
-while (my $l = ) {
- $l =~ s/\r?\n$//g;
- $l =~ s/%([^ ]+)/@\1/g;
- if (!($l =~ /\@prop /)) {
- print("$l\n");
- }
-}
-close(IN);
diff --git a/tools/update.sh b/tools/update.sh
index 1f8c0c5..8276c85 100755
--- a/tools/update.sh
+++ b/tools/update.sh
@@ -4,7 +4,6 @@ MAKE=make
if which gmake >/dev/null 2>&1; then
MAKE=gmake
fi
-./tools/doc.pl
./tools/icon.sh
./tools/genmk.pl
$MAKE format