]> 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 262e72d11ac661d7d410dbde7e9238d9ba647838..002ba6d96b146b76f0864ca7e263e1c5930e66ae 100644 (file)
--- a/src/box.h
+++ b/src/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_);
 
@@ -36,7 +39,7 @@ 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);
 };