Merge branch 'fix_interspacing'
[GitX.git] / PBLine.m
bloba0c28806b671c13451f6797938a216e0e14c3ebc
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 "PBLine.h"
12 @implementation PBLine
13 @synthesize upper, from, to;
14 - (id)initWithUpper: (int) u From: (int) f to: (int) t;
16         upper = u;
17         from = f;
18         to = t;
19         
20         return self;
23 + (PBLine*) lowerLineFrom:(int) f to: (int) t
25         return [[PBLine alloc] initWithUpper:0 From:f to:t];
28 + (PBLine*) upperLineFrom:(int) f to: (int) t
30         return [[PBLine alloc] initWithUpper:1 From:f to:t];
32 @end