]> git.lyx.org Git - lyx.git/commitdiff
transfer margin declaration to BufferView.h
authorAbdelrazak Younes <younes@lyx.org>
Tue, 28 Aug 2007 15:31:04 +0000 (15:31 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 28 Aug 2007 15:31:04 +0000 (15:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19854 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.h
src/rowpainter.h

index 3f68b00cfd6b8eaccc2babd4b6189b477f178bdd..4217901c908fbda3182d045ca6932952c4a19fd8 100644 (file)
@@ -305,6 +305,14 @@ private:
        mutable TextMetricsCache text_metrics_;
 };
 
+/// some space for drawing the 'nested' markers (in pixel)
+inline int nestMargin() { return 15; }
+
+/// margin for changebar
+inline int changebarMargin() { return 12; }
+
+/// right margin
+inline int rightMargin() { return 10; }
 
 } // namespace lyx
 
index 6a4561835aa07ab7fcc7c8a30785bf4d09717e3a..988892ab2a2bffa1789e548f8d1c9065441dadd7 100644 (file)
@@ -104,15 +104,6 @@ private:
        double label_hfill_;
 };
 
-/// some space for drawing the 'nested' markers (in pixel)
-inline int nestMargin() { return 15; }
-
-/// margin for changebar
-inline int changebarMargin() { return 12; }
-
-/// right margin
-inline int rightMargin() { return 10; }
-
 } // namespace lyx
 
 #endif // ROWPAINTER_H