diff options
Diffstat (limited to 'dw')
-rw-r--r-- | dw/fltkimgbuf.cc | 4 | ||||
-rw-r--r-- | dw/fltkplatform.cc | 2 | ||||
-rw-r--r-- | dw/imgbuf.hh | 4 | ||||
-rw-r--r-- | dw/layout.hh | 2 | ||||
-rw-r--r-- | dw/platform.hh | 2 | ||||
-rw-r--r-- | dw/selection.cc | 4 | ||||
-rw-r--r-- | dw/style.cc | 4 |
7 files changed, 11 insertions, 11 deletions
diff --git a/dw/fltkimgbuf.cc b/dw/fltkimgbuf.cc index 97cbc1b4..4ede6c5b 100644 --- a/dw/fltkimgbuf.cc +++ b/dw/fltkimgbuf.cc @@ -228,12 +228,12 @@ void FltkImgbuf::getRowArea (int row, dw::core::Rectangle *area) } } -int FltkImgbuf::getRootWidth () +int FltkImgbuf::getRootWidth () { return root ? root->width : width; } -int FltkImgbuf::getRootHeight () +int FltkImgbuf::getRootHeight () { return root ? root->height : height; } diff --git a/dw/fltkplatform.cc b/dw/fltkplatform.cc index fecd76a7..d8e95a6e 100644 --- a/dw/fltkplatform.cc +++ b/dw/fltkplatform.cc @@ -493,7 +493,7 @@ void FltkPlatform::attachView (core::View *view) } -void FltkPlatform::detachView (core::View *view) +void FltkPlatform::detachView (core::View *view) { if (this->view != view) MSG_ERR("FltkPlatform::detachView: this->view: %p view: %p\n", diff --git a/dw/imgbuf.hh b/dw/imgbuf.hh index 150bf165..d6f41d21 100644 --- a/dw/imgbuf.hh +++ b/dw/imgbuf.hh @@ -175,8 +175,8 @@ public: virtual Imgbuf* getScaledBuf (int width, int height) = 0; virtual void getRowArea (int row, dw::core::Rectangle *area) = 0; - virtual int getRootWidth () = 0; - virtual int getRootHeight () = 0; + virtual int getRootWidth () = 0; + virtual int getRootHeight () = 0; /* * Reference counting. diff --git a/dw/layout.hh b/dw/layout.hh index 4b80456b..e3e89c52 100644 --- a/dw/layout.hh +++ b/dw/layout.hh @@ -334,7 +334,7 @@ public: inline style::Font *createFont (style::FontAttrs *attrs, bool tryEverything) { - return platform->createFont (attrs, tryEverything); + return platform->createFont (attrs, tryEverything); } inline bool fontExists (const char *name) diff --git a/dw/platform.hh b/dw/platform.hh index cb714583..c7eb37ee 100644 --- a/dw/platform.hh +++ b/dw/platform.hh @@ -44,7 +44,7 @@ public: * \brief This methods notifies the platform, that a view has been detached * from the related layout. */ - virtual void detachView (View *view) = 0; + virtual void detachView (View *view) = 0; /* * ----------------------------------- diff --git a/dw/selection.cc b/dw/selection.cc index 1552e80e..64a0b526 100644 --- a/dw/selection.cc +++ b/dw/selection.cc @@ -344,8 +344,8 @@ int SelectionState::correctCharPos (DeepIterator *it, int charPos) return misc::min(charPos, len); } -void SelectionState::highlight0 (bool fl, DeepIterator *from, int fromChar, - DeepIterator *to, int toChar, int dir) +void SelectionState::highlight0 (bool fl, DeepIterator *from, int fromChar, + DeepIterator *to, int toChar, int dir) { DeepIterator *a, *b, *i; int cmp, aChar, bChar; diff --git a/dw/style.cc b/dw/style.cc index 2a1d4088..c14f3123 100644 --- a/dw/style.cc +++ b/dw/style.cc @@ -173,8 +173,8 @@ int StyleAttrs::hashValue () { borderCollapse + (intptr_t) borderColor.top + (intptr_t) borderColor.right + - (intptr_t) borderColor.bottom + - (intptr_t) borderColor.left + + (intptr_t) borderColor.bottom + + (intptr_t) borderColor.left + borderStyle.top + borderStyle.right + borderStyle.bottom + |