UnitForm.cs 533 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using Gtk;
  4. namespace UnitEditor
  5. {
  6. [System.ComponentModel.ToolboxItem (true)]
  7. public partial class UnitForm : Gtk.EventBox
  8. {
  9. public Notebook instance;
  10. //------------------------------------------------------------------------------
  11. public UnitForm (string file_name)
  12. {
  13. instance = new Notebook ();
  14. UnitEditor.RenderablesList renderables_list = new UnitEditor.RenderablesList (file_name);
  15. instance.AppendPage (renderables_list, new Label("Renderables"));
  16. }
  17. }
  18. }