2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include <graphics/gfx.h>
7 #include <intuition/screens.h>
8 #include <proto/graphics.h>
13 void RenderFrame(struct RastPort
*rp
, struct DrawInfo
*dri
, WORD x1
, WORD y1
, WORD x2
, WORD y2
, BOOL recessed
)
15 WORD pen1
= dri
->dri_Pens
[SHINEPEN
];
16 WORD pen2
= dri
->dri_Pens
[SHADOWPEN
];
28 RectFill(rp
, x1
, y1
, x2
, y1
);
29 RectFill(rp
, x1
, y1
+ 1, x1
, y2
);
33 RectFill(rp
, x2
, y1
+ 1, x2
, y2
);
34 RectFill(rp
, x1
+ 1, y2
, x2
- 1, y2
);