+2003-11-17 André Pönitz <poenitz@gmx.net>
+
+ * insettext.[Ch] (cx, cy): remove
+
2003-11-13 André Pönitz <poenitz@gmx.net>
* inset.h:
void InsetText::getCursorPos(BufferView *, int & x, int & y) const
{
- x = cx() - xo_;
- y = cy();
+ x = text_.cursor.x() + TEXT_TO_INSET_OFFSET;
+ y = text_.cursor.y() - dim_.asc + TEXT_TO_INSET_OFFSET;
}
}
-int InsetText::cx() const
-{
- return text_.cursor.x() + xo_ + TEXT_TO_INSET_OFFSET;
-}
-
-
-int InsetText::cy() const
-{
- return text_.cursor.y() - dim_.asc + TEXT_TO_INSET_OFFSET;
-}
-
-
pos_type InsetText::cpos() const
{
return text_.cursor.pos();