Example #1
0
 public EditorGlyph(string tag, EditorGlyphType type, string imageUrl, int width, int height)
 {
     this._tag = tag;
     this._imageUrl = imageUrl;
     this._type = type;
     this._width = width;
     this._height = height;
     this._visible = true;
 }
Example #2
0
 public void Remove(string tag, EditorGlyphType type)
 {
     this._table.Remove(EditorGlyph.GetGlyphKey(tag, type));
 }
Example #3
0
 public EditorGlyph Get(string tag, EditorGlyphType type)
 {
     return (EditorGlyph) this._table[EditorGlyph.GetGlyphKey(tag, type)];
 }
Example #4
0
 internal static string GetGlyphKey(string tag, EditorGlyphType type)
 {
     return (tag + type);
 }