quakeforge/ruamoko/include/gui/Point.h
Bill Currie ec26083228 start working on a gui lib with a Slider class. use the slider class for
the volume settings. doesn't /quite/ work properly yet
2004-02-03 08:31:26 +00:00

26 lines
413 B
Objective-C

#ifndef __ruamoko_Point_h
#define __ruamoko_Point_h
#include "Object.h"
@interface Point: Object
{
@public
integer x;
integer y;
}
- (id) initWithComponents: (integer)_x : (integer)_y;
- (id) initWithPoint: (Point)aPoint;
- (id) copy;
- (void) addPoint: (Point)aPoint;
- (void) subtractPoint: (Point)aPoint;
- (integer) x;
- (integer) y;
- (void) setPoint: (Point)aPoint;
@end
#endif //__ruamoko_Point_h