Milestone: Got LSL Editor to open once more
This commit is contained in:
parent
96c2e0f49c
commit
71cf04e433
10 changed files with 6590 additions and 5364 deletions
35
source/Images/ImagesHelper.cs
Normal file
35
source/Images/ImagesHelper.cs
Normal file
|
@ -0,0 +1,35 @@
|
|||
using LSLEditor.Solution;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LSLEditor.Images
|
||||
{
|
||||
public static class ImagesHelper
|
||||
{
|
||||
public enum ImageType
|
||||
{
|
||||
Class,
|
||||
CloseActive,
|
||||
CloseDisabled,
|
||||
CloseInactive,
|
||||
Constants,
|
||||
Enum,
|
||||
Events,
|
||||
Functions,
|
||||
logo,
|
||||
Namespace,
|
||||
Properties,
|
||||
SealedClass,
|
||||
States,
|
||||
Unknown,
|
||||
Vars
|
||||
}
|
||||
public static Bitmap getImageByType(this ImageType type)
|
||||
{
|
||||
return (Bitmap)typeof(Images).GetProperty(type.ToString()).GetValue(new Images());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue