]> git.lyx.org Git - lyx.git/blobdiff - src/box.h
gettext support, fast_start option, scons all, mingw bug fix and some cleanup for...
[lyx.git] / src / box.h
index 884a28eb5d563995298e42e0c71b800f4514b03b..002ba6d96b146b76f0864ca7e263e1c5930e66ae 100644 (file)
--- a/src/box.h
+++ b/src/box.h
@@ -1,10 +1,12 @@
 // -*- C++ -*-
 /**
  * \file box.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef BOX_H
  *
  * Negative values are allowed.
  */
-struct Box {
+class Box {
+public:
        int x1;
        int x2;
        int y1;
        int y2;
 
+       /// Zero-initialise the member variables.
+       Box();
        /// Initialise the member variables.
        Box(int x1_, int x2_, int y1_, int y2_);
 
@@ -34,10 +39,10 @@ struct Box {
         * the box. Check is exclusive (point on a border
         * returns false).
         */
-       bool contained(int x, int y);
+       bool contains(int x, int y);
 };
+
 
 std::ostream & operator<<(std::ostream &, Box const &);
+
 #endif // BOX_H