diff options
author | Neil <nyamatongwe@gmail.com> | 2014-07-08 13:08:02 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-07-08 13:08:02 +1000 |
commit | 0e655d49868553951a036a203b7407d9d2afc532 (patch) | |
tree | 5978f0a1f036cdf273de14eb5b940ed03bb056ef /cocoa/ScintillaCocoa.h | |
parent | 126d13674fa63256b6576e5317791b6f77ebefb3 (diff) | |
download | scintilla-mirror-0e655d49868553951a036a203b7407d9d2afc532.tar.gz |
Specifying some methods as const as they are used from display and measurement
code that will be changed to have read-only access.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r-- | cocoa/ScintillaCocoa.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h index 05ee56c7c..ec253b161 100644 --- a/cocoa/ScintillaCocoa.h +++ b/cocoa/ScintillaCocoa.h @@ -111,8 +111,8 @@ private: FindHighlightLayer *layerFindIndicator; protected: - Point GetVisibleOriginInMain(); - PRectangle GetClientRectangle(); + Point GetVisibleOriginInMain() const; + PRectangle GetClientRectangle() const; virtual PRectangle GetClientDrawingRectangle(); Point ConvertPoint(NSPoint point); virtual void RedrawRect(PRectangle rc); @@ -133,7 +133,7 @@ public: void RegisterNotifyCallback(intptr_t windowid, SciNotifyFunc callback); sptr_t WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam); - NSScrollView* ScrollContainer(); + NSScrollView* ScrollContainer() const; SCIContentView* ContentView(); bool SyncPaint(void* gc, PRectangle rc); |