haiku/headers/private/interface/WindowPrivate.h
Axel Dörfler 931cd377aa * Added a new flag kAcceptKeyboardFocusFlag that allows B_AVOID_FOCUS windows
to still receive keyboard events. This is now used for menu windows (before,
  the menu feel alone would trigger that behaviour).
* This also fixes bug #4691, as tool tip windows use the menu feel as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 16:26:32 +00:00

35 lines
888 B
C

/*
* Copyright 2005-2008, Jérôme Duval, jerome.duval@free.fr.
* 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);
const window_look kLeftTitledWindowLook = window_look(25);
/* Private window feels */
const window_feel kDesktopWindowFeel = window_feel(1024);
const window_feel kMenuWindowFeel = window_feel(1025);
const window_feel kWindowScreenFeel = window_feel(1026);
const window_feel kPasswordWindowFeel = window_feel(1027);
/* Private window types */
const window_type kWindowScreenWindow = window_type(1026);
/* Private window flags */
const uint32 kWindowScreenFlag = 0x10000;
const uint32 kAcceptKeyboardFocusFlag = 0x40000;
// Accept keyboard input even if B_AVOID_FOCUS is set
#endif // _WINDOW_PRIVATE_H