Added private "Left Titled" and "Desktop" looks to test.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16673 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-03-09 12:53:21 +00:00
parent 083ec97572
commit 539d69fc6b
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,7 @@ AddSubDirSupportedPlatforms libbe_test ;
UseHeaders [ FDirName os app ] ;
UseHeaders [ FDirName os interface ] ;
UsePrivateHeaders interface ;
Application LookAndFeel :
LookAndFeel.cpp

View File

@ -16,6 +16,8 @@
#include <String.h>
#include <Window.h>
#include <WindowPrivate.h>
#include <stdio.h>
#include <string.h>
@ -66,7 +68,8 @@ Window::Window(BRect frame, window_look look, window_feel feel)
const struct { const char* name; int32 look; } looks[] = {
{"Titled", B_TITLED_WINDOW_LOOK}, {"Document", B_DOCUMENT_WINDOW_LOOK},
{"Floating", B_FLOATING_WINDOW_LOOK}, {"Modal", B_MODAL_WINDOW_LOOK},
{"Bordered", B_BORDERED_WINDOW_LOOK}, {"No Border", B_NO_BORDER_WINDOW_LOOK}
{"Bordered", B_BORDERED_WINDOW_LOOK}, {"No Border", B_NO_BORDER_WINDOW_LOOK},
{"Left Titled", kLeftTitledWindowLook}, {"Desktop", kDesktopWindowLook}
};
for (uint32 i = 0; i < sizeof(looks) / sizeof(looks[0]); i++) {
BMessage* message = new BMessage(kMsgUpdateLook);