* insettext.[Ch] (cx, cy): remove

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8091 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-11-17 12:39:24 +00:00
parent 1bbba2e51d
commit 69a698c48a
3 changed files with 6 additions and 18 deletions

View File

@ -1,4 +1,8 @@
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:

View File

@ -688,8 +688,8 @@ void InsetText::validate(LaTeXFeatures & features) const
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;
}
@ -906,18 +906,6 @@ void InsetText::setFrameColor(LColor_color col)
}
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();

View File

@ -213,10 +213,6 @@ private:
///
void removeNewlines();
///
int cx() const;
///
int cy() const;
///
lyx::pos_type cpos() const;
///
ParagraphList::iterator cpar() const;