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] - Blame information for rev 539

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

Line No. Rev Author Line
1 27 unneback
/*
2
 * Copyright (c) 2000 Greg Haerr <greg@censoft.com>
3
 *
4
 * Nano-X Draw Library
5
 *      nxPaintNCArea - paint non-client area
6
 *      nxDraw3dShadow - draws a shadow with bottom-left and top-right missing
7
 *      nxDraw3dBox - draws a complete shadow
8
 *      nxDraw3dInset - draw a 2 line 3d inset
9
 *      nxDraw3dOutset - draw a 2 line 3d outset
10
 */
11
void            nxPaintNCArea(GR_DRAW_ID id, int w, int h, GR_CHAR *title,
12
                        GR_BOOL active, GR_WM_PROPS props);
13
 
14
void            nxInflateRect(GR_RECT *prc, GR_SIZE dx, GR_SIZE dy);
15
void            nxDraw3dBox(GR_WINDOW_ID id,int x,int y,int w,int h,
16
                        GR_COLOR crTop,GR_COLOR crBottom);
17
void            nxDraw3dInset(GR_DRAW_ID id,int x,int y,int w,int h);
18
void            nxDraw3dOutset(GR_WINDOW_ID id,int x,int y,int w,int h);
19
void            nxDraw3dPushDown(GR_DRAW_ID id, int x, int y, int w, int h);
20
void            nxDraw3dUpDownState(GR_DRAW_ID id, int x, int y, int w, int h,
21
                        GR_BOOL fDown);
22
void            nxDraw3dUpFrame(GR_DRAW_ID id, int l, int t, int r, int b);
23
 
24
/* nxPaintNCArea offsets*/
25
#define CXBORDER        3                               /* 3d border width*/
26
#define CYBORDER        3                               /* 3d border height*/
27
#define CYCAPTION       12                              /* height of caption*/
28
#define CXCLOSEBOX      9                               /* width of closebox*/
29
#define CYCLOSEBOX      9                               /* height of closebox*/
30
#define CXFRAME         (CXBORDER*2)                    /* width of frame*/
31
#define CYFRAME         (CYBORDER*2)                    /* height of frame*/

powered by: WebSVN 2.1.0

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