mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
remove unneeded BufferView::UpdateCodes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7495 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c544107e32
commit
ecee0239e7
@ -238,14 +238,6 @@ void BufferView::stuffClipboard(string const & stuff) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
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)
|
bool BufferView::dispatch(FuncRequest const & ev)
|
||||||
{
|
{
|
||||||
return pimpl_->dispatch(ev);
|
return pimpl_->dispatch(ev);
|
||||||
|
@ -39,15 +39,6 @@ class ErrorList;
|
|||||||
*/
|
*/
|
||||||
class BufferView : boost::noncopyable {
|
class BufferView : boost::noncopyable {
|
||||||
public:
|
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,
|
* Create a view with the given owner main window,
|
||||||
* of the given dimensions.
|
* of the given dimensions.
|
||||||
@ -220,8 +211,4 @@ private:
|
|||||||
Pimpl * pimpl_;
|
Pimpl * pimpl_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
BufferView::UpdateCodes operator|(BufferView::UpdateCodes uc1,
|
|
||||||
BufferView::UpdateCodes uc2);
|
|
||||||
|
|
||||||
#endif // BUFFERVIEW_H
|
#endif // BUFFERVIEW_H
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
* text3.C: replace "complicated" BufferView::update(...) calls with
|
* text3.C: replace "complicated" BufferView::update(...) calls with
|
||||||
simpler ones.
|
simpler ones.
|
||||||
|
|
||||||
|
* BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
|
||||||
|
|
||||||
2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
|
2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
|
||||||
|
|
||||||
* Makefile.am (lyx_SOURCES): add paper.h
|
* Makefile.am (lyx_SOURCES): add paper.h
|
||||||
|
Loading…
Reference in New Issue
Block a user