using System.Collections.Generic; using UIWidgetsGallery.gallery; using Unity.UIWidgets.engine2; using Unity.UIWidgets.widgets; namespace UIWidgetsGallery { public class GalleryMain : UIWidgetsPanel { protected new void OnEnable() { base.OnEnable(); } protected override void main() { ui_.runApp(new GalleryApp()); } protected override void onEnable() { AddFont("Material Icons", new List {"MaterialIcons-Regular.ttf"}, new List {0}); AddFont("CupertinoIcons", new List {"CupertinoIcons.ttf"}, new List {0}); AddFont("GalleryIcons", new List {"gallery/GalleryIcons.ttf"}, new List {0}); } } }