aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/surface.cpp
diff options
context:
space:
mode:
authorRobert Špalek2009-10-30 06:11:04 +0000
committerRobert Špalek2009-10-30 06:11:04 +0000
commit6411125f39c5b02bec5dc4c38e26916a3b7a0304 (patch)
treebefb238c768dee14c917cc44734bf5c8eb4d3191 /engines/draci/surface.cpp
parent839a7d5db64af758190cdc3dd5ad23613df6c6d7 (diff)
downloadscummvm-rg350-6411125f39c5b02bec5dc4c38e26916a3b7a0304.tar.gz
scummvm-rg350-6411125f39c5b02bec5dc4c38e26916a3b7a0304.tar.bz2
scummvm-rg350-6411125f39c5b02bec5dc4c38e26916a3b7a0304.zip
Moved all one-line getters/setters to the header files
svn-id: r45524
Diffstat (limited to 'engines/draci/surface.cpp')
-rw-r--r--engines/draci/surface.cpp44
1 files changed, 0 insertions, 44 deletions
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
@@ -65,14 +65,6 @@ void Surface::markDirtyRect(Common::Rect r) {
}
/**
- * @brief Clears all dirty rectangles
- *
- */
-void Surface::clearDirtyRects() {
- _dirtyRects.clear();
-}
-
-/**
* @brief Marks the whole surface dirty
*/
void Surface::markDirty() {
@@ -88,35 +80,6 @@ void Surface::markClean() {
}
/**
- * @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<Common::Rect> *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
*/
void Surface::fill(uint 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