Ejemplo n.º 1
0
        /// <summary>Initializes a new instance of the <see cref="AssetsManager" /> class.</summary>
        public AssetsManager()
        {
            unsafe
            {
                ImGuiTextFilter *filterPtr = ImGuiNative.ImGuiTextFilter_ImGuiTextFilter(null);
                filter = new ImGuiTextFilterPtr(filterPtr);
            }

            Project.OnChange += Project_OnChangeProject;
        }
Ejemplo n.º 2
0
        /// <summary>Initializes a new instance of the <see cref="Console" /> class.</summary>
        /// <param name="eventHandler">The event handler.</param>
        public Console(EventHandler <EventType> eventHandler)
        {
            this.eventHandler = eventHandler;
            isOpen            = true;

            unsafe
            {
                ImGuiTextFilter *filterPtr = ImGuiNative.ImGuiTextFilter_ImGuiTextFilter(null);
                filter = new ImGuiTextFilterPtr(filterPtr);
            }

            Current = this;
        }