The resize code now works correctly, finally - it temporarily did harm ;)

The BViews must be resized directly after every change in the window size - we
cannot wait until B_WINDOW_RESIZED, since subsequent calls have wrong view
sizes, then.
B_WINDOW_RESIZED is only really useful for app_server caused window resizing.
Added TODO to SetLook(): it may change the window size as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15385 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-12-06 23:15:48 +00:00
parent 817656943f
commit 715476b7ef
2 changed files with 32 additions and 6 deletions
+1
View File
@@ -285,6 +285,7 @@ private:
bool IsFilePanel() const;
void _CreateTopView();
void _AdoptResize();
void _SetFocus(BView *focusView, bool notifyIputServer = false);
Shortcut* _FindShortcut(uint32 key, uint32 modifiers);