toolbar.h

来自「libminigui-1.3.0.tar.gz。 miniGUI的库函数源代码」· C头文件 代码 · 共 58 行

H
58
字号
/*** $Id: button.h,v 1.2 2000/09**** toolbar.h:the head file of ToolBar control.**** Copyright (C) 2003 Feynman Software.** Copyright (C) 2000 ~ 2002 Wei Yongming.**** Create date: 2000/9/20*/#ifndef __TOOLBAR_H_#define __TOOLBAR_H_#ifdef  __cplusplusextern  "C" {#endiftypedef struct toolbarCTRL{	int    	nCount;	int 	ItemWidth;	int		ItemHeight;    struct 	toolbarItemData* head;    struct 	toolbarItemData* tail;	int 	iSel; 				// selected selected pic's insPos	int 	iLBDn; 				// whether LBtn down in the valid pic 0:no 1:yes	int 	iMvOver; }TOOLBARCTRL;typedef TOOLBARCTRL* PTOOLBARCTRL;typedef struct toolbarItemData{      int         id;      int         insPos;      RECT        RcTitle;      PBITMAP     NBmp;      PBITMAP     HBmp;      PBITMAP     DBmp;      struct     toolbarItemData* next;} TOOLBARITEMDATA;typedef TOOLBARITEMDATA* PTOOLBARITEMDATA;BOOL RegisterToolbarControl (void);void ToolbarControlCleanup (void);#ifdef  __cplusplus}#endif#endif // GUI_TOOBAR_H_

⌨️ 快捷键说明

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