?? emgui.h
字號:
/*
* Application implement
*
*
* COPYRIGHT (c) 2001 - 2010.
* emTech System Corporation.
*
* The license and distribution terms for this file may be
* found in found in the file LICENSE.
*/
/* Huangf emcore@263.net
*/
#ifndef __EMGUI_h
#define __EMGUI_h
typedef struct
{
int x, y;
} POINT, *LPPOINT;
typedef struct
{
int left, top, right, bottom;
} RECT, *LPRECT;
typedef struct _mwfont *PMWFONT;
#define GR_SET 0
#define GR_XOR 1
struct GC
{
int x;
int y;
int mode; /* XOR / SET */
int bkcolor; /* back ground */
int fcolor; /* fore color */
int penwidth; /* 0 for normal */
PMWFONT gr_font;
};
#include "emGUI-sys.h"
typedef struct GC *GID;
typedef struct GC *GC_ID;
void GrPoint(
WndID id,
GC_ID gc,
int x,
int y
);
void GrLine(
WndID id,
GC_ID gc,
int x1,
int y1,
int x2,
int y2,
boolean bDrawLastPoint
);
void GrRect(
WndID id,
GC_ID gc,
int x,
int y,
int width,
int height
);
void GrFillRect(
WndID id,
GC_ID gc,
int x,
int y,
int width,
int height
);
void GrPoly(
WndID wId,
GID gId,
int count,
LPPOINT points
);
void GrFillPoly(
WndID wId,
GID gId,
int count,
LPPOINT points
);
void GrArc(
WndID id,
GC_ID gc,
int x0,
int y0,
int rx,
int ry,
int ax,
int ay,
int bx,
int by,
int type
);
int
GrGCSetMode(
GID gId,
int mode
);
int
GrGCSetForeColor(
GID gId,
int fcolor
);
int
GrGCSetBackColor(
GID gId,
int fcolor
);
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -