Ticket #6358: window_creation_test.patch
File window_creation_test.patch, 1.1 KB (added by , 14 years ago) |
---|
-
src/tests/servers/app/window_creation/main.cpp
2 2 #include <Box.h> 3 3 #include <OS.h> 4 4 #include <Screen.h> 5 #include <String.h> 5 6 #include <Window.h> 6 7 7 8 #include <stdio.h> … … 76 77 uint32 numVertical = (fScreenFrame.IntegerHeight() + 1) / (frame.IntegerHeight() + 1); 77 78 sNumFrames = numHorizontal * numVertical; 78 79 sFrames = new BRect[sNumFrames]; 79 for ( int32 i = 0; i < sNumFrames; i++) {80 for (uint32 i = 0; i < sNumFrames; i++) { 80 81 sFrames[i] = frame; 81 82 frame.OffsetBy(50, 0); 82 83 if (!fScreenFrame.Contains(frame)) -
src/tests/servers/app/window_creation/Jamfile
8 8 9 9 Application WindowCreation : 10 10 main.cpp 11 : be11 : $(TARGET_LIBSTDC++) be 12 12 ; 13 13