Skip to content

Commit

Permalink
TSAGE: Remove redundant semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed May 23, 2011
1 parent 0bca049 commit 808221a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions engines/tsage/graphics.h
Expand Up @@ -40,8 +40,8 @@ class Region;
*/
class Rect : public Common::Rect, public Serialisable {
public:
Rect() : Common::Rect() {};
Rect(int16 x1, int16 y1, int16 x2, int16 y2) : Common::Rect(x1, y1, x2, y2) {};
Rect() : Common::Rect() {}
Rect(int16 x1, int16 y1, int16 x2, int16 y2) : Common::Rect(x1, y1, x2, y2) {}

void set(int16 x1, int16 y1, int16 x2, int16 y2);
void collapse(int dx, int dy);
Expand All @@ -60,7 +60,7 @@ class GfxColors {
uint8 foreground;
uint8 background;

GfxColors() : foreground(0), background(0) {};
GfxColors() : foreground(0), background(0) {}
};

class LineSlice {
Expand Down Expand Up @@ -92,8 +92,8 @@ class GfxSurface {
Graphics::Surface lockSurface();
void unlockSurface();
void create(int width, int height);
void setBounds(const Rect &bounds) { _bounds = bounds; };
const Rect &getBounds() const { return _bounds; };
void setBounds(const Rect &bounds) { _bounds = bounds; }
const Rect &getBounds() const { return _bounds; }

void copyFrom(GfxSurface &src, Rect srcBounds, Rect destBounds, Region *priorityRegion = NULL);
void copyFrom(GfxSurface &src, Rect destBounds, Region *priorityRegion = NULL) {
Expand Down Expand Up @@ -187,8 +187,8 @@ class GfxElement {
virtual void setDefaults();
virtual void remove() { _owner = NULL; }
virtual void highlight();
virtual void draw() {};
virtual bool process(Event &event) { return false; };
virtual void draw() {}
virtual bool process(Event &event) { return false; }
virtual bool focusedEvent(Event &event);
};

Expand Down Expand Up @@ -229,7 +229,7 @@ class GfxButton : public GfxElement {
public:
Common::String _message;
public:
GfxButton() : GfxElement() {};
GfxButton() : GfxElement() {}
virtual ~GfxButton() {}

void setText(const Common::String &s) {
Expand Down Expand Up @@ -271,7 +271,7 @@ class GfxManager {
_surface.setBounds(_bounds);
return _surface.lockSurface();
}
void unlockSurface() { _surface.unlockSurface(); };
void unlockSurface() { _surface.unlockSurface(); }
void fillArea(int xp, int yp, int color);
void fillRect(const Rect &bounds, int color);
void fillRect2(int xs, int ys, int width, int height, int color);
Expand Down

0 comments on commit 808221a

Please sign in to comment.