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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user