workspaces window flag is in WindowPrivate.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16477 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,6 +3,8 @@ SubDir HAIKU_TOP src apps workspaces ;
|
|||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
AddSubDirSupportedPlatforms libbe_test ;
|
AddSubDirSupportedPlatforms libbe_test ;
|
||||||
|
|
||||||
|
UsePrivateHeaders interface ;
|
||||||
|
|
||||||
Application Workspaces :
|
Application Workspaces :
|
||||||
Workspaces.cpp
|
Workspaces.cpp
|
||||||
: be
|
: be
|
||||||
|
|||||||
@@ -33,9 +33,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "WindowPrivate.h"
|
||||||
// here is the trick :)
|
|
||||||
static const uint32 kWorkspacesWindow = 0x00008000;
|
|
||||||
|
|
||||||
static const char *kWorkspacesSignature = "application/x-vnd.Be-WORK";
|
static const char *kWorkspacesSignature = "application/x-vnd.Be-WORK";
|
||||||
static const char *kWorkspacesSettingFile = "Workspace_data";
|
static const char *kWorkspacesSettingFile = "Workspace_data";
|
||||||
@@ -193,7 +191,7 @@ WorkspacesPreferences::SetWindowFrame(BRect frame)
|
|||||||
WorkspacesWindow::WorkspacesWindow(WorkspacesPreferences *preferences)
|
WorkspacesWindow::WorkspacesWindow(WorkspacesPreferences *preferences)
|
||||||
: BWindow(preferences->WindowFrame(), "Workspaces", B_TITLED_WINDOW_LOOK,
|
: BWindow(preferences->WindowFrame(), "Workspaces", B_TITLED_WINDOW_LOOK,
|
||||||
B_NORMAL_WINDOW_FEEL,
|
B_NORMAL_WINDOW_FEEL,
|
||||||
kWorkspacesWindow | B_AVOID_FRONT | B_WILL_ACCEPT_FIRST_CLICK,
|
kWorkspacesWindowFlag | B_AVOID_FRONT | B_WILL_ACCEPT_FIRST_CLICK,
|
||||||
B_ALL_WORKSPACES),
|
B_ALL_WORKSPACES),
|
||||||
fPreferences(preferences)
|
fPreferences(preferences)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user