controlpanel.h
来自「MDE 图形引擎」· C头文件 代码 · 共 86 行
H
86 行
/**************************************************************************** $Id: controlpanel.h,v 1.3 2003/05/07 08:11:24 weiym Exp $** controlpanel.h - description** -------------------** begin : Tue Jan 16 2001** copyright : (C) 2001 by 冯大可** email : minx@thtfchain.com****************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/#ifndef H_CONTROLPANEL#define H_CONTROLPANEL#include <sys/types.h>#ifdef __cplusplusextern "C" {#endif /* __cplusplus */#define MINIGUI_CONFIG "/etc/MiniGUI.cfg"#define IDM_EXIT 400#define IDM_ABOUT_THIS 401#define IDM_ABOUT 402#define TITLE_MAX 10#define INFO_MAX 200#define BTM_NUM 13#define BTM_UP 1#define BTM_FLAT 0#define BTM_DOWN -1typedef struct{ int x,y,w,h; BITMAP bitmap; int bmpx,bmpy; char title[TITLE_MAX]; int titlex,titley; char info[INFO_MAX]; int mode;//0:flat,1:up,-1:down}XMBUTTON;typedef struct{ int x,y,w,h; BITMAP *bitmap; int bmpx,bmpy; BITMAP myBitmap; char *info; char myInfo[INFO_MAX]; int infox,infoy,infow,infoh;} FDKBUTTON;void AboutLaodan (HWND hParent);#define IDM_SYSTEM 0#define IDM_DISPLAY 1#define IDM_MOUSE 2#define IDM_APP 3#define IDM_IME 4#define IDM_PASSWD 5#define IDM_BROWSER 6#define IDM_FONTS 7#define IDM_PROGRAMERS 8#define IDM_ICON 9#define IDM_IE 10#define IDM_SOUND 11#define IDM_KEYBOARD 12void* ControlPanel(void* data);int myLoadBitmap (BITMAP* bm, const char* filename);#ifdef __cplusplus}#endif /* __cplusplus */#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?