Making dflat32 a dll. Its a little broken ATM.
[reactos.git] / rosapps / lib / dflat32 / stubs.c
1 #include <dflat32/dflat.h>
2
3 DFWINDOW ApplicationWindow; //applicat.c
4
5 void ClearDialogBoxes(void) // no clue
6 {
7 }
8
9
10 // from normal.c
11
12 /* -------- array of class definitions -------- */
13 CLASSDEFS classdefs[] = {
14 #undef ClassDef
15 #define ClassDef(c,b,p,a) {b,p,a},
16 // #include <dflat32/classes.h>
17 };
18
19 BOOL isAncestor(DFWINDOW wnd, DFWINDOW awnd)
20 {
21 while (wnd != NULL) {
22 if (wnd == awnd)
23 return TRUE;
24 wnd = GetParent(wnd);
25 }
26 return FALSE;
27 }
28
29 BOOL isVisible(DFWINDOW wnd)
30 {
31 while (wnd != NULL) {
32 if (isHidden(wnd))
33 return FALSE;
34 wnd = GetParent(wnd);
35 }
36 return TRUE;
37 }
38
39
40 void BuildTextPointers(DFWINDOW wnd)
41 {
42 }
43
44
45 // log.c
46 void LogMessages (DFWINDOW wnd, DFMESSAGE msg, PARAM p1, PARAM p2)
47 {
48 }