diff options
author | Matt Turner <mattst88@gmail.com> | 2006-08-04 01:04:15 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2006-08-04 01:04:15 +0000 |
commit | dfa4a46bb0e6c6df9d07039fda5ef7f4309915b2 (patch) | |
tree | ac8b4cc67ff64703b4298f077e87bb4eb4334410 /widgetform.h | |
parent | 3582a80243bdd92619e737111ada5b5bf2667cd7 (diff) |
git-svn-id: svn://mattst88.com/svn/skygipp/trunk@2 a71248a0-261a-0410-b604-901f7c0bd773
Diffstat (limited to 'widgetform.h')
-rw-r--r-- | widgetform.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/widgetform.h b/widgetform.h new file mode 100644 index 0000000..c787852 --- /dev/null +++ b/widgetform.h @@ -0,0 +1,42 @@ +#ifndef WIDGETFORM_H
+#define WIDGETFORM_H
+
+#include <skygi/skygi.h>
+
+#include "widget.h"
+
+//! A Form class.
+
+class CForm: public CWidget {
+ public:
+ /*! Constructor */
+ CForm();
+
+ /*!
+ Create Form
+
+ \param parent HANDLE of the parent window on which to draw
+ \param name Name of the Form
+ \param x Top left x coordinate
+ \param y Top left y coordinate
+ \param w Form width
+ \param h Form height
+ \param style Style flags
+ \param flags
+
+ \return Success: S_OK\n
+ Failure: E_HANDLE
+
+ \see GetParent()
+ */
+ HRESULT Create(HANDLE parent, char * name, int x, int y, int w, int h, int style, unsigned int flags);
+
+ /*!
+ Sets if the Form will use its parent's background
+
+ \param use Use Parent Background
+ */
+ HRESULT UseParentBackground(bool use);
+};
+
+#endif
|