Beispiel #1
0
        public Document(Gdk.Size size)
        {
            Guid = Guid.NewGuid();

            Workspace             = new DocumentWorkspace(this);
            IsDirty               = false;
            HasFile               = false;
            HasBeenSavedInSession = false;
            ImageSize             = size;

            UserLayers = new List <UserLayer>();

            tool_layer        = CreateLayer("Tool Layer");
            tool_layer.Hidden = true;

            selection_layer        = CreateLayer("Selection Layer");
            selection_layer.Hidden = true;

            ResetSelectionPaths();

            selHandler = new SelectionModeHandler();
        }
Beispiel #2
0
 public WorkspaceManager()
 {
     OpenDocuments    = new List <Document> ();
     SelectionHandler = new SelectionModeHandler();
 }
 public WorkspaceManager()
 {
     OpenDocuments = new List<Document> ();
     SelectionHandler = new SelectionModeHandler ();
 }