Exemplo n.º 1
0
		public override void Initialize(FrmMainEditor frm) {
			base.Initialize(frm);

			LogicPencilTool.Instance.Initialize(frm);
			LogicBucketTool.Instance.Initialize(frm);
			LogicRectangleTool.Instance.Initialize(frm);
			LogicPathTool.Instance.Initialize(frm);
		}
Exemplo n.º 2
0
		public override void Initialize(FrmMainEditor mainForm) {
			base.Initialize(mainForm);

			EntityAddTool.Instance.Initialize(mainForm);
			EntitySelectionTool.Instance.Initialize(mainForm);
			EntityRectangleTool.Instance.Initialize(mainForm);
			EntityMoveTool.Instance.Initialize(mainForm);
			EntitySelectAllTool.Instance.Initialize(mainForm);
			EntityRemoveTool.Instance.Initialize(mainForm);
		}
Exemplo n.º 3
0
		public override void Initialize(FrmMainEditor mainForm) {
			if (!initialized) {
				base.Initialize(mainForm);

				PencilTool.Instance.Initialize(mainForm);
				RectangleTool.Instance.Initialize(mainForm);
				BucketTool.Instance.Initialize(mainForm);
				EraserTool.Instance.Initialize(mainForm);
				LogicBrushTool.Instance.Initialize(mainForm);

				/*Once per runtime*/
				EditorForm.editorcontrol.MouseDown += new MouseEventHandler(onMouseDown);
				EditorForm.editorcontrol.MouseMove += new MouseEventHandler(onMouseMove);
				EditorForm.editorcontrol.MouseUp += new MouseEventHandler(onMouseUp);

				initialized = true;
			}
		}
Exemplo n.º 4
0
		public void Initialize(FrmMainEditor frm) {
			this.editorform = frm;
			this.Initialized = true;
		}
Exemplo n.º 5
0
		public virtual void Initialize(FrmMainEditor mainForm) {
			this.EditorForm = mainForm;
		}
Exemplo n.º 6
0
		public override void Initialize(FrmMainEditor mainForm) {
			base.Initialize(mainForm);
		}
Exemplo n.º 7
0
		public override void Initialize(FrmMainEditor mainForm) {
			this.selection = new Selection();
			base.Initialize(mainForm);
		}