X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbox.C;h=aae0bf10ea47193dca8f736446c127b4df117c7a;hb=3f8fa07c6ed38218d6a4048f2993a512aa942c96;hp=4ee0b2afb036229096309624d7a3cf6e3416b252;hpb=781e0ef62e262a633b094917eb40a5b840fea913;p=lyx.git diff --git a/src/box.C b/src/box.C index 4ee0b2afb0..aae0bf10ea 100644 --- a/src/box.C +++ b/src/box.C @@ -14,18 +14,23 @@ #include "box.h" -#include "support/LOstream.h" +#include "support/std_ostream.h" + + +namespace lyx { using std::ostream; +Box::Box() + : x1(0), x2(0), y1(0), y2(0) +{} + + Box::Box(int x1_, int x2_, int y1_, int y2_) : x1(x1_), x2(x2_), y1(y1_), y2(y2_) {} -Box::Box() - : x1(0), x2(0), y1(0), y2(0) -{} bool Box::contains(int x, int y) { @@ -39,3 +44,6 @@ ostream & operator<<(ostream & os, Box const & b) << " x2,y2: " << b.x2 << ',' << b.y2 << std::endl; } + + +} // namespace lyx