Babel Icons
The Babel Package comes with a collection of icons that are used in the IntelliSense completion lists and in the drop-down bar used for quick navigation. Most of these icons are arranged in sets of six variations, where each variation corresponds to the access concepts of public, internal, friend, protected, private, and shortcut. For example, you can have different icons for a method depending on whether it is public, protected or private.
These icons are defined in babelservice.idl in the ScopeIconGroup and ScopeIconMisc enumerations. For example, to specify a protected method, you can use (IconGroupMethod * IconGroupSize) + IconItemProtected.
The Icons
The following icons are available for use in Babel:
Babel icons
A key to the icons is provided in the following table:
Icon group |
Enumeration |
Description |
---|---|---|
------------ |
enum ScopeIconGroup |
--------------------------------- |
0-5 |
IconGroupClass |
Class |
6-11 |
IconGroupType |
Constant |
12-17 |
IconGroupDelegate |
Delegate |
18-23 |
IconGroupType2 |
Enumeration |
24-29 |
IconGroupType3 |
Enumeration Member |
30-35 |
IconGroupEvent |
Event |
36-41 |
IconGroupResource |
Resource |
42-47 |
IconGroupFieldBlue |
Field |
48-53 |
IconGroupInterface |
Interface |
54-59 |
IconGroupTextLine |
Macro |
60-65 |
IconGroupScript |
Map |
66-71 |
IconGroupScript2 |
Map Item |
72-77 |
IconGroupMethod |
Method |
78-83 |
IconGroupMethod2 |
Overloaded Method |
84-89 |
IconGroupDiagram |
Module |
90-95 |
IconGroupNamespace |
Namespace |
96-101 |
IconGroupFormula |
Operator |
102-107 |
IconGroupProperty |
Property |
108-113 |
IconGroupStruct |
Structure |
114-119 |
IconGroupTemplate |
Template |
120-125 |
IconGroupOpenSquare |
Type Definition (typedef) |
126-131 |
IconGroupBits |
Type |
132-137 |
IconGroupChannel |
Channel |
138-143 |
IconGroupFieldRed |
Variable |
144-149 |
IconGroupUnion |
Union |
150-155 |
IconGroupForm |
Intrinsic |
156-161 |
IconGroupFieldYellow |
Miscellaneous field |
------------ |
enum ScopeIconMisc |
--------------------------------- |
162 |
IconBlackBox |
Assembly |
163 |
IconLibrary |
Library |
164 |
IconProgram |
Visual Basic Project |
165 |
IconwebProgram |
Web-based program |
166 |
IconProgramEmpty |
Empty program |
167 |
IconwebProgramEmpty |
Empty web-based program |
168 |
IconComponents |
Components |
169 |
IconEnvironment |
Environment |
170 |
IconWindow |
Window |
171 |
IconFolderOpen |
Open Folder |
172 |
IconFolder |
Closed Folder |
173 |
IconArrow |
Arrow |
174 |
IconAmbiguous |
Error |
175 |
IconShadowClass |
Grayed-out class |
176 |
IconShadowMethodPrivate |
Grayed-out private method |
177 |
IconShadowMethodProtected |
Grayed-out protected method |
178 |
IconShadowMethod |
Grayed-out method |
179 |
IconCompleteSource |
Miscellaneous document |