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