◆ getImageIndex()
static int BrawlCrate.UI.Icons.getImageIndex |
( |
ResourceType |
resResourceFileType | ) |
|
|
inlinestatic |
179 {
181 return result == -1 ? 0 : result;
182 }
static ImageList ImageList
Definition: Icons.cs:15
ResourceType
Definition: ResourceType.cs:6
◆ ImageList
ImageList BrawlCrate.UI.Icons.ImageList |
|
staticget |
15 {
16 get
17 {
18 if (_imgList == null)
19 {
21 {
22 ImageSize = new Size(24, 24),
23 ColorDepth = ColorDepth.Depth32Bit
24 };
25 foreach (KeyValuePair<ResourceType, Bitmap> entry in IconDictionary)
26 {
27 _imgList.Images.Add(Enum.GetName(typeof(
ResourceType), entry.Key), entry.Value);
28 }
29 }
30
31 return _imgList;
32 }
33 }
The documentation for this class was generated from the following file: