Exemplo n.º 1
0
        void SetupActiveQuestsPanel()
        {
            Panel questPanel = AddPanel(new Rect(4, 4, 100, 352), "Active Quests");

            addQuestTextBox = DaggerfallUI.AddTextBox(new Rect(2, 12, 76, 10), "Quest Filename", questPanel, 8);
            addQuestTextBox.BackgroundColor = Color.black;
            addQuestTextBox.UpperOnly       = true;
            addQuestTextBox.FixedSize       = true;
            addQuestTextBox.Outline.Enabled = true;
            addQuestTextBox.UseFocus        = true;
            addQuestTextBox.Text            = "_TUTOR__";
            //addQuestTextBox.Text = "_BRISIEN";
            addQuestTextBox.SetFocus();

            Button addQuestButton = DaggerfallUI.AddTextButton(new Rect(80, 12, 18, 10), "Add", questPanel);

            addQuestButton.BackgroundColor = mainButtonBackgroundColor;
            addQuestButton.OnMouseClick   += AddQuestButton_OnMouseClick;
        }