blob: c7878520bc0c90012c45a940c354b7042a560a67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
|