pkgsrc/games/wormz/patches/patch-as
2011-12-05 22:47:13 +00:00

49 lines
1.2 KiB
Text

$NetBSD: patch-as,v 1.2 2011/12/05 22:47:14 joerg Exp $
--- XVision/View.cc.orig 1997-11-01 11:50:51.000000000 +0000
+++ XVision/View.cc
@@ -56,7 +56,7 @@ void View::Deselect()
Redraw();
}
-void View::SetEnabled(bool _Enabled=TRUE)
+void View::SetEnabled(bool _Enabled)
{
if (Enabled == _Enabled)
return;
@@ -214,7 +214,7 @@ void View::SetOrigin(const Point& newori
Area.Origin = neworigin;
}
-void View::SetSize(const Point& newsize, bool redraw=TRUE)
+void View::SetSize(const Point& newsize, bool redraw)
{
if (Area.Size == newsize)
return;
@@ -234,7 +234,7 @@ void View::SetSize(const Point& newsize,
Area.Size = newsize;
}
-void View::SetHidden(bool _hidden, bool rearrange=TRUE)
+void View::SetHidden(bool _hidden, bool rearrange)
{
if (_hidden == Hidden)
return;
@@ -317,7 +317,7 @@ bool SelectableView::HandleEvent(Event&
return TRUE;
}
-inline const int View::GetX() const
+const int View::GetX() const
{
int X = Area.Origin.X;
if (parent)
@@ -325,7 +325,7 @@ inline const int View::GetX() const
return X;
}
-inline const int View::GetY() const
+const int View::GetY() const
{
int Y = Area.Origin.Y;
if (parent)