s/OpenBeOS/Haiku/

Style fixes for ServerBitmap and ServerCursor
Assignment operator for GraphicsBuffer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9018 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2004-09-20 22:46:37 +00:00
parent fa84ff9eb1
commit 66133bb5d9
21 changed files with 115 additions and 76 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
//------------------------------------------------------------------------------
// Copyright (c) 2001-2002, OpenBeOS
// Copyright (c) 2001-2002, Haiku, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
@@ -47,6 +47,9 @@ public:
IPoint &operator=(const IPoint &p);
IPoint &operator=(const BPoint &p);
BPoint AsBPoint(void);
void Set(int32 X, int32 Y);
void ConstrainTo(BRect r);
@@ -112,5 +115,9 @@ inline void IPoint::Set(int32 X, int32 Y)
y = Y;
}
//------------------------------------------------------------------------------
inline BPoint IPoint::AsBPoint(void)
{
return BPoint(x,y);
}
#endif