///
void update(BufferView *, LyXFont const &, bool =false);
///
- void SetUpdateStatus(BufferView *, int what);
+ void SetUpdateStatus(BufferView *, int what) const;
///
string const EditMessage() const;
///
///
bool IsTextInset() const { return true; }
///
- bool doClearArea() const { return !locked; }
+ bool doClearArea() const;
///
void InsetUnlock(BufferView *);
///
///
std::vector<string> const getLabelList() const;
///
+ bool nodraw() const;
+ ///
+ int scroll(bool recursive=true) const;
+ void scroll(BufferView *bv, float sx) const {
+ UpdatableInset::scroll(bv, sx);
+ }
+ void scroll(BufferView *bv, int offset) const {
+ UpdatableInset::scroll(bv, offset);
+ }
+
LyXParagraph * par;
///
mutable int need_update;
///
bool autoBreakRows;
///
- DrawFrame drawFrame;
+ DrawFrame drawFrame_;
///
LColor::color frame_color;
///
bool checkAndActivateInset(BufferView * bv, int x = 0, int y = 0,
int button = 0);
+ ///
void removeNewlines();
-
///
int cx(BufferView *) const;
///
bool cboundary(BufferView *) const;
///
Row * crow(BufferView *) const;
-
+ ///
/// This instead of a macro
LyXText * TEXT(BufferView * bv) const {
return getLyXText(bv);
}
+ ///
+ void drawFrame(Painter &, bool cleared) const;
+ void clearFrame(Painter &, bool cleared) const;
+ ///
/* Private structures and variables */
///
mutable Cache cache;
///
mutable int last_drawn_width;
+ ///
+ mutable bool frame_is_visible;
};
#endif