Correct backtrace() array size argument
[forms.git] / F / F_Point.H
blob0d562d360a7486208575bb5f2df8bb6cc0125c2d
2  /*
3   *   Copyright (C) 2007, Harbour, All rights reserved.
4   */
6 #ifndef _F_POINT_H_
7 #define _F_POINT_H_
9 #include <F_Types.H>
11 namespace F {
13 class F_Point {
14   coord_t x_, y_;
15  public:
16   F_Point (coord_t x = 0, coord_t y = 0) { x_ = x; y_ = y; }
17   F_Point (const F_Point &p) { x_ = p.x(); y_ = p.y(); }
18   inline coord_t x() const { return x_; }
19   inline coord_t y() const { return y_; }
20   inline void move(coord_t x, coord_t y) { x_ = x; y_ = y; }
21   inline void move_hor(int x) { x_ += x; }
22   inline void move_vert(int y) { y_ += y; }
23  };
26 #endif