From 6411125f39c5b02bec5dc4c38e26916a3b7a0304 Mon Sep 17 00:00:00 2001 From: Robert Špalek Date: Fri, 30 Oct 2009 06:11:04 +0000 Subject: Moved all one-line getters/setters to the header files svn-id: r45524 --- engines/draci/surface.cpp | 44 -------------------------------------------- 1 file changed, 44 deletions(-) (limited to 'engines/draci/surface.cpp') diff --git a/engines/draci/surface.cpp b/engines/draci/surface.cpp index 1832aa6b02..1c7ecfb23b 100644 --- a/engines/draci/surface.cpp +++ b/engines/draci/surface.cpp @@ -64,14 +64,6 @@ void Surface::markDirtyRect(Common::Rect r) { _dirtyRects.push_back(r); } -/** - * @brief Clears all dirty rectangles - * - */ -void Surface::clearDirtyRects() { - _dirtyRects.clear(); -} - /** * @brief Marks the whole surface dirty */ @@ -87,35 +79,6 @@ void Surface::markClean() { _dirtyRects.clear(); } -/** - * @brief Checks whether the surface needs a full update - */ -bool Surface::needsFullUpdate() const { - return _fullUpdate; -} - -/** - * @brief Fetches the surface's dirty rectangles - * @return A pointer a list of dirty rectangles - */ -const Common::List *Surface::getDirtyRects() const { - return &_dirtyRects; -} - -/** - * @brief Returns the current transparent colour of the surface - */ -uint Surface::getTransparentColour() const { - return _transparentColour; -} - -/** - * @brief Sets the surface's transparent colour - */ -void Surface::setTransparentColour(uint colour) { - _transparentColour = colour; -} - /** * @brief Fills the surface with the specified colour */ @@ -165,11 +128,4 @@ uint Surface::putAboveY(int y, int height) const { return newY; } -/** - * @brief Returns a Common::Rect corresponding to the surface. - */ -Common::Rect Surface::getDimensions() const { - return Common::Rect(w, h); -} - } // End of namespace Draci -- cgit v1.2.3