asciipumper- mspaint style program to create irc ascii art |
git clone git://git.acid.vegas/asciipumper.git |
Log | Files | Refs | Archive | README |
CellInfo.cs (1689B)
1 #region Copyright (c) 2007, PP4L Software 2 /************************************************************************************ 3 4 Copyright 2007, PP4L Software 5 Author: Lampiasis <lampiasis@dvolker.com> 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation; either version 2 of the License, or 10 (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program; if not, write to the Free Software 19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 21 '***********************************************************************************/ 22 #endregion 23 24 25 using System; 26 using System.Collections.Generic; 27 using System.Text; 28 29 namespace AsciiPumper 30 { 31 public class CellInfo 32 { 33 public CellInfo() 34 { 35 Selected = false; 36 Character = ' '; 37 BackColor = 1; 38 ForeColor = 0; 39 } 40 41 public CellInfo(char character, byte backcolor, byte forecolor) 42 { 43 Selected = false; 44 Character = character; 45 BackColor = backcolor; 46 ForeColor = forecolor; 47 } 48 49 public bool Bold = false; 50 public bool Underlined = false; 51 52 /// <summary> 53 /// Gets or sets the Selected. 54 /// </summary> 55 public bool Selected; 56 57 58 public char Character; 59 60 61 public byte BackColor; 62 63 64 65 public byte ForeColor; 66 67 68 } 69 }