diff --git a/doc/index.html b/doc/index.html index d11c2fe..70b7b27 100644 --- a/doc/index.html +++ b/doc/index.html @@ -6,22 +6,66 @@
- Button widget. -
+MWDECL MwClass MwButtonClass;
+MWDECL MwClass MwButtonClass;
++
#define MwDispatch(x, y)
+#define MwDispatch(x, y)
+MWDECL MwWidget MwCreateWidget (
+MWDECL MwWidget MwCreateWidget (
MwClass widget_class,
const char* name,
MwWidget parent,
@@ -53,6 +98,7 @@
unsigned int width,
unsigned int height
);
+
-
Creates a widget.
@@ -98,6 +144,219 @@
-
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 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.
+
+