Made BGLView by default freely resizable by layout manager. I'm not sure I didn't break binary compatibility, please review.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35806 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-03-10 23:03:03 +00:00
parent f2a68969a4
commit b19902ae4e
2 changed files with 13 additions and 0 deletions
+3
View File
@@ -79,6 +79,9 @@ virtual status_t GetSupportedSuites(BMessage *data);
void EnableDirectMode(bool enabled);
void* getGC() { return fGc; } // ???
virtual void GetPreferredSize(float* width, float* height);
private:
virtual void _ReservedGLView1();
+10
View File
@@ -302,6 +302,16 @@ BGLView::SetResizingMode(uint32 mode)
}
void
BGLView::GetPreferredSize(float* _width, float* _height)
{
if (_width)
*_width = 0;
if (_height)
*_height = 0;
}
void
BGLView::Show()
{