aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r--src/EditView.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx
index 37a6a9f9e..2bb107e0b 100644
--- a/src/EditView.cxx
+++ b/src/EditView.cxx
@@ -190,6 +190,14 @@ EditView::EditView() {
EditView::~EditView() {
}
+PRectangle EditView::ViewRectangle() const {
+ return rectangleView;
+}
+
+void EditView::SetViewRectangle(PRectangle rectangle) {
+ rectangleView = rectangle;
+}
+
bool EditView::SetTwoPhaseDraw(bool twoPhaseDraw) {
const PhasesDraw phasesDrawNew = twoPhaseDraw ? phasesTwo : phasesOne;
const bool redraw = phasesDraw != phasesDrawNew;