Test current SDI headers.
[AROS.git] / test / intuition / screenclass.c
bloba5afb9597a6c1c40f2944ccec8489cb3fded605c
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <intuition/diattr.h>
7 #include <intuition/iobsolete.h>
8 #include <proto/intuition.h>
10 #include <stdio.h>
12 int main(void)
14 struct Screen *scr = LockPubScreen(NULL);
15 IPTR val;
17 if (!scr)
19 printf("Failed to lock default public screen!\n");
20 return 20;
23 GetAttr(SA_ScreenbarTextPen, (Object *)scr, &val);
24 printf("ScreenbarTextPen: 0x%08lX\n", val);
26 UnlockPubScreen(NULL, scr);
28 return 0;