| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using BansheeEngine;
- namespace BansheeEditor
- {
- internal sealed class ProjectSelectWindow : ModalWindow
- {
- private GUITextBox textBox;
- public ProjectSelectWindow()
- :base(0, 0, 200, 200)
- {
- //GUILabel label = GUI.main.AddLabel("Test test");
- //label.SetContent("Test2");
- GUIButton button = GUI.main.AddButton("CLICK ME");
- button.OnClick += button_OnClick;
- textBox = GUI.main.AddTextBox(true, GUIOption.FixedHeight(100), GUIOption.FixedWidth(100));
- textBox.text = "Supsup?";
- }
- void button_OnClick()
- {
- textBox.text = "CLICKED!";
- }
- }
- }
|