/haiku/src/tests/servers/app/view_transit/ |
H A D | ViewTransit.cpp | 122 BRect frame = window->Bounds(); local 123 frame.right /= 2; 124 window->AddChild(new View(frame, "L ", B_FOLLOW_ALL, 255, 0, 0)); 125 frame.left = frame.right + 1; 126 frame.right = window->Bounds().right; 127 View* view = new View(frame, "R", B_FOLLOW_TOP_BOTTOM | B_FOLLOW_RIGHT,
|
/haiku/src/apps/sudoku/ |
H A D | ProgressWindow.cpp | 74 BRect frame; local 76 frame = referenceWindow->Frame(); 78 frame = BScreen().Frame(); 80 MoveTo(frame.left + (frame.Width() - Bounds().Width()) / 2, 81 frame.top + (frame.Height() - Bounds().Height()) / 2);
|
/haiku/src/apps/activitymonitor/ |
H A D | SettingsWindow.cpp | 154 BRect frame = window->Frame(); local 155 return BRect(frame.right - 150, frame.top + frame.Height() / 4, 156 frame.right + 200, frame.top + frame.Height() / 4 + 50);
|
/haiku/src/tests/kits/opengl/direct_mode/ |
H A D | GLDirectMode.cpp | 17 SampleGLView(BRect frame, uint32 type); 40 SampleGLWindow(BRect frame, uint32 type); 74 SampleGLWindow::SampleGLWindow(BRect frame, uint32 type) argument 75 : BDirectWindow(frame, "GLDirectMode", B_TITLED_WINDOW, 0) 121 SampleGLView::SampleGLView(BRect frame, uint32 type) argument 122 : BGLView(frame, "SampleGLView", B_FOLLOW_ALL_SIDES, 0, type), rotate(0) 124 width = frame.right-frame.left; 125 height = frame.bottom-frame [all...] |
/haiku/src/apps/webpositive/tabview/ |
H A D | TabManager.cpp | 88 virtual void DrawSymbol(BRect frame, const BRect& updateRect, argument 102 virtual void DrawSymbol(BRect frame, const BRect& updateRect, argument 106 be_control_look->DrawArrowShape(this, frame, updateRect, 119 virtual void DrawSymbol(BRect frame, const BRect& updateRect, argument 122 frame.OffsetBy(1, 0); 124 be_control_look->DrawArrowShape(this, frame, updateRect, 143 virtual void DrawSymbol(BRect frame, const BRect& updateRect, argument 148 frame.InsetBy(2, 2); 149 frame.top++; 150 frame 172 DrawSymbol(BRect frame, const BRect& updateRect, const rgb_color& base) argument 497 DrawContents(BView* owner, BRect frame, const BRect& updateRect) argument 614 _DrawCloseButton(BView* owner, BRect& frame, const BRect& updateRect) argument [all...] |
/haiku/src/add-ons/input_server/methods/pen/ |
H A D | PenInputInkWindow.cpp | 27 PenInputInkView(BRect frame, PenInputInkWindow *window); 34 PenInputInkView::PenInputInkView(BRect frame, PenInputInkWindow *window) argument 35 : BView(frame, "PenInkView", B_FOLLOW_ALL, B_WILL_DRAW), 56 PenInputInkWindow::PenInputInkWindow(BRect frame) argument 57 : BWindow(frame, "PenInputInkWindow",
|
/haiku/src/apps/clock/ |
H A D | cl_wind.cpp | 20 TClockWindow::TClockWindow(BRect frame, const char* title) argument 21 : BWindow(frame, title, B_TITLED_WINDOW, 86 BRect frame = Frame(); local 87 frame.InsetBy(-4, -4); 90 if (!frame.Intersects(BScreen(this).Frame()))
|
/haiku/src/tests/servers/app/bitmap_bounds/ |
H A D | main.cpp | 13 TestView(BRect frame, const char* name, 28 TestView::TestView(BRect frame, const char* name, argument 30 : BView(frame, name, resizeFlags, flags), 108 BRect frame(50.0, 50.0, 300.0, 250.0); 109 BWindow* window = new BWindow(frame, "Bitmap Bounds", B_TITLED_WINDOW,
|
/haiku/src/tests/servers/app/lagging_get_mouse/ |
H A D | main.cpp | 12 TestView(BRect frame, const char* name, 23 TestView::TestView(BRect frame, const char* name, argument 25 : BView(frame, name, resizeFlags, flags), 78 BRect frame(50.0, 50.0, 300.0, 250.0); 79 BWindow* window = new BWindow(frame, "Bitmap Bounds", B_TITLED_WINDOW,
|
/haiku/src/apps/bootmanager/ |
H A D | WizardPageView.cpp | 18 WizardPageView::WizardPageView(BMessage* settings, BRect frame, argument 21 BView(frame, name, resizingMode, flags), 49 WizardPageView::CreateDescription(BRect frame, const char* name, argument 52 BTextView* view = new BTextView(frame, "text", 53 frame.OffsetToCopy(0, 0),
|
H A D | UninstallPage.cpp | 26 UninstallPage::UninstallPage(BMessage* settings, BRect frame, const char* name) argument 28 WizardPageView(settings, frame, name, B_FOLLOW_ALL,
|
H A D | WizardPageView.h | 20 WizardPageView(BMessage* settings, BRect frame, 30 virtual BTextView* CreateDescription(BRect frame, const char* name,
|
/haiku/src/apps/diskusage/ |
H A D | App.cpp | 77 BRect frame; local 86 || settings.FindRect("window frame", &frame) != B_OK) { 87 // use default window frame 88 frame.Set(0, 0, kDefaultPieSize, kDefaultPieSize); 89 frame.OffsetTo(50, 50); 92 fMainWindow = new MainWindow(frame); 112 if (settings.AddRect("window frame", fMainWindow->Frame()) != B_OK
|
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_debug.cpp | 391 kprintf("frame caller <image>:function + offset\n"); 394 // see if the frame pointer matches the iframe 395 struct iframe *frame = NULL; local 399 frame = frameStack->frames[i]; 404 if (frame) { 405 kprintf("iframe at %p\n", frame); 407 frame->r0, frame->r1, frame->r2, frame [all...] |
/haiku/src/tests/servers/app/drawing_debugger/ |
H A D | DrawingDebugger.cpp | 35 DrawingDebuggerView(BRect frame); 52 DrawingDebuggerWindow(BRect frame); 87 DrawingDebuggerWindow::DrawingDebuggerWindow(BRect frame) argument 88 : BWindow(frame, "DrawingDebugger", B_TITLED_WINDOW, 91 fView = new DrawingDebuggerView(frame.OffsetToSelf(0, 0)); 96 DrawingDebuggerView::DrawingDebuggerView(BRect frame) argument 97 : BView(frame, "DrawingDebuggerView", B_FOLLOW_ALL, B_WILL_DRAW) 99 fBitmap = new BBitmap(frame, B_RGB32, true); 100 fOffscreenView= new BView(frame, "OffscreenView", B_FOLLOW_NONE, 0);
|
/haiku/src/kits/debugger/arch/ |
H A D | Architecture.cpp | 155 // of the next frame, we let the architecture fix that. 162 // create the frame using the debug info 163 StackFrame* frame = NULL; local 169 ? returnValueInfos : NULL, frame, 175 // If we have no frame yet, let the architecture create it. 176 if (frame == NULL) { 178 cpuState, nextFrame == NULL, frame, previousCpuState); 185 frame->SetImage(image); 186 frame->SetFunction(function); 188 if (!stackTrace->AddFrame(frame)) { [all...] |
/haiku/src/tests/kits/interface/ |
H A D | ScrollViewTest.cpp | 39 BRect frame = rect.InsetByCopy(20, 20); local 57 BView *view = new BView(frame, "main view", B_FOLLOW_ALL, B_WILL_DRAW); 59 BView *inner = new BView(frame.OffsetToCopy(B_ORIGIN).InsetBySelf(3, 3), 132 BRect frame = Bounds(); local 136 frame.bottom -= B_H_SCROLL_BAR_HEIGHT; 140 frame.right -= B_V_SCROLL_BAR_WIDTH; 143 BView *view = new BView(frame, "main view", B_FOLLOW_ALL, B_WILL_DRAW); 149 BView *outer = new BView(frame, "main view", B_FOLLOW_ALL, B_WILL_DRAW); 151 BView *inner = new BView(frame.OffsetToCopy(B_ORIGIN).InsetBySelf(3, 3),
|
/haiku/src/preferences/input/ |
H A D | InputDeviceView.cpp | 64 void Render(BView* onto, BRect frame, bool complete = false) argument 72 onto->FillRect(frame, B_SOLID_LOW); 75 BPoint point(frame.left + 4.0f, 76 frame.top + (frame.Height() - InputIcons::sBounds.Height()) / 2.0f); 94 frame.top + fontInfo.ascent 95 + (frame.Height() - ceilf(fontInfo.ascent + fontInfo.descent)) 137 DeviceListItemView::DrawItem(BView* owner, BRect frame, bool complete) argument 143 renderer.Render(owner, frame, complete);
|
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixUSBKit/ |
H A D | FinePix.cpp | 117 int FinePix::GetPic(uint8 *frame, int &total_size) argument 122 /* Request a frame */ 123 fprintf(stderr,"request a frame\n"); 140 /* Read the frame */ 146 fprintf(stderr,"reading part of the frame\n"); 148 ret = bulk_in->BulkTransfer(&frame[offset], MAX_BUFFER_SIZE); 150 fprintf(stderr,"frame: %x, %x, %x, %x, %x, %x, %x, %x, %x, %x, %x, %x\n", 151 frame[offset+0], frame[offset+1],frame[offse [all...] |
/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTest.cpp | 40 OffscreenBitmap(BRect frame, color_space colorSpace); 56 OffscreenBitmap::OffscreenBitmap(BRect frame, color_space colorSpace) argument 57 : fFrame(frame) 63 BBitmap *bitmap = new BBitmap(frame, fColorSpace, true); 68 BView *view = new BView(frame, "offscreen", B_FOLLOW_ALL, B_WILL_DRAW); 185 PictureTest::Test(draw_func* func, BRect frame) argument 189 fDirectBitmap = CreateBitmap(func, frame); 192 BPicture *picture = RecordPicture(func, frame); 200 fBitmapFromPicture = CreateBitmap(picture, frame); 203 fBitmapFromRestoredPicture = CreateBitmap(archivedPicture, frame); 224 CreateBitmap(draw_func* func, BRect frame) argument 233 RecordPicture(draw_func* func, BRect frame) argument 249 CreateBitmap(BPicture *picture, BRect frame) argument [all...] |
/haiku/src/kits/interface/ |
H A D | AbstractLayout.cpp | 18 const char* const kFrameField = "BAbstractLayout:frame"; 50 virtual void SetFrame(const BRect& frame) = 0; 72 frame(-1, -1, 0, 0), 119 return frame; 122 void SetFrame(const BRect& frame) argument 124 if (frame == this->frame) 126 this->frame = frame; 149 err = archive->AddRect(kFrameField, frame); 177 BRect frame; member in struct:BAbstractLayout::DataProxy 235 SetFrame(const BRect& frame) argument 387 SetFrame(BRect frame) argument [all...] |
/haiku/src/apps/launchbox/ |
H A D | MainWindow.cpp | 33 MainWindow::MainWindow(const char* name, BRect frame, bool addDefaultButtons) argument 35 BWindow(frame, name, B_TITLED_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL, 59 MainWindow::MainWindow(const char* name, BRect frame, BMessage* settings) argument 61 BWindow(frame, name, 219 if (message->FindRect("frame", &namePanelFrame) == B_OK) { 329 MainWindow::ScreenChanged(BRect frame, color_space format) argument 395 // restore window frame 396 BRect frame; local 397 if (message->FindRect("window frame", &frame) 540 BRect frame = Frame(); local 565 _AdjustLocation(BRect frame) argument [all...] |
/haiku/src/tests/servers/app/scrolling/ |
H A D | main.cpp | 18 TestView(BRect frame, const char* name, argument 20 : BView(frame, name, resizeFlags, flags), 110 show_window(BRect frame, const char* name) argument 112 BWindow* window = new BWindow(frame, name, 135 BRect frame(50.0, 50.0, 300.0, 250.0); 136 show_window(frame, "Scrolling Test");
|
/haiku/src/preferences/repositories/ |
H A D | RepositoriesSettings.cpp | 33 BRect frame; local 34 status_t status = settings.FindRect(key_frame, &frame); 37 frame.Set(-10, -10, 750, 300); 38 return frame; 43 RepositoriesSettings::SetFrame(BRect frame) argument 47 settings.AddRect(key_frame, frame);
|
/haiku/src/apps/cortex/ValControl/ |
H A D | ValControl.cpp | 60 ValControl::ValControl(BRect frame, const char* name, const char* label, argument 63 : BControl(frame, name, label, message, B_FOLLOW_TOP|B_FOLLOW_LEFT, 77 _AllocBackBuffer(frame.Width(), frame.Height()); 210 PRINT(("\n cached frame (%.1f,%.1f)-(%.1f,%.1f) + pad(%.1f)\n", 211 e.frame.left, e.frame.top, e.frame.right, e.frame.bottom, 217 PRINT((" real frame ( [all...] |