Esempio n. 1
0
        public void SetCharacter(int pos, char c, CharacterCell.ColorCodes textColor, CharacterCell.ColorCodes backColor, CharacterCell.AttributeCodes attribute)
        {
            if (pos < 0 || pos >= CharacterData.Length)
            {
                return;
            }

            CharacterData[pos] = c;
            TextColorData[pos] = textColor;
            BackColorData[pos] = backColor;
            AttributeData[pos] = attribute;
        }
Esempio n. 2
0
        public void SetCharacter(int row, int col, char c, CharacterCell.ColorCodes textColor, CharacterCell.ColorCodes backColor, CharacterCell.AttributeCodes attribute)
        {
            int pos = GetPos(row, col);

            SetCharacter(pos, c, textColor, backColor, attribute);
        }