빨간장미 wrote..
: 사용하신 si 는 MWSCREENINFO 구조체에 포함된 인수 입니다.
:
: mwtypes.h 에 포함되어 있으므로 참고 하시기 바랍니다.
:
:
: /* GetScreenInfo structure*/
: typedef struct {
: MWCOORD rows; /* number of rows on screen */
: MWCOORD cols; /* number of columns on
: screen */
: int xdpcm; /* dots/centimeter in x
: direction */
: int ydpcm; /* dots/centimeter in y
: direction */
: int planes; /* hw # planes*/
: int bpp; /* hw bpp*/
: long ncolors; /* hw number of colors supported*/
: int fonts; /* number of built-in fonts */
: int buttons; /* buttons which are implemented */
: MWKEYMOD modifiers; /* modifiers which are implemented
: */
: int pixtype; /* format of pixel value*/
: int portrait; /* current portrait mode*/
: MWBOOL fbdriver; /* true if running mwin fb screen
: driver*/
: unsigned long rmask; /* red mask bits in pixel*/
: unsigned long gmask; /* green mask bits in pixel*/
: unsigned long bmask; /* blue mask bits in pixel*/
: MWCOORD xpos; /* current x mouse position*/
: MWCOORD ypos; /* current y mouse position*/
:
: /* items below are get/set by the window manager and not used
: internally*/
: int vs_width; /* virtual screen width/height*/
: int vs_height;
: int ws_width; /* workspace width/height*/
: int ws_height;
: } MWSCREENINFO, *PMWSCREENINFO;
:
:
:
:
:
:
: 김형수 wrote..
: : 수고가 많으십니다..
: : nano-x로 코딩중인데요..
: : GrNewWindow(GR_ROOT_WINDOW_ID,MARGIN,MARGIN, si.cols - MARGIN * 2, si.rows - MARGIN * 2, 1, si.black, si.white);
: : 컴파일을 하니까 이 함수의 마지막 매개변수중 black과 white라는 맴버 는 없 다고 나오거든요.. 그래서 어떤맴버를 쓸수있는지 찾아보고싶은데
요.nano-
: x.h
: 헤더파일을 열어보면 함수는 정의되어있는데 들어가는 매개변수는 어떤것이 있
: 는지 알수가 없습니다. 혹시 아시는분 답변부탁드립니다.