HistoryView: Remove raw view
[GitX.git] / PBGitGraphLine.m
blobb4a36e7bc4e8c6eeac4180c1f02a28367e6ee649
1 //
2 //  PBLine.m
3 //  GitX
4 //
5 //  Created by Pieter de Bie on 27-08-08.
6 //  Copyright 2008 __MyCompanyName__. All rights reserved.
7 //
9 #import "PBGitGraphLine.h"
11 @implementation PBGitGraphLine
12 @synthesize upper, from, to, colorIndex;
13 - (id)initWithUpper: (char) u From: (char) f to: (char) t  color: (char) c;
15         upper = u;
16         from = f;
17         to = t;
18         colorIndex = c;
19         return self;
22 + (PBGitGraphLine*) lowerLineFrom:(char) f to: (char) t color: (char) c
24         return [[PBGitGraphLine alloc] initWithUpper:0 From:f to:t color:c];
27 + (PBGitGraphLine*) upperLineFrom:(char) f to: (char) t color: (char) c
29         return [[PBGitGraphLine alloc] initWithUpper:1 From:f to:t color: c];
31 @end