Inheritance: FlatRedBall.Glue.RuntimeObjects.Highlight
Ejemplo n.º 1
0
        public SimpleSelectionLogic()
        {
            mHighlight = new ElementRuntimeHighlight();
            mHighlight.FadeInAndOut = true;

            var control = Control.FromHandle(FlatRedBallServices.WindowHandle);

            mContextMenuStrip = new ContextMenuStrip();
            mContextMenuStrip.Items.Add("-");

            control.ContextMenuStrip = mContextMenuStrip;
        }
Ejemplo n.º 2
0
 static GluxManager()
 {
     mCurrentElementHighlight = new ElementRuntimeHighlight();
     mReloadIgnores           = 0;
 }
Ejemplo n.º 3
0
        public override void StartUp()
        {
            //Highlights
            mHighlight = new ElementRuntimeHighlight();
            mHighlight.Color = Color.Yellow;

            //UI
            entityControlControls = new EntityControlControls(mCurrentSelectedElementRuntime, mRuntimeOptions);
            GlueViewCommands.Self.CollapsibleFormCommands.AddCollapsableForm("Entity Control", 200, entityControlControls, this);

            //Events
            this.Push += new EventHandler(OnPush);
            this.ElementLoaded += new EventHandler(OnElementLoaded);
            this.Drag += new EventHandler(OnDrag);
            this.Click += new EventHandler(OnClick);
            this.MouseMove += new EventHandler(OnMouseMove);
            this.Update += new EventHandler(OnUpdate);
            this.ElementHiglight += new EventHandler(OnElementHighlight);

            //Layers
            mLayers = new List<Layer>();
            setUpLayerComboBox();

            //Handles
            mScalingHandles = new ScalingHandles();
            mRotationHandles = new RotationHandles();

            //Action
            mCurrentAction = ActionType.None;

            FillVariableList();
        }
Ejemplo n.º 4
0
        static GluxManager()
        {
            mCurrentElementHighlight = new ElementRuntimeHighlight();
            mReloadIgnores = 0;

        }