| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- using System;
- using System.Collections.Generic;
- using BansheeEngine;
- namespace BansheeEditor
- {
- class Program
- {
- private static EditorApplication app;
- static void Start()
- {
- app = new EditorApplication();
- DbgResource testResource = new DbgResource();
- //ProjectLibrary.Create(testResource, @"testResource");
- // Starts main editor window with the specified width/height and render system
- // (Window position and sizes are stored internally. Restored upon StartUp and saved upon ShutDown)
- //EditorApplication.StartUp(RenderSystem.DX11, 1024, 800);
- // TODO - A class to manipulate menu items
- //ProjectSelectWindow window = new ProjectSelectWindow();
- //GUIElementStateStyle dbgStyle = new GUIElementStateStyle();
- //Color newColor = Color.red;
- //dbgStyle.textColor = newColor;
- }
- static void EditorUpdate()
- {
- app.EditorUpdate();
- }
- }
- //class SceneView : EditorWindow
- //{
- // SceneView()
- // {
- // GUI is a GUILayout that is initialized internally by EditorWindow
- //GUI.AddButton("Some text");
- //GUI.AddXLayout();
- //GUI.CreateAreaFixed(100, 100, 400, 400); // GUIArea creating another GUIArea
- // Add support for GUIContent
- // Add support for GUILayoutOptions
- // Add support for GUIElementStyle and GUISkin - For now ignore this as I need to deal with Fonts, Textures, SpriteTextures, etc.
- // }
- //}
- //class MyGUI : //GUIWidget // GUIWidget is automatically initialized with Game render window. Editor GUIWidgets are specially initialized
- //{
-
- //}
- }
|