mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
* 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:
parent
1bbba2e51d
commit
69a698c48a
@ -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:
|
||||
|
@ -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();
|
||||
|
@ -213,10 +213,6 @@ private:
|
||||
///
|
||||
void removeNewlines();
|
||||
///
|
||||
int cx() const;
|
||||
///
|
||||
int cy() const;
|
||||
///
|
||||
lyx::pos_type cpos() const;
|
||||
///
|
||||
ParagraphList::iterator cpar() const;
|
||||
|
Loading…
Reference in New Issue
Block a user