Listtree.mcc: forward certain attributes to NListtree during creation
[AROS.git] / workbench / prefs / icontrol / misc.c
blob80b8110816b3994a0d1610a23f518d89c8a7d526
1 /*
2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <exec/types.h>
8 #include <proto/dos.h>
9 #include <proto/intuition.h>
11 #include <stdio.h>
13 #include "locale.h"
14 #include "misc.h"
16 VOID ShowMessage(CONST_STRPTR msg)
18 struct EasyStruct es;
20 if (msg)
22 if (IntuitionBase)
24 es.es_StructSize = sizeof(es);
25 es.es_Flags = 0;
26 es.es_Title = (CONST_STRPTR) "IControl";
27 es.es_TextFormat = (CONST_STRPTR) msg;
28 es.es_GadgetFormat = _(MSG_OK);
30 EasyRequestArgs(NULL, &es, NULL, NULL); /* win=NULL -> wb screen */
32 else
34 printf("IControl: %s\n", msg);