Example #1
0
 public Pointer(int x, int y, Color backColor, string text, GlyphAppearance appearance)
 {
     this.x          = x;
     this.y          = y;
     this.color      = backColor;
     this.text       = text;
     this.appearance = appearance;
 }
Example #2
0
		public SquareLine(int x,int y,int width,Color backColor,GlyphAppearance appearance,ArrayList squareArray)
		{
			this.x = x;
			this.y = y;
			this.width = width;
			this.backColor = backColor;
			this.appearance = appearance;
			this.squareArray = squareArray;
		}
Example #3
0
 public Square(int x, int y, int size, Color backColor, GlyphAppearance appearance, string text)
 {
     this.x          = x;
     this.y          = y;
     this.size       = size;
     this.backColor  = backColor;
     this.appearance = appearance;
     this.text       = text;
 }
Example #4
0
 public SquareLine(int x, int y, int width, Color backColor, GlyphAppearance appearance, ArrayList squareArray)
 {
     this.x           = x;
     this.y           = y;
     this.width       = width;
     this.backColor   = backColor;
     this.appearance  = appearance;
     this.squareArray = squareArray;
 }
Example #5
0
		public Square(int x,int y,int size,Color backColor,GlyphAppearance appearance,string text)
		{
			this.x = x;
			this.y = y;
			this.size = size;
			this.backColor = backColor;
			this.appearance = appearance;
			this.text = text;
		}
		public VerticalPointer(int x,int y,Color backColor,string text,GlyphAppearance appearance)
		{
			this.x = x;
			this.y = y;
			this.color = backColor;
			this.text = text;
			this.appearance = appearance;

		}
Example #7
0
		public MyRectangle(int x,int y,int width,int height,Color backColor,GlyphAppearance appearance,string text)
		{
			this.x = x;
			this.y = y;
			this.width = width;
			this.height = height;
			this.backColor = backColor;
			this.appearance = appearance;
			this.text = text;
		}
 public MyRectangle(int x, int y, int width, int height, Color backColor, GlyphAppearance appearance, string text)
 {
     this.x          = x;
     this.y          = y;
     this.width      = width;
     this.height     = height;
     this.backColor  = backColor;
     this.appearance = appearance;
     this.text       = text;
 }
Example #9
0
 public SequenceDeleteStatus(string l, int i)
 {
     this.l           = l;
     this.i           = i;
     this.length      = l.Length;
     this.j           = i;
     this.e           = null;
     squareBackColor  = Color.DarkCyan;
     insertBackColor  = Color.Red;
     squareAppearance = GlyphAppearance.Flat;
     canEdit          = false;
 }
Example #10
0
 public InsertSortStatus(string r)
 {
     this.r           = r;
     this.n           = r.Length;
     this.i           = 2;
     this.j           = 0;
     headColor        = Color.Gold;
     commonColor      = Color.HotPink;
     currentColor     = Color.LightSeaGreen;
     squareAppearance = GlyphAppearance.Popup;
     canEdit          = false;
 }
 public SeqSearchStatus(string r, char key)
 {
     this.r              = r;
     this.key            = key;
     this.n              = r.Length;
     this.i              = -1;
     squareAppearance    = GlyphAppearance.Popup;
     headElementColor    = Color.HotPink;
     overElementColor    = Color.LightGray;
     stringRColor        = Color.Teal;
     currentElementColor = Color.Red;
     canEdit             = false;
 }
        public SequenceInsertStatus(string l, int i, char e)
        {
            canEdit     = false;
            this.l      = l + " ";
            this.i      = i;
            this.e      = e;
            this.length = this.l.Length - 1;
            j           = this.length - 1;

            squareBackColor  = Color.HotPink;
            insertBackColor  = Color.GreenYellow;
            squareAppearance = GlyphAppearance.Flat;
        }
Example #13
0
 public QuickSortStatus(string r, int low, int high)
 {
     this.r           = r;
     this.low         = low;
     this.high        = high;
     this.i           = 0;
     this.j           = 0;
     headColor        = Color.Gold;
     commonColor      = Color.HotPink;
     currentColor     = Color.LightSeaGreen;
     squareAppearance = GlyphAppearance.Popup;
     canEdit          = false;
 }
Example #14
0
 public IndexBFStatus(string s, string t, int pos)
 {
     this.s              = s;
     this.t              = t;
     this.pos            = pos;
     this.sLength        = s.Length;
     this.tLength        = t.Length;
     this.i              = 0;
     this.j              = 0;
     this.findPosition   = -1;
     squareAppearance    = GlyphAppearance.Popup;
     stringTColor        = SystemColors.InactiveBorder;
     stringSColor        = SystemColors.InactiveBorder;
     currentElementColor = Color.Red;
     canEdit             = false;
 }
        public SequenceMergeStatus(string la, string lb)
        {
            this.la       = la;
            this.lb       = lb;
            this.lc       = "";
            this.laLength = la.Length;
            this.lbLength = lb.Length;
            this.lcLength = 0;
            this.i        = 0;
            this.j        = 0;
            this.k        = 0;

            squareBackColor   = Color.DarkCyan;
            currentGlyphColor = Color.HotPink;
            squareAppearance  = GlyphAppearance.Flat;
            canEdit           = false;
        }
		public BinSearchStatus(string r,char key)
		{
			this.r = r;
			this.key = key;
			this.n = r.Length;
			this.low = -1;
			this.high = -1;
			this.mid = -1;
			squareAppearance = GlyphAppearance.Popup;
			headElementColor = Color.HotPink;
			overElementColor = Color.LightGray;
			stringRColor = Color.Teal;
			currentElementColor = Color.Red;
			canEdit = false;
		}
Example #17
0
		public IndexBFStatus(string s,string t,int pos)
		{
			this.s = s;
			this.t = t;
			this.pos = pos;
			this.sLength = s.Length;
			this.tLength = t.Length;
			this.i = 0;
			this.j = 0;
			this.findPosition = -1;
			squareAppearance = GlyphAppearance.Popup;
			stringTColor = SystemColors.InactiveBorder;
			stringSColor = SystemColors.InactiveBorder;
			currentElementColor = Color.Red;
			canEdit = false;

		}
		public BubbleSortStatus(string r)
		{
			this.r = r;
			this.n = r.Length;
			this.i = 1;
			this.j = 1;
			this.flag = 0;
			headColor = Color.Gold;
			commonColor = Color.HotPink;
			currentColor = Color.LightSeaGreen;
			squareAppearance = GlyphAppearance.Popup;
			canEdit = false;
		}
		public SequenceMergeStatus(string la,string lb)
		{
			this.la = la;
			this.lb = lb;
			this.lc = "";
			this.laLength = la.Length;
			this.lbLength = lb.Length;
			this.lcLength = 0;
			this.i = 0;
			this.j = 0;
			this.k = 0;

			squareBackColor = Color.DarkCyan;
			currentGlyphColor = Color.HotPink;
			squareAppearance = GlyphAppearance.Flat;
			canEdit = false;

		}
		public QuickSortStatus(string r,int low,int high)
		{
			this.r = r;
			this.low = low;
			this.high = high;
			this.i = 0;
			this.j = 0;
			headColor = Color.Gold;
			commonColor = Color.HotPink;
			currentColor = Color.LightSeaGreen;
			squareAppearance = GlyphAppearance.Popup;
			canEdit = false;
		}
		public SequenceInsertStatus(string l, int i, char e) 
		{
			canEdit = false;
			this.l = l + " ";
			this.i = i;
			this.e = e;
			this.length = this.l.Length - 1;
			j = this.length - 1;

			squareBackColor = Color.HotPink;
			insertBackColor = Color.GreenYellow;
			squareAppearance = GlyphAppearance.Flat;
		}
		public SequenceDeleteStatus(string l, int i)
		{
			this.l = l;
			this.i = i;
			this.length = l.Length;
			this.j = i;
			this.e = null;
			squareBackColor = Color.DarkCyan;
			insertBackColor = Color.Red;
			squareAppearance = GlyphAppearance.Flat;
			canEdit = false;

		}