version=1
lefttoright=true
author=David le Roux
numeric=false

#ifndef BUTTONLINE_H 
#define BUTTONLINE_H 
class ButtonPoint 
{ 
public: 
int x; 
int y; 
ButtonPoint(int a,int b) 
{ 
x=a; 
y=b; 
} 

}; 
class ButtonLine 
{ 

public: 
enum direction 
{ 
north, 
east, 
south, 
west 
}; 
int* fromx; 
int* fromy; 
int* tox; 
int* toy; 

direction dir; 
float pbutton; 
bool horiz; 
ButtonLine(ButtonLine* prev,direction d,float p=0.0); 
~ButtonLine(); 
void resize(int,int); 
void setLength(int); 
int length; 

private: 
bool first; 
ButtonPoint* one; 
ButtonPoint* two; 


}; 
#endif