As it turns out, window_info::type is really the window's "feel".
Basic support for the desktop window feel: WinBorder will now resize a window with kDesktopWindowFeel to span over the whole screen. Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13462 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright 2005, Jérôme Duval, [email protected].
|
||||
|
||||
* Copyright 2005, Jérôme Duval, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#ifndef _WINDOW_PRIVATE_H
|
||||
#define _WINDOW_PRIVATE_H
|
||||
|
||||
|
||||
#include <Window.h>
|
||||
|
||||
|
||||
/* Private window looks */
|
||||
|
||||
const window_look kDesktopWindowLook = window_look(4);
|
||||
@@ -18,6 +18,7 @@ const window_look kLeftTitledWindowLook = window_look(25);
|
||||
|
||||
const window_feel kDesktopWindowFeel = window_feel(1024);
|
||||
const window_feel kMenuWindowFeel = window_feel(1025);
|
||||
const window_feel kWindowScreenFeel = window_feel(1026);
|
||||
|
||||
/* Private window types */
|
||||
|
||||
@@ -28,5 +29,4 @@ const window_type kWindowScreenWindow = window_type(1026);
|
||||
const uint32 kWorkspacesWindowFlag = 0x8000;
|
||||
const uint32 kWindowScreenFlag = 0x10000;
|
||||
|
||||
#endif //_WINDOW_PRIVATE_H
|
||||
|
||||
#endif // _WINDOW_PRIVATE_H
|
||||
|
||||
Reference in New Issue
Block a user