]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.h
- Link against qt-mt333.lib which is what the current qt3 cvs produces
[lyx.git] / src / bufferview_funcs.h
index 743559b6421c916ea10e40d834d76ced5368c944..7bc244ac21499e13a4c4a592045f9d9fed5ff41b 100644 (file)
 
 #include <string>
 
-class LCursor;
 class LyXFont;
-class LyXText;
+class Point;
+class DocIterator;
+class BufferView;
 
 
 namespace bv_funcs {
@@ -34,15 +35,20 @@ bool string2font(std::string const & data, LyXFont & font, bool & toggle);
  */
 std::string const freefont2string();
 
+Point getPos(DocIterator const & dit);
 
-/// what type of depth change to make
-enum DEPTH_CHANGE {
-       INC_DEPTH,
-       DEC_DEPTH
+enum CurStatus {
+       CUR_INSIDE,
+       CUR_ABOVE,
+       CUR_BELOW
 };
 
-/// Returns whether something would be changed by changeDepth
-bool changeDepthAllowed(LCursor & cur, LyXText * text, DEPTH_CHANGE);
+
+CurStatus status(BufferView const * bv, DocIterator const & dit);
+
+
+Point coordOffset(DocIterator const & dit);
+
 
 } // namespace bv_funcs