}
-BufferView::UpdateCodes operator|(BufferView::UpdateCodes uc1,
- BufferView::UpdateCodes uc2)
-{
- return static_cast<BufferView::UpdateCodes>
- (static_cast<int>(uc1) | static_cast<int>(uc2));
-}
-
-
bool BufferView::dispatch(FuncRequest const & ev)
{
return pimpl_->dispatch(ev);
*/
class BufferView : boost::noncopyable {
public:
- /**
- * Codes to store necessary pending updates
- * of the document rendering.
- */
- enum UpdateCodes {
- UPDATE = 0, //< repaint
- SELECT = 1 //< reset selection to current cursor pos
- };
-
/**
* Create a view with the given owner main window,
* of the given dimensions.
Pimpl * pimpl_;
};
-
-BufferView::UpdateCodes operator|(BufferView::UpdateCodes uc1,
- BufferView::UpdateCodes uc2);
-
#endif // BUFFERVIEW_H
* text3.C: replace "complicated" BufferView::update(...) calls with
simpler ones.
+ * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
+
2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
* Makefile.am (lyx_SOURCES): add paper.h