OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [include/] [microwin/] [nxdraw.h] - Rev 539

Go to most recent revision | Compare with Previous | Blame | View Log

/*
 * Copyright (c) 2000 Greg Haerr <greg@censoft.com>
 *
 * Nano-X Draw Library
 *	nxPaintNCArea - paint non-client area
 *	nxDraw3dShadow - draws a shadow with bottom-left and top-right missing
 *	nxDraw3dBox - draws a complete shadow
 *	nxDraw3dInset - draw a 2 line 3d inset
 *	nxDraw3dOutset - draw a 2 line 3d outset
 */
void		nxPaintNCArea(GR_DRAW_ID id, int w, int h, GR_CHAR *title,
			GR_BOOL active, GR_WM_PROPS props);
 
void		nxInflateRect(GR_RECT *prc, GR_SIZE dx, GR_SIZE dy);
void		nxDraw3dBox(GR_WINDOW_ID id,int x,int y,int w,int h,
			GR_COLOR crTop,GR_COLOR crBottom);
void		nxDraw3dInset(GR_DRAW_ID id,int x,int y,int w,int h);
void		nxDraw3dOutset(GR_WINDOW_ID id,int x,int y,int w,int h);
void		nxDraw3dPushDown(GR_DRAW_ID id, int x, int y, int w, int h);
void		nxDraw3dUpDownState(GR_DRAW_ID id, int x, int y, int w, int h,
			GR_BOOL fDown);
void		nxDraw3dUpFrame(GR_DRAW_ID id, int l, int t, int r, int b);
 
/* nxPaintNCArea offsets*/
#define CXBORDER	3				/* 3d border width*/
#define CYBORDER	3				/* 3d border height*/
#define CYCAPTION	12				/* height of caption*/
#define CXCLOSEBOX	9				/* width of closebox*/
#define CYCLOSEBOX	9				/* height of closebox*/
#define CXFRAME		(CXBORDER*2)			/* width of frame*/
#define CYFRAME		(CYBORDER*2)			/* height of frame*/
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.