00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __FL_POINT_H__
00023 #define __FL_POINT_H__
00024
00026 class FL_API Fl_Point
00027 {
00028 int x_, y_;
00029 public:
00030 Fl_Point() : x_(0), y_(0) {}
00031 Fl_Point(int x, int y) : x_(x), y_(y) {}
00032
00033 Fl_Point &operator=( const Fl_Point &p ) { x(p.x()); y(p.y()); return *this; }
00034
00035 int x() const { return x_; }
00036 int y() const { return y_; }
00037 void x(int x) { x_ = x; }
00038 void y(int y) { y_ = y; }
00039 };
00040
00041 #endif