public MyTextPanel()
        {
            m_publicDescription = new StringBuilder();
            m_textBox = null;
            m_publicTitle = new StringBuilder();
            m_isOpen = false;

            m_privateDescription = new StringBuilder();
            m_privateTitle = new StringBuilder();

            Render = new MyRenderComponentTextPanel();
            m_definitions.Clear();
            foreach (var textureDefinition in MyDefinitionManager.Static.GetLCDTexturesDefinitions())
            {
                m_definitions.Add(textureDefinition);
            }
        }
        public MyTextPanel()
        {
            #if XB1 // XB1_SYNC_NOREFLECTION
            m_backgroundColor = SyncType.CreateAndAddProp<Color>();
            m_fontColor = SyncType.CreateAndAddProp<Color>();
            m_accessFlag = SyncType.CreateAndAddProp<TextPanelAccessFlag>();
            m_showFlag = SyncType.CreateAndAddProp<ShowTextOnScreenFlag>();
            m_changeInterval = SyncType.CreateAndAddProp<float>();
            m_fontSize = SyncType.CreateAndAddProp<float>();
            #endif // XB1
            CreateTerminalControls();

            m_publicDescription = new StringBuilder();
            m_textBox = null;
            m_publicTitle = new StringBuilder();
            m_isOpen = false;

            m_privateDescription = new StringBuilder();
            m_privateTitle = new StringBuilder();

            Render = new MyRenderComponentTextPanel();
            m_definitions.Clear();
            foreach (var textureDefinition in MyDefinitionManager.Static.GetLCDTexturesDefinitions())
            {
                m_definitions.Add(textureDefinition);
            }

            m_backgroundColor.Value = Color.Black;
            m_fontColor.Value = Color.White;
            m_changeInterval.Value = 0;
            m_fontSize.Value = 1.0f;

            m_backgroundColor.ValueChanged += m_backgroundColor_ValueChanged;
            m_fontColor.ValueChanged += m_fontColor_ValueChanged;
            m_showFlag.ValueChanged += m_showFlag_ValueChanged;
            m_changeInterval.ValueChanged += m_changeInterval_ValueChanged;
            m_fontSize.ValueChanged += m_fontSize_ValueChanged;
        }
        public MyTextPanel()
        {
            CreateTerminalControls();

            m_publicDescription = new StringBuilder();
            m_textBox = null;
            m_publicTitle = new StringBuilder();
            m_isOpen = false;

            m_privateDescription = new StringBuilder();
            m_privateTitle = new StringBuilder();

            Render = new MyRenderComponentTextPanel();
            m_definitions.Clear();
            foreach (var textureDefinition in MyDefinitionManager.Static.GetLCDTexturesDefinitions())
            {
                m_definitions.Add(textureDefinition);
            }

            m_backgroundColor.Value = Color.Black;
            m_fontColor.Value = Color.White;
            m_changeInterval.Value = 0;
            m_fontSize.Value = 1.0f;

            m_backgroundColor.ValueChanged += m_backgroundColor_ValueChanged;
            m_fontColor.ValueChanged += m_fontColor_ValueChanged;
            m_showFlag.ValueChanged += m_showFlag_ValueChanged;
            m_changeInterval.ValueChanged += m_changeInterval_ValueChanged;
            m_fontSize.ValueChanged += m_fontSize_ValueChanged;
        }