AGS.Editor.Components.FontsComponent.FontsComponent C# (CSharp) Method

FontsComponent() public method

public FontsComponent ( GUIController guiController, AGSEditor agsEditor ) : System
guiController GUIController
agsEditor AGSEditor
return System
        public FontsComponent(GUIController guiController, AGSEditor agsEditor)
            : base(guiController, agsEditor)
        {
            _documents = new Dictionary<AGS.Types.Font, ContentDocument>();
            _guiController.RegisterIcon(ICON_KEY, Resources.ResourceManager.GetIcon("font.ico"));
            _guiController.RegisterIcon("FontIcon", Resources.ResourceManager.GetIcon("font-item.ico"));
            _guiController.ProjectTree.AddTreeRoot(this, TOP_LEVEL_COMMAND_ID, "Fonts", ICON_KEY);
            RePopulateTreeView();
        }