1 /* this file contains definition for the screen */
3 #include <aros/oldprograms.h>
4 #include <exec/types.h>
5 #include <intuition/intuition.h>
6 #include <graphics/gfxmacros.h>
13 struct TextAttr myfont1
= {
14 (UBYTE
*)"topaz.font", 8, 0, 0
19 struct NewScreen SurfScrnDef
= {
20 0,0, /* left and top edge */
21 SurfInitW
, SurfInitH
+ButHeight
, /* width and height */
22 SurfInitD
, /* num bitplanes bit planes */
23 0,1, /* detail, block pen */
24 SurfInitType
, /* lores non interlaced */
27 NULL
/*(UBYTE *) "Screen" */,
33 struct NewWindow SurfWinDef
= {
34 0, ButHeight
, /* left, top */
35 SurfInitW
, SurfInitH
, /* width, height */
36 -1, -1, /* default detail and block pen */
37 MOUSEBUTTONS
| MOUSEMOVE
| INTUITICKS
/* | CLOSEWINDOW */,
38 RMBTRAP
| SIMPLE_REFRESH
| GIMMEZEROZERO
| BORDERLESS
40 NULL
, NULL
, /* gadget, checkmark */
41 NULL
/* (UBYTE *) "BezSurf - By Eric Davies" */,
42 NULL
, /* pointer to screen */
43 NULL
, /* pointer to super bitmap */
44 10, 10, 640, 200, /* min and max dimensions */
48 struct NewWindow GadWinDef
= {
50 SurfInitW
, ButHeight
, /* width, height */
51 -1, 0, /* default detail and block pen */
53 SIMPLE_REFRESH
| BORDERLESS
| BACKDROP
,
54 NULL
, NULL
, /* gadget, checkmark */
55 NULL
/*(UBYTE *) "Gadwin" */,
56 NULL
, /* pointer to screen */
57 NULL
, /* pointer to super bitmap */
58 10, 10, 10, 10, /* min and max dimensions */
64 struct NewWindow CntrlWinDef
= {
66 640, 180, /* width, height */
67 -1, -1, /* default detail and block pen */
68 CLOSEWINDOW
| GADGETUP
| MENUPICK
,
69 SIMPLE_REFRESH
| WINDOWCLOSE
| WINDOWDEPTH
70 | WINDOWDRAG
| WINDOWSIZING
,
71 NULL
, NULL
, /* gadget(set by program), checkmark */
72 (UBYTE
*) "BezSurf - Control Panel - By Eric Davies",
73 NULL
, /* pointer to screen */
74 NULL
, /* pointer to super bitmap */
75 10, 10, 640, 200, /* min and max dimensions */