예제 #1
0
        protected override void Awake()
        {
            WindowCaption = "S.C.A.N. Instruments";
            WindowRect    = sessionRect;
            WindowStyle   = SCANskins.SCAN_window;
            WindowOptions = new GUILayoutOption[2] {
                GUILayout.Width(260), GUILayout.Height(60)
            };
            Visible             = false;
            DragEnabled         = true;
            ClampToScreenOffset = new RectOffset(-200, -200, -40, -40);

            SCAN_SkinsLibrary.SetCurrent("SCAN_Unity");
        }
예제 #2
0
        protected override void Awake()
        {
            WindowCaption = "S.C.A.N. Planetary Mapping";
            WindowRect    = sessionRect;
            WindowOptions = new GUILayoutOption[2] {
                GUILayout.Width(380), GUILayout.Height(230)
            };
            WindowStyle         = SCANskins.SCAN_window;
            Visible             = false;
            DragEnabled         = true;
            TooltipMouseOffset  = new Vector2d(-10, -25);
            ClampToScreenOffset = new RectOffset(-300, -300, -200, -200);

            SCAN_SkinsLibrary.SetCurrent("SCAN_Unity");
            SCAN_SkinsLibrary.SetCurrentTooltip();
        }
예제 #3
0
        protected override void Awake()
        {
            WindowCaption = "S.C.A.N. Color Management";
            WindowRect    = sessionRect;
            WindowStyle   = SCANskins.SCAN_window;
            WindowOptions = new GUILayoutOption[2] {
                GUILayout.Width(780), GUILayout.Height(360)
            };
            Visible             = false;
            DragEnabled         = true;
            ClampToScreenOffset = new RectOffset(-450, -450, -250, -250);

            SCAN_SkinsLibrary.SetCurrent("SCAN_Unity");

            removeControlLocks();
        }
예제 #4
0
        protected override void Awake()
        {
            WindowCaption = "S.C.A.N. Settings";
            WindowRect    = defaultRect;
            WindowStyle   = SCANskins.SCAN_window;
            WindowOptions = new GUILayoutOption[2] {
                GUILayout.Width(360), GUILayout.Height(300)
            };
            Visible             = false;
            DragEnabled         = true;
            TooltipMouseOffset  = new Vector2d(-10, -25);
            ClampToScreenOffset = new RectOffset(-280, -280, -600, -600);

            SCAN_SkinsLibrary.SetCurrent("SCAN_Unity");

            removeControlLocks();
        }
예제 #5
0
        protected override void Awake()
        {
            WindowCaption  = "Map of ";
            WindowRect     = defaultRect;
            WindowSize_Min = new Vector2(550, 225);
            WindowOptions  = new GUILayoutOption[2] {
                GUILayout.Width(600), GUILayout.Height(300)
            };
            WindowStyle        = SCANskins.SCAN_window;
            Visible            = false;
            DragEnabled        = true;
            ClampEnabled       = false;
            TooltipMouseOffset = new Vector2d(-10, -25);

            SCAN_SkinsLibrary.SetCurrent("SCAN_Unity");
            SCAN_SkinsLibrary.SetCurrentTooltip();
        }
예제 #6
0
        protected override void Awake()
        {
            WindowCaption = "Map of ";
            WindowRect    = sessionRect;
            WindowOptions = new GUILayoutOption[2] {
                GUILayout.Width(740), GUILayout.Height(420)
            };
            WindowStyle         = SCANskins.SCAN_window;
            Visible             = false;
            DragEnabled         = true;
            TooltipMouseOffset  = new Vector2d(-10, -25);
            ClampToScreenOffset = new RectOffset(-600, -600, -400, -400);
            waypoints           = HighLogic.LoadedScene != GameScenes.SPACECENTER;

            SCAN_SkinsLibrary.SetCurrent("SCAN_Unity");
            SCAN_SkinsLibrary.SetCurrentTooltip();

            removeControlLocks();
        }
예제 #7
0
        protected override void Awake()
        {
            WindowRect     = sessionRect;
            WindowSize_Min = new Vector2(310, 180);
            WindowSize_Max = new Vector2(540, 400);
            WindowOptions  = new GUILayoutOption[2] {
                GUILayout.Width(340), GUILayout.Height(240)
            };
            WindowStyle         = SCANskins.SCAN_window;
            showInfo            = true;
            Visible             = false;
            DragEnabled         = true;
            ClampEnabled        = true;
            TooltipMouseOffset  = new Vector2d(-10, -25);
            ClampToScreenOffset = new RectOffset(-200, -200, -160, -160);

            SCAN_SkinsLibrary.SetCurrent("SCAN_Unity");
            SCAN_SkinsLibrary.SetCurrentTooltip();

            removeControlLocks();

            Startup();
        }