replaced the NOTES files in each subfolder with a single NOTES file in the parent folder, and updates the NOTES to the current information
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14452 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
For the tests to run properly on BeOS, you need to prepare a few things.
|
||||||
|
|
||||||
|
1.) make sure your target is "r5" (if your target is "bone", you need to adjust the "run" scripts)
|
||||||
|
|
||||||
|
2.) build the Haiku registrar (from anywhere in the Haiku tree):
|
||||||
|
jam haiku_registrar
|
||||||
|
|
||||||
|
3.) build the Haiku app_server (from anywhere in the Haiku tree):
|
||||||
|
jam haiku_app_server
|
||||||
|
|
||||||
|
4.) make links to some Haiku libs in your ~/config/lib folder. The tests link to libopenbeos.so, haiku_app_server links to libhaikuappserver.so, libhwinterface.so, libhwinterfaceimpl.so, libpng.so and libfreetype.so. You will find these libs in the distro folder for your target after you build the haiku_app_server.
|
||||||
|
|
||||||
|
5.) build the test app you want to run
|
||||||
|
|
||||||
|
Each test app folder contains a script "run", which launches the Haiku app_server and a second later the test app which connects to it.
|
||||||
|
|
||||||
|
Have fun!
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
For the test to run properly on BeOS, you need to make links to some Haiku libs in your ~/config/lib folder. The test itself links to libopenbeos.so, app_server additionally links to libappserver.so, libz.so, libpng.so and libfreetype.so.
|
|
||||||
|
|
||||||
The script "run" launches the Haiku app_server and a second later the test app which connects to it.
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
For the test to run properly on BeOS, you need to make links to some Haiku libs in your ~/config/lib folder. The test itself links to libopenbeos.so, app_server additionally links to libappserver.so, libz.so, libpng.so and libfreetype.so.
|
|
||||||
|
|
||||||
The script "run" launches the Haiku app_server and a second later the test app which connects to it.
|
|
||||||
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
For the test to run properly on BeOS, you need to make links to some Haiku libs in your ~/config/lib folder. The test itself links to libopenbeos.so, app_server additionally links to libappserver.so, libz.so, libpng.so and libfreetype.so.
|
|
||||||
|
|
||||||
The script "run" launches the Haiku app_server and a second later the test app which connects to it.
|
|
||||||
@@ -90,7 +90,10 @@ void
|
|||||||
ObjectView::MouseDown(BPoint where)
|
ObjectView::MouseDown(BPoint where)
|
||||||
{
|
{
|
||||||
uint32 buttons;
|
uint32 buttons;
|
||||||
|
int32 clicks;
|
||||||
Window()->CurrentMessage()->FindInt32("buttons", (int32*)&buttons);
|
Window()->CurrentMessage()->FindInt32("buttons", (int32*)&buttons);
|
||||||
|
Window()->CurrentMessage()->FindInt32("clicks", &clicks);
|
||||||
|
printf("ObjectView::MouseDown() - clicks: %ld\n", clicks);
|
||||||
fScrolling = buttons & B_SECONDARY_MOUSE_BUTTON;
|
fScrolling = buttons & B_SECONDARY_MOUSE_BUTTON;
|
||||||
|
|
||||||
SetMouseEventMask(B_POINTER_EVENTS, B_LOCK_WINDOW_FOCUS);
|
SetMouseEventMask(B_POINTER_EVENTS, B_LOCK_WINDOW_FOCUS);
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ enum {
|
|||||||
// constructor
|
// constructor
|
||||||
ObjectWindow::ObjectWindow(BRect frame, const char* name)
|
ObjectWindow::ObjectWindow(BRect frame, const char* name)
|
||||||
: BWindow(frame, name, B_DOCUMENT_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
|
: BWindow(frame, name, B_DOCUMENT_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
|
||||||
B_ASYNCHRONOUS_CONTROLS)
|
B_ASYNCHRONOUS_CONTROLS | B_NOT_ZOOMABLE)
|
||||||
// : BWindow(frame, name, B_DOCUMENT_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
|
// : BWindow(frame, name, B_DOCUMENT_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
|
||||||
// B_ASYNCHRONOUS_CONTROLS)
|
// B_ASYNCHRONOUS_CONTROLS)
|
||||||
// : BWindow(frame, name, B_FLOATING_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
|
// : BWindow(frame, name, B_FLOATING_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
For the test to run properly on BeOS, you need to make links to some Haiku libs in your ~/config/lib folder. The test itself links to libopenbeos.so, app_server additionally links to libappserver.so, libz.so, libpng.so and libfreetype.so.
|
|
||||||
|
|
||||||
The script "run" launches the Haiku app_server and a second later the test app which connects to it.
|
|
||||||
@@ -6,7 +6,7 @@ UseHeaders [ FDirName os interface ] ;
|
|||||||
SimpleTest TextView :
|
SimpleTest TextView :
|
||||||
main.cpp
|
main.cpp
|
||||||
# for running in the Haiku app_server under R5:
|
# for running in the Haiku app_server under R5:
|
||||||
: <boot!home!config!lib>libopenbeos.so ;
|
# : <boot!home!config!lib>libopenbeos.so ;
|
||||||
# for running natively under R5 or Haiku:
|
# for running natively under R5 or Haiku:
|
||||||
# : libbe.so ;
|
: libbe.so ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user