class LyXView;
-///
+namespace lyx {
+namespace frontend {
+
class XWorkArea : public WorkArea {
public:
///
private:
/// generate the pixmap, and copy backing pixmap to it,
/// and send resize event if needed
- void redraw(int, int);
+ void updateGeometry(int, int);
+
+ ///
+ void paint(int x, int y, int w, int h);
/// GC used for copying to the screen
GC copy_gc;
/// the current document's height (for scrollbar)
int doc_height_;
///
- lyx::frontend::Box * wa_box_;
+ boost::shared_ptr<Box> wa_box_;
///
- lyx::frontend::WidgetMap widgets_;
+ WidgetMap widgets_;
};
+} // namespace frontend
+} // namespace lyx
+
#endif // XWORKAREA_H