diff options
author | Uray M. János <uray.janos@gmail.com> | 2012-09-07 10:31:53 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-09-07 11:55:31 +0200 |
commit | 70d1b98a53cae469aeadb070c5681c76d6e6996f (patch) | |
tree | 160b0a0df6c781da5987de14644e88eb66943f6c /basctl/source/basicide/layout.hxx | |
parent | 19e7696b0f3e6771b630220379f00d306b44ec3d (diff) |
basctl: int -> long for Point and Size
To be consequent, because Point and Size use long.
Change-Id: I776a1839ee5d2cbdbcedad2b2922cb33b94c7b37
Diffstat (limited to 'basctl/source/basicide/layout.hxx')
-rw-r--r-- | basctl/source/basicide/layout.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/basctl/source/basicide/layout.hxx b/basctl/source/basicide/layout.hxx index 127f77e80f77..b65de961c5f9 100644 --- a/basctl/source/basicide/layout.hxx +++ b/basctl/source/basicide/layout.hxx @@ -67,7 +67,7 @@ protected: virtual void Resize (); virtual void DataChanged (DataChangedEvent const& rDCEvt); // new: - virtual void OnFirstSize (int nWidth, int nHeight) = 0; + virtual void OnFirstSize (long nWidth, long nHeight) = 0; private: // the main child window (either ModulWindow or DialogWindow) @@ -85,7 +85,7 @@ private: void Add (DockingWindow*, Size const&); void Remove (DockingWindow*); bool IsEmpty () const; - int GetSize () const; + long GetSize () const; void ArrangeIn (Rectangle const&); private: @@ -98,9 +98,9 @@ private: // rectangle to move in Rectangle aRect; // size (width or height) - int nSize; + long nSize; // last position (between Add()s) - int nLastPos; + long nLastPos; // the main splitting line Splitter aSplitter; // the dockable windows (and some data) @@ -113,15 +113,15 @@ private: // the window may fill the space of the adjacent currently // non-docking windows, but this change is not stored in these // variables. These change only when the splitter lines are moved. - int nStartPos, nEndPos; + long nStartPos, nEndPos; // splitter line window before the window // (the first one is always nullptr) boost::shared_ptr<Splitter> pSplit; }; std::vector<Item> vItems; private: - Point MakePoint (int, int) const; - Size MakeSize (int, int) const; + Point MakePoint (long, long) const; + Size MakeSize (long, long) const; private: static bool IsDocking (DockingWindow const&); private: |