3 #ifndef BUFFERVIEW_PIMPL_H
4 #define BUFFERVIEW_PIMPL_H
6 #include "BufferView.h"
7 #include "UpdateInset.h"
18 struct BufferView::Pimpl {
19 Pimpl(BufferView * i, LyXView * o,
20 int xpos, int ypos, int width, int height);
22 /// Update pixmap of screen
25 void workAreaExpose();
27 void scrollUpOnePage();
29 void scrollDownOnePage();
33 Inset * checkInsetHit(int & x, int & y, unsigned int button);
35 int scrollUp(long time);
37 int scrollDown(long time);
39 void workAreaMotionNotify(int x, int y, unsigned int state);
41 void workAreaButtonPress(int x, int y, unsigned int button);
43 void workAreaButtonRelease(int x, int y, unsigned int button);
45 void workAreaSelectionNotify(Window win, XEvent * event);
47 void doubleClick(int x, int y, unsigned int button);
49 void tripleClick(int x, int y, unsigned int button);
59 long current_scrollbar_value;
65 FL_OBJECT * figinset_canvas;
67 FL_OBJECT * timer_cursor;
71 int last_click_x, last_click_y;
75 UpdateInset updatelist;