⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lgui.h

📁 详细的MiniGUI源代码
💻 H
字号:
/*	Copyright (C) 2004-2005 Li Yudong*//*** 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.**** This program is distributed in the hope that it will be useful,** but WITHOUT ANY WARRANTY; without even the implied warranty of** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the** GNU General Public License for more details.**** You should have received a copy of the GNU General Public License** along with this program; if not, write to the Free Software** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/#ifndef _LGUI_H_#define _LGUI_H_#ifdef __cplusplusextern "C" {#endif#define DESKICON_LINES_PER_PAGE 5#define DESKICON_NUMBER_PER_LINE 3typedef struct tagDeskIconNode {	int  iTextFile;							//is a text file  default =0 binary file 1:text file	char lpszComment[MAX_VALUE_SIZE];		//comment	char lpszName[MAX_VALUE_SIZE];			//name	char lpszIconName[MAX_VALUE_SIZE];		//icon file name 	char lpszBinName[MAX_VALUE_SIZE];		//bin file name	struct tagDeskIconNode* pNext;} DeskIconNode;typedef DeskIconNode* PDeskIconNode;//application class descriptiontypedef struct tagDeskIconClass{	int id;//class id	char lpszClassName[MAX_VALUE_SIZE];	//class name	char lpszIconName[MAX_VALUE_SIZE];	//class name on the tab item	char lpszPath[MAX_VALUE_SIZE];		//path		int iScrollPos;	int iScrollMax;	int iScrollMin;	int iScrollPage;	int iTotalIcon;	PDeskIconNode pHead;	PDeskIconNode pTail;	HWND hWndHead;	HWND hWndTail;	struct tagDeskIconClass* pNext;} DeskIconClass;typedef DeskIconClass* PDeskIconClass;typedef struct tagDeskIconInfo{	PDeskIconClass pHead;	PDeskIconClass pTail;	int iTotal;} DeskIconInfo;typedef DeskIconInfo* PDeskIconInfo;//MouseDownBOOL srvRawMouseDown(	WPARAM wParam,	LPARAM lParam);//MouseUpBOOL srvRawMouseUp(	WPARAM wParam,	LPARAM lParam);//MouseMoveBOOL srvRawMouseMove(	WPARAM wParam,	LPARAM lParam);BOOL LaunchApp(	char* pFileName);LRESULT WndProc(	HWND hWnd, 	UINT message, 	WPARAM wParam, 	LPARAM lParam);LRESULT DefWndProcDesktop(	HWND hWnd, 	UINT message, 	WPARAM wParam, 	LPARAM lParam);PlGUIAppStat GetActiveApplication();BOOL GetDeskIconInfo();void GetDeskScrollInfo(	int* iMax, 	int* iPage, 	int iTotalIcon);BOOL IsDeskIconInfoFile(	char* pString);void DestroyDeskIconInfo();BOOL AddNodeToDeskIconClass(	PDeskIconNode pNode,	PDeskIconClass pClass);void DeleteNodeFromDeskIconClass(	char* lpszName,	PDeskIconClass pClass);BOOL CreateDeskIcon();void ProDeskIconScroll(	HWND hWndScrollBar,	HWND hWndTab);void HideClassDeskIcon(	PDeskIconClass pClass);void ShowClassDeskIcon(	PDeskIconClass pClass);PDeskIconClass GetCurrentClass(	HWND hWndTab);int GenDeskIconID();void DeskIconClicked(	WORD id);HWND GetDeskIconHandle(	int id);BOOL AddStartMenuItems();void ProcessStartMenuClicked();void ProcessStartMenuItemClicked(	WPARAM wParam, 	LPARAM lParam);#ifdef __cplusplus}#endif /* __cplusplus */#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -