///
CLEAR_FRAME = 2,
///
- DRAW_FRAME = 3,
+ DRAW_FRAME = 4,
///
- SELECTION = 4,
+ SELECTION = 8,
///
- CURSOR_PAR = 5,
+ CURSOR_PAR = 16,
///
- FULL = 6,
+ FULL = 32,
///
- INIT = 7
+ INIT = 64
};
///
enum DrawFrame {
///
void update(BufferView *, LyXFont const &, bool =false);
///
- void SetUpdateStatus(UpdateCodes);
+ void SetUpdateStatus(BufferView *, int what);
///
string const EditMessage() const;
///
///
void InsetKeyPress(XKeyEvent *);
///
- UpdatableInset::RESULT LocalDispatch(BufferView *, int, string const &);
+ UpdatableInset::RESULT LocalDispatch(BufferView *, kb_action, string const &);
///
int Latex(Buffer const *, std::ostream &,
bool fragile, bool free_spc) const;
///
void SetFrameColor(BufferView *, LColor::color);
///
- LyXText * getLyXText(BufferView const *) const;
+ LyXText * getLyXText(BufferView const *, bool const recursive=false) const;
///
void deleteLyXText(BufferView *, bool recursive=true) const;
///
///
LyXParagraph * par;
///
- mutable UpdateCodes need_update;
+ mutable int need_update;
protected:
///
- void UpdateLocal(BufferView *, UpdateCodes, bool mark_dirty);
+ void UpdateLocal(BufferView *, int what, bool mark_dirty);
///
mutable int drawTextXOffset;
///