mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Make split-type math insets clickable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9776 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5e98ec6251
commit
5f27947aef
@ -1,5 +1,10 @@
|
|||||||
|
2005-04-04 Martin Vermeer <martin.vermeer@hut.fi>
|
||||||
|
|
||||||
|
* math_splitinset.[Ch]: add draw method calling setPosCache,
|
||||||
|
to make split-type insets clickable.
|
||||||
|
|
||||||
2005-04-04 Martin Vermeer <martin.vermeer@hut.fi>
|
2005-04-04 Martin Vermeer <martin.vermeer@hut.fi>
|
||||||
|
|
||||||
* math_amsarrayinset.C:
|
* math_amsarrayinset.C:
|
||||||
* math_casesinset.C:
|
* math_casesinset.C:
|
||||||
* math_gridinset.C:
|
* math_gridinset.C:
|
||||||
|
@ -55,6 +55,13 @@ char MathSplitInset::defaultColAlign(col_type col)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void MathSplitInset::draw(PainterInfo & pi, int x, int y) const
|
||||||
|
{
|
||||||
|
MathGridInset::draw(pi, x, y);
|
||||||
|
setPosCache(pi, x, y);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool MathSplitInset::getStatus(LCursor & cur, FuncRequest const & cmd,
|
bool MathSplitInset::getStatus(LCursor & cur, FuncRequest const & cmd,
|
||||||
FuncStatus & flag) const
|
FuncStatus & flag) const
|
||||||
{
|
{
|
||||||
|
@ -20,6 +20,9 @@ public:
|
|||||||
///
|
///
|
||||||
explicit MathSplitInset(std::string const & name);
|
explicit MathSplitInset(std::string const & name);
|
||||||
|
|
||||||
|
///
|
||||||
|
void draw(PainterInfo & pi, int x, int y) const;
|
||||||
|
|
||||||
///
|
///
|
||||||
bool getStatus(LCursor & cur, FuncRequest const & cmd,
|
bool getStatus(LCursor & cur, FuncRequest const & cmd,
|
||||||
FuncStatus & flag) const;
|
FuncStatus & flag) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user