BloodknightStudios icon

Untitled

BloodknightStudios | PRO | 07/13/16 08:18:00 PM UTC | 0 ⭐ | 572 👁️ | Never ⏰ | []
text |

2.57 KB

|

None

|

0 👍

/

0 👎

                        treeView = GuiEditorTreeView;                        new GuiTreeViewCtrl(GuiEditorTreeView) {   exec( "./scripts/guiEditorTreeView.ed.cs" );   GuiEditorTreeView.init();   GuiEditorTreeView.open( %content );   GuiEditorTreeView.expandItem( 1 );   GuiEditorTreeView.update();   GuiEditorTreeView.update();   %action = UndoActionDeleteObject::create( %set, %this.getTrash(), GuiEditorTreeView );   GuiEditorTreeView.update();   GuiEditorTreeView.update();      GuiEditorTreeView.clearSelection();      GuiEditorTreeView.addSelection( %ctrl );      GuiEditorTreeView.addSelection( %ctrl );      GuiEditorTreeView.scrollVisibleByObjectId( %ctrl );      GuiEditorTreeView.removeSelection( %ctrl );      GuiEditorTreeView.clearSelection();   GuiEditorTreeView.update();function GuiEditorTreeView::init(%this)         item[ 0 ] = "Rename" TAB "" TAB "GuiEditorTreeView.showItemRenameCtrl( GuiEditorTreeView.findItemByObjectId( %this.object ) );";         item[ 0 ] = "Rename" TAB "" TAB "GuiEditorTreeView.showItemRenameCtrl( GuiEditorTreeView.findItemByObjectId( %this.object ) );";         item[ 3 ] = "Locked" TAB "" TAB "%this.object.setLocked( !%this.object.locked ); GuiEditorTreeView.update();";         item[ 4 ] = "Hidden" TAB "" TAB "%this.object.setVisible( !%this.object.isVisible() ); GuiEditorTreeView.update();";function GuiEditorTreeView::update( %this )      GuiEditorTreeView.clear();      GuiEditorTreeView.open( %obj );      GuiEditorTreeView.clearSelection();         GuiEditorTreeView.addSelection( %selection.getObject( %i ) );function GuiEditorTreeView::onDefineIcons(%this)   GuiEditorTreeView.buildIconTable( %icons );function GuiEditorTreeView::onRightMouseDown( %this, %item, %pts, %obj )function GuiEditorTreeView::onAddSelection(%this,%ctrl)function GuiEditorTreeView::onRemoveSelection( %this, %ctrl )function GuiEditorTreeView::onDeleteSelection(%this)function GuiEditorTreeView::onSelect( %this, %obj )function GuiEditorTreeView::isValidDragTarget( %this, %id, %obj )function GuiEditorTreeView::onBeginReparenting( %this )function GuiEditorTreeView::onReparent( %this, %obj, %oldParent, %newParent )function GuiEditorTreeView::onEndReparenting( %this )   GuiEditorTreeView.update();   GuiEditorTreeView.update();   %act.tree = GuiEditorTreeView;   %act = UndoActionAddObject::create(%set, %this.getTrash(), GuiEditorTreeView);   %act = UndoActionAddObject::create(%selection, %this.getTrash(), GuiEditorTreeView);   %act = UndoActionDeleteObject::create(%selection, %this.getTrash(), GuiEditorTreeView);   GuiEditorTreeView.update();

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎