Searched refs:frame (Results 26 - 50 of 959) sorted by relevance

1234567891011>>

/haiku/src/apps/deskcalc/
H A DCalcWindow.cpp33 CalcWindow::CalcWindow(BRect frame, BMessage* settings) argument
35 BWindow(frame, kAppName, B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS
47 frame.OffsetTo(B_ORIGIN);
51 BRect replicantFrame(frame);
62 if (settings->FindRect("window frame", &rect) == B_OK)
65 SetFrame(frame, true);
148 status_t ret = archive->AddRect("window frame", Frame());
157 CalcWindow::SetFrame(BRect frame, bool forceCenter) argument
159 // make sure window frame is on screen (center, if not)
162 if (forceCenter || !screenFrame.Contains(frame)) {
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DPopupControl.cpp83 BRect frame(fPopupWindow->Frame());
97 frame.OffsetTo(leftLocation);
101 if (frame.Width() > dest.Width())
102 frame.right = frame.left + dest.Width();
103 if (frame.Height() > dest.Height())
104 frame.bottom = frame.top + dest.Height();
108 if (frame.bottom > dest.bottom)
109 vOffset = dest.bottom - frame
[all...]
/haiku/src/apps/terminal/
H A DTermScrollView.cpp20 TermScrollBar(BRect frame, const char *name, BView *target, argument
23 BScrollBar(frame, name, target, min, max, direction)
44 BRect frame(fVerticalScrollBar->Frame());
51 frame.top--;
53 TermScrollBar* scrollBar = new TermScrollBar(frame, "_VSB_", target, 0,
/haiku/src/tests/servers/app/pulsed_drawing/
H A Dmain.cpp11 PulsedView(BRect frame) argument
13 BView(frame, "pulsed view", B_FOLLOW_ALL, B_WILL_DRAW)
31 BRect frame(100, 100, 400, 300);
32 BWindow* window = new BWindow(frame, "Pulsed Drawing",
35 fView = new PulsedView(frame.OffsetToCopy(0, 0));
/haiku/src/apps/processcontroller/
H A DThreadBarMenuItem.cpp57 BRect frame = Frame(); local
60 frame.right -= 24;
61 frame.left = frame.right - kBarWidth;
62 frame.top += kBarPadding;
63 frame.bottom -= kBarPadding;
75 menu->StrokeRect(frame);
78 frame.InsetBy(1, 1);
79 BRect r = frame;
80 float grenze1 = frame
[all...]
/haiku/src/servers/app/decorator/
H A DMagneticBorder.cpp30 BRect frame = window->Frame(); local
33 frame = decorator->GetFootprint().Frame();
35 return AlterDeltaForSnap(window->Screen(), frame, delta, now);
40 MagneticBorder::AlterDeltaForSnap(const Screen* screen, BRect& frame, argument
44 // window) so that the frame of the window 'snaps' to the edges of the
59 BRect originalFrame = frame;
60 frame.OffsetBy(delta);
62 float leftDist = fabs(frame.left - screenFrame.left);
63 float topDist = fabs(frame.top - screenFrame.top);
64 float rightDist = fabs(frame
[all...]
/haiku/src/system/boot/platform/bios_ia32/
H A Dinterrupts.cpp120 handle_exception(interrupt_frame frame) argument
141 if (frame.vector < DEBUG_IDT_SLOT_COUNT)
142 kprintf("%s", kInterruptNames[frame.vector]);
144 kprintf("Unknown exception %" B_PRIu32, frame.vector);
147 if (frame.vector == 14) {
151 (frame.error_code & 0x2) != 0 ? "write" : "read", cr2);
163 frame.eax, frame.ebx, frame.ecx, frame
[all...]
/haiku/src/apps/cortex/ValControl/
H A DValCtrlLayoutEntry.h74 // standard: yes, the frame is left invalid; that's for
102 frame = clone.frame;
109 return frame.left < b.frame.left ||
110 frame.top < b.frame.top;
114 // move & size ref'd child view to match 'frame'
124 BRect frame; member in class:ValCtrlLayoutEntry
/haiku/src/tests/servers/app/scrollbar/
H A Dmain.cpp10 View(BRect frame) argument
11 : BView(frame, "target view", B_FOLLOW_ALL,
62 BRect frame(50, 50, 350, 350);
63 BWindow* window = new BWindow(frame, "BScrollBar Test",
67 frame = window->Bounds();
68 frame.right -= B_V_SCROLL_BAR_WIDTH;
69 View* view = new View(frame);
/haiku/src/tests/servers/app/find_view/
H A DFindView.cpp59 BRect frame = window->Bounds(); local
60 View* testView = new TestView(frame, "Test View", B_FOLLOW_ALL, 255, 0, 0);
64 frame.InsetBy(20, 20);
65 frame.right /= 2;
66 View* view1 = new View(frame, "View 1",
71 frame.left = frame.right + 1;
72 frame.right = window->Bounds().right - 20;
73 View* view2 = new View(frame, "View 2",
/haiku/src/kits/interface/
H A DLayoutUtils.cpp162 BLayoutUtils::AlignInFrame(BRect frame, BSize maxSize, BAlignment alignment) argument
165 if (maxSize.width < frame.Width()
167 frame.left += (int)((frame.Width() - maxSize.width)
169 frame.right = frame.left + maxSize.width;
171 if (maxSize.height < frame.Height()
173 frame.top += (int)((frame.Height() - maxSize.height)
175 frame
184 AlignInFrame(BView* view, BRect frame) argument
290 BRect frame = view->Frame(); local
337 BRect frame = item->Frame(); local
[all...]
/haiku/src/tests/servers/app/statusbar/
H A Dmain.cpp18 Window(BRect frame) argument
19 : BWindow(frame, "BStatusBar Test", B_TITLED_WINDOW_LOOK,
25 frame = Bounds();
26 BView* background = new BView(frame, "bg", B_FOLLOW_ALL, 0);
30 frame = background->Bounds();
31 frame.InsetBy(10, 10);
32 fStatusBar = new BStatusBar(frame, "status", "Label: ", "-Trailing");
89 BRect frame(50, 50, 350, 350);
90 Window* window = new Window(frame);
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixUSBKitTest/
H A DFinePixTest.cpp9 uint8 *frame = new uint8[100000]; // Max frame size 100k local
20 // Get a frame
21 test->GetPic(frame, total_size);
22 // Save the frame
23 //fprintf(stderr,"This frame was %d bytes\n", total_size);
25 sprintf(fname, "frame-%05d.jpg", i);
27 write(fd, frame, total_size);
31 /* Wait before requesting next frame,
/haiku/src/apps/icon-o-matic/generic/gui/
H A DGroup.h16 Group(BRect frame,
31 void _LayoutControls(BRect frame) const;
34 BRect frame,
/haiku/src/tests/servers/app/benchmark/
H A DBenchmark.cpp59 BRect frame = screen.Frame(); local
60 frame.left = (frame.left + frame.right - width) / 2;
61 frame.top = (frame.top + frame.bottom - width) / 2;
62 frame.right = frame.left + width - 1;
63 frame
[all...]
/haiku/headers/private/net/
H A Dr5_compatibility.h61 stack_frame* frame = (stack_frame*)get_stack_frame();
62 if (frame->return_address >= __gNetworkStart
63 && frame->return_address < __gNetworkEnd) {
/haiku/src/apps/deskbar/
H A DBarMenuTitle.cpp88 BRect frame(Frame());
94 if (frame.right > windowBounds.right)
95 frame.right = windowBounds.right;
99 be_control_look->DrawMenuItemBackground(menu, frame, frame, base,
102 be_control_look->DrawButtonBackground(menu, frame, frame, base);
118 BRect frame(Frame());
122 iconRect.OffsetTo(frame.LeftTop());
124 float widthOffset = rintf((frame
[all...]
/haiku/src/add-ons/network_settings/dialup/
H A DDialUpApplication.cpp26 DialUpWindow(BRect frame);
55 DialUpWindow::DialUpWindow(BRect frame) argument
56 : BWindow(frame, "DialUp", B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE)
/haiku/src/system/libroot/os/arch/generic/
H A Dgeneric_stack_trace.cpp38 stack_frame* frame = (stack_frame*)basePointer; local
41 returnAddresses[count++] = frame->return_address;
45 basePointer = frame->previous;
/haiku/src/system/libroot/os/arch/ppc/
H A Dstack_trace.cpp36 stack_frame* frame = (stack_frame*)basePointer; local
39 returnAddresses[count++] = frame->return_address;
43 basePointer = frame->previous;
/haiku/src/system/kernel/arch/x86/
H A Darch_user_debugger.cpp77 get_iframe_registers(const iframe* frame, debug_cpu_state* cpuState) argument
80 cpuState->r15 = frame->r15;
81 cpuState->r14 = frame->r14;
82 cpuState->r13 = frame->r13;
83 cpuState->r12 = frame->r12;
84 cpuState->r11 = frame->r11;
85 cpuState->r10 = frame->r10;
86 cpuState->r9 = frame->r9;
87 cpuState->r8 = frame->r8;
88 cpuState->rbp = frame
118 set_iframe_registers(iframe* frame, const debug_cpu_state* cpuState) argument
146 get_iframe_registers(const iframe* frame, debug_cpu_state* cpuState) argument
171 set_iframe_registers(iframe* frame, const debug_cpu_state* cpuState) argument
200 get_cpu_state(Thread* thread, iframe* frame, debug_cpu_state* cpuState) argument
667 iframe* frame = x86_get_current_iframe(); local
768 get_cpu_state(thread_get_current_thread(), frame, cpuState); local
783 iframe* frame = x86_get_thread_user_iframe(thread); local
909 x86_init_user_debug_at_kernel_exit(iframe* frame) argument
971 x86_handle_debug_exception(iframe* frame) argument
1110 x86_handle_breakpoint_exception(iframe* frame) argument
[all...]
/haiku/src/servers/app/
H A DWorkspacesView.cpp26 WorkspacesView::WorkspacesView(BRect frame, BPoint scrollingOffset, argument
29 View(frame, scrollingOffset, name, token, resizeMode, flags),
74 /*! \brief Returns the frame of the screen for the specified workspace.
83 /*! \brief Returns the frame of the specified workspace within the
92 BRect frame = Bounds(); local
93 LocalToScreenTransform().Apply(&frame);
95 int32 width = frame.IntegerWidth() / columns;
96 int32 height = frame.IntegerHeight() / rows;
104 rect.OffsetBy(frame.LeftTop());
108 rect.right = frame
144 BRect frame = windowFrame; local
176 BRect frame = _WindowFrame(workspaceFrame, screenFrame, window->Frame(), local
358 BRect frame = Bounds(); local
387 BRect frame = Bounds(); local
454 BRect frame = _WindowFrame(workspaceFrame, screenFrame, window->Frame(), local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationPanel.cpp23 AuthenticationPanel::AuthenticationPanel(BRect frame) argument
24 : Panel(frame, "Name Panel",
32 BRect controlFrame(0.0, 0.0, frame.Width(), 15.0);
126 BRect frame(fNameTC->Frame().LeftTop(), fOkB->Frame().RightBottom());
132 nameFrame.right = nameFrame.left + frame.Width();
133 passFrame.right = passFrame.left + frame.Width();
157 frame.InsetBy(-10.0, -10.0);
159 BBox* bg = new BBox(frame, "bg", B_FOLLOW_ALL,
170 frame.OffsetTo(-10000.0, -10000.0);
171 frame
222 _CalculateFrame(BRect frame) argument
[all...]
/haiku/src/add-ons/translators/pcx/
H A DConfigView.h14 ConfigView(const BRect &frame, uint32 resize = B_FOLLOW_ALL,
/haiku/src/add-ons/translators/rtf/
H A DConfigView.h14 ConfigView(const BRect &frame, uint32 resize = B_FOLLOW_ALL,

Completed in 209 milliseconds

1234567891011>>