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:
@@ -5,6 +5,7 @@ AddSubDirSupportedPlatforms libbe_test ;
|
|||||||
|
|
||||||
UseHeaders [ FDirName os app ] ;
|
UseHeaders [ FDirName os app ] ;
|
||||||
UseHeaders [ FDirName os interface ] ;
|
UseHeaders [ FDirName os interface ] ;
|
||||||
|
UsePrivateHeaders interface ;
|
||||||
|
|
||||||
Application LookAndFeel :
|
Application LookAndFeel :
|
||||||
LookAndFeel.cpp
|
LookAndFeel.cpp
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
#include <String.h>
|
#include <String.h>
|
||||||
#include <Window.h>
|
#include <Window.h>
|
||||||
|
|
||||||
|
#include <WindowPrivate.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.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[] = {
|
const struct { const char* name; int32 look; } looks[] = {
|
||||||
{"Titled", B_TITLED_WINDOW_LOOK}, {"Document", B_DOCUMENT_WINDOW_LOOK},
|
{"Titled", B_TITLED_WINDOW_LOOK}, {"Document", B_DOCUMENT_WINDOW_LOOK},
|
||||||
{"Floating", B_FLOATING_WINDOW_LOOK}, {"Modal", B_MODAL_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++) {
|
for (uint32 i = 0; i < sizeof(looks) / sizeof(looks[0]); i++) {
|
||||||
BMessage* message = new BMessage(kMsgUpdateLook);
|
BMessage* message = new BMessage(kMsgUpdateLook);
|
||||||
|
|||||||
Reference in New Issue
Block a user