#include "stdio.h"
#include "string.h"
#include "proto/all.h"
#include "fctype.h"
#include "stdlib.h"
#include "stddef.h"
#include "dos.h"

#include "devices/serial.h"
#include "devices/timer.h"
#include "devices/console.h"
#include "exec/exec.h"
#include "graphics/display.h"
#include "graphics/gfxbase.h"
#include "intuition/screens.h"
#include "intuition/intuition.h"
#include "intuition/intuitionbase.h"
#include "libraries/dos.h"
#include "libraries/dosextens.h"
#include "workbench/startup.h"

#include "xproto.h"
#include "cnet.h"
#include "cnetfuncs.h"
#include "minrexx.h"



#include "2.0/utility/tagitem.h"

#define NS_EXTENDED	0x1000

#define SA_Dummy	(TAG_USER + 32)
#define SA_Pens		(SA_Dummy + 0x001A)

#define DETAILPEN	 (0x0000)	/* compatible Intuition rendering pens	*/
#define BLOCKPEN	 (0x0001)	/* compatible Intuition rendering pens	*/
#define TEXTPEN		 (0x0002)	/* text on background			*/
#define SHINEPEN	 (0x0003)	/* bright edge on 3D objects		*/
#define SHADOWPEN	 (0x0004)	/* dark edge on 3D objects		*/
#define FILLPEN		 (0x0005)	/* active-window/selected-gadget fill	*/
#define FILLTEXTPEN	 (0x0006)	/* text over FILLPEN			*/
#define BACKGROUNDPEN	 (0x0007)	/* always color 0			*/
#define HIGHLIGHTTEXTPEN (0x0008)	/* special color text, on background	*/

struct ExtNewScreen
{
    SHORT LeftEdge, TopEdge, Width, Height, Depth;
    UBYTE DetailPen, BlockPen;
    USHORT ViewModes;
    USHORT Type;
    struct TextAttr *Font;
    UBYTE *DefaultTitle;
    struct Gadget *Gadgets;
    struct BitMap *CustomBitMap;

    struct TagItem	*Extension;
				/* more specification data, scanned if
				 * NS_EXTENDED is set in NewScreen.Type
				 */
};
