MiniGUI API Reference (MiniGUI-Standalone)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
include
ctrl
coolbar.h
Go to the documentation of this file.
1
43
/*
44
* $Id: coolbar.h 10690 2008-08-18 09:32:47Z weiym $
45
*
46
* MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
47
* pSOS, ThreadX, NuCleus, OSE, and Win32.
48
*/
49
50
#ifndef EXT_COOLBAR_H
51
#define EXT_COOLBAR_H
52
53
54
#ifdef __cplusplus
55
extern
"C"
{
56
#endif
57
72
#define CTRL_COOLBAR ("CoolBar")
73
74
#define TYPE_BARITEM 1
75
#define TYPE_BMPITEM 2
76
#define TYPE_TEXTITEM 3
77
79
typedef
struct
_COOLBARITEMINFO
80
{
82
int
insPos
;
83
89
int
id
;
90
100
int
ItemType
;
101
105
PBITMAP
Bmp
;
106
110
const
char
*
ItemHint
;
111
115
const
char
*
Caption
;
116
118
DWORD
dwAddData
;
119
}
COOLBARITEMINFO
;
120
125
typedef
COOLBARITEMINFO
*
PCOOLBARITEMINFO
;
126
136
#define CBS_BMP_16X16 0x0000
137
142
#define CBS_BMP_32X32 0x0001
143
159
#define CBS_BMP_CUSTOM 0x0002
160
174
#define CBS_USEBKBMP 0x0004
175
200
#define CBM_ADDITEM 0xFE00
201
220
#define CBM_ENABLE 0xFE01
221
227
#ifdef __cplusplus
228
}
229
#endif
230
231
#endif
/* EXT_COOLBAR_H */
232
_COOLBARITEMINFO::ItemHint
const char * ItemHint
Definition:
coolbar.h:110
_COOLBARITEMINFO::dwAddData
DWORD dwAddData
Definition:
coolbar.h:118
COOLBARITEMINFO
struct _COOLBARITEMINFO COOLBARITEMINFO
PCOOLBARITEMINFO
COOLBARITEMINFO * PCOOLBARITEMINFO
Data type of the pointer to a COOLBARITEMINFO.
Definition:
coolbar.h:125
_COOLBARITEMINFO::Bmp
PBITMAP Bmp
Definition:
coolbar.h:105
_COOLBARITEMINFO::insPos
int insPos
Definition:
coolbar.h:82
_COOLBARITEMINFO
Definition:
coolbar.h:79
_COOLBARITEMINFO::id
int id
Definition:
coolbar.h:89
DWORD
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
Definition:
common.h:555
_BITMAP
Definition:
gdi.h:7382
_COOLBARITEMINFO::ItemType
int ItemType
Definition:
coolbar.h:100
_COOLBARITEMINFO::Caption
const char * Caption
Definition:
coolbar.h:115
Generated by
1.8.11