Make rect data part of union as suggested by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43100 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -159,13 +159,14 @@ private:
|
||||
void* fPointer;
|
||||
char* fString;
|
||||
BReferenceable* fReferenceable;
|
||||
uint8 fBytes[8];
|
||||
struct {
|
||||
float left;
|
||||
float top;
|
||||
float right;
|
||||
float bottom;
|
||||
} fRect;
|
||||
uint8 fBytes[sizeof(float) * 4];
|
||||
};
|
||||
|
||||
float fLeft;
|
||||
float fTop;
|
||||
float fRight;
|
||||
float fBottom;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user