Searched refs:top (Results 101 - 125 of 658) sorted by relevance

1234567891011>>

/haiku/src/add-ons/print/drivers/canon_lips/lips4/
H A DLips4.cpp123 rc.top = (int)bounds.top;
127 int height = rc.bottom - rc.top + 1;
146 rc.left, rc.top, rc.right, rc.bottom));
149 y += rc.top;
153 int height = rc.bottom - rc.top + 1;
168 + rc.top * delta
184 for (int i = rc.top; i <= rc.bottom; i++) {
/haiku/src/add-ons/print/drivers/canon_lips/lips3/
H A DLips3.cpp112 rc.top = (int)bounds.top;
116 int height = rc.bottom - rc.top + 1;
135 rc.left, rc.top, rc.right, rc.bottom));
138 y += rc.top;
143 int height = rc.bottom - rc.top + 1;
158 + rc.top * delta
174 for (int i = rc.top; i <= rc.bottom; i++) {
/haiku/src/add-ons/print/drivers/pcl5/
H A DPCL5.cpp99 rc.top = (int)bounds.top;
103 int height = rc.bottom - rc.top + 1;
122 rc.left, rc.top, rc.right, rc.bottom));
125 y += rc.top;
130 int height = rc.bottom - rc.top + 1;
144 + rc.top * delta
167 for (int i = rc.top; i <= rc.bottom; i++) {
242 // top maring and perforation skip
/haiku/src/tests/kits/game/direct_window_test/
H A DStarWindow.cpp325 (info->window_bounds.bottom-info->window_bounds.top+1);
335 cy = (info->window_bounds.bottom+info->window_bounds.top+1)/2;
341 clipping_bound.top = info->clip_bounds.top - cy;
350 clipping_list[i].top = info->clip_list[i].top - cy;
360 * info->window_bounds.top + info->window_bounds.left
386 deltay = cy_old - (cy - info->window_bounds.top);
398 (y < clipping_bound.top) || (y > clipping_bound.bottom))
405 (y >= r->top)
[all...]
/haiku/headers/libs/alm/
H A DArea.h61 void SetTop(BReference<YTab> top);
75 void GetInsets(float* left, float* top, float* right,
84 void SetInsets(float left, float top, float right,
87 void SetTopInset(float top);
107 XTab* left, YTab* top, XTab* right,
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DPopupControl.cpp104 frame.bottom = frame.top + dest.Height();
110 if (frame.top < dest.top)
111 vOffset = dest.top - frame.top;
H A DPopupSlider.cpp77 fSliderButtonRect.top = floorf(height / 2.0 - (sliderHeight + 2.0) / 2.0);
78 fSliderButtonRect.bottom = fSliderButtonRect.top + sliderHeight + 2.0;
81 fSliderButtonRect.top);
100 fSliderButtonRect.top);
120 fSliderButtonRect.top);
141 BPoint textPoint(0.0, (r.top + r.bottom) / 2.0 + fh.ascent / 2.0);
283 BPoint(frame.left, frame.top), lightShadow);
284 AddLine(BPoint(frame.left + 1.0, frame.top),
285 BPoint(frame.right, frame.top), lightShadow);
286 AddLine(BPoint(frame.right, frame.top
[all...]
/haiku/src/apps/switcher/
H A DPanelWindow.cpp108 from.y = screenFrame.top
130 from.y = screenFrame.top - Bounds().Height();
131 to.y = screenFrame.top;
163 frame.top = screenFrame.top;
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorPreview.cpp97 BRect r(bounds.left, bounds.top, bounds.right,
98 bounds.top + bounds.Height() / 2);
102 r.top = r.bottom + 1;
143 if (where.y > Bounds().top + (Bounds().IntegerHeight() >> 1))
170 rect.top = rect.bottom/2 + 1;
/haiku/src/apps/icon-o-matic/generic/gui/
H A DGroup.cpp86 r.top -= fSpacing;
88 r.bottom = r.top + child->Bounds().Height() + 2 * fSpacing;
90 r.top = r.bottom + 1.0 - fSpacing;
128 frame.top = (frame.top + frame.bottom) / 2.0 - view->Bounds().Height() / 2.0;
/haiku/src/add-ons/network_settings/dialup/
H A DTextRequestDialog.cpp41 rect.bottom = rect.top;
62 rect.top = rect.bottom + 5;
63 rect.bottom = rect.top + 20;
70 rect.top = rect.bottom + 10;
71 rect.bottom = rect.top + 25;
/haiku/src/tests/kits/interface/
H A DControlLookTest.cpp86 MovePenTo(r1.left + 5, r1.top + 15);
97 MovePenTo(r1.left + 5, r1.top + 15);
108 MovePenTo(r1.left + 5, r1.top + 15);
121 MovePenTo(r1.left + 5, r1.top + 15);
132 MovePenTo(r1.left + 5, r1.top + 15);
/haiku/src/system/libroot/posix/musl/math/
H A Dlog.c32 uint32_t top; local
36 top = top16(x);
63 if (predict_false(top - 0x0010 >= 0x7ff0 - 0x0010)) {
69 if ((top & 0x8000) || (top & 0x7ff0) == 0x7ff0)
H A Dlog2.c32 uint32_t top; local
36 top = top16(x);
66 if (predict_false(top - 0x0010 >= 0x7ff0 - 0x0010)) {
72 if ((top & 0x8000) || (top & 0x7ff0) == 0x7ff0)
/haiku/src/preferences/bluetooth/
H A DDeviceListItem.cpp92 fClass.Draw(owner, BPoint(itemRect.left, itemRect.top));
102 itemRect.top + INSETS, itemRect.left + INSETS + PIXELS_FOR_ICON,
103 itemRect.top + INSETS + PIXELS_FOR_ICON));
112 itemRect.top + INSETS, itemRect.left + INSETS + PIXELS_FOR_ICON,
113 itemRect.top + INSETS + PIXELS_FOR_ICON));
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.cpp102 rect.left, rect.top, rect.right, rect.bottom));
179 _colors[1] = tint_color(fFocusTabColor, 1.0); // borde top
180 _colors[2] = tint_color(fFocusTabColor, 1.0); // borde top
181 _colors[3] = tint_color(fFocusTabColor, 1.0); // borde top
196 _colors[1] = tint_color(fFocusFrameColor, 1.0); // borde top
197 _colors[2] = tint_color(fFocusFrameColor, 1.0); // borde top
198 _colors[3] = tint_color(fFocusTabColor, 1.0); // borde top
274 STRACE(("_DrawFrame(%f,%f,%f,%f)\n", rect.left, rect.top,
299 fDrawingEngine->StrokeLine(BPoint(r.left + i, r.top + i),
303 fDrawingEngine->StrokeLine(BPoint(r.left, r.top),
[all...]
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.cpp161 // draw surface top
248 // surface top color
262 // draw surface top
300 // draw surface top
334 view->AddLine(BPoint(rect.right, rect.top + 1),
338 view->AddLine(BPoint(rect.left, rect.top + 1),
341 view->AddLine(BPoint(rect.left, rect.top),
346 view->AddLine(BPoint(rect.left, rect.top),
347 BPoint(rect.right, rect.top), highlightColor);
349 view->AddLine(BPoint(rect.left + 1, rect.top),
[all...]
/haiku/headers/private/shared/
H A DVariant.h42 inline BVariant(float left, float top, float right,
65 inline void SetTo(float left, float top, float right,
135 void _SetTo(float left, float top, float right,
164 float top; member in struct:BVariant::__anon1170::__anon1171
249 _SetTo(value.left, value.top, value.right, value.bottom);
253 BVariant::BVariant(float left, float top, float right, float bottom) argument
255 _SetTo(left, top, right, bottom);
399 _SetTo(value.left, value.top, value.right, value.bottom);
404 BVariant::SetTo(float left, float top, float right, float bottom) argument
407 _SetTo(left, top, righ
[all...]
/haiku/src/servers/app/decorator/
H A DTabDecorator.cpp76 frame.left, frame.top, frame.right, frame.bottom));
103 updateRect.left, updateRect.top, updateRect.right, updateRect.bottom));
269 // calculate left/top/right/bottom borders
273 fLeftBorder.Set(fFrame.left - fBorderWidth, fFrame.top,
276 fRightBorder.Set(fFrame.right + 1, fFrame.top ,
279 fTopBorder.Set(fFrame.left - fBorderWidth, fFrame.top - fBorderWidth,
280 fFrame.right + fBorderWidth, fFrame.top - 1);
324 // calculate left/top/right/bottom outline borders
327 fLeftOutlineBorder.Set(fFrame.left - fOutlineBorderWidth, fFrame.top,
330 fRightOutlineBorder.Set(fFrame.right + 1, fFrame.top ,
[all...]
/haiku/src/kits/interface/
H A DHaikuControlLook.cpp213 // draw surface top
319 // draw surface top
358 // draw surface top
589 view->AddLine(BPoint(rect.right, rect.top + 1),
593 view->AddLine(BPoint(rect.left, rect.top + 1),
596 view->AddLine(BPoint(rect.left, rect.top),
601 view->AddLine(BPoint(rect.left, rect.top),
602 BPoint(rect.right, rect.top), highlightColor);
604 view->AddLine(BPoint(rect.left + 1, rect.top),
605 BPoint(rect.right, rect.top), borderColo
2692 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, uint32 borders) argument
2707 BPoint(rect.right, rect.top), top); local
2728 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, const rgb_color& rightTop, const rgb_color& leftBottom, uint32 borders) argument
2738 BPoint(rect.right - 1, rect.top), top); local
2745 BPoint(rect.right, rect.top), top); local
[all...]
H A DBox.cpp170 frame.top += fLayoutData->insets.top;
348 invalid.top = bounds.top + fBounds.bottom - borderSize;
349 invalid.bottom = bounds.top + fBounds.bottom;
354 invalid.top = bounds.top + bounds.bottom - borderSize;
611 frame.top += fLayoutData->insets.top;
682 rect.top
[all...]
/haiku/src/tests/servers/app/bitmap_drawing/
H A Dmain.cpp200 BRect topOfBitmap(updateRect.left, updateRect.top, updateRect.right, fBitmapRect.top - 1);
204 BRect leftOfBitmap(updateRect.left, fBitmapRect.top, fBitmapRect.left - 1, fBitmapRect.bottom);
208 BRect rightOfBitmap(fBitmapRect.right + 1, fBitmapRect.top, updateRect.right, fBitmapRect.bottom);
303 fBitmapRect.top + offset.y,
309 fBitmapRect.top,
315 fBitmapRect.top,
321 fBitmapRect.top + offset.y,
327 fBitmapRect.top,
333 fBitmapRect.top
[all...]
/haiku/src/add-ons/accelerants/et6x00/
H A DAcceleration.c171 uint16 left, top, right, bottom; local
226 top = list->top;
235 *((vuint16 *)(mmRegs+0x9a)) = bottom-top;
238 *((vuint16 *)(mmRegs+0xae)) = bottom-top;
241 *((vuint16 *)(mmRegs+0xb6)) = bottom-top;
250 *((vuint32 *)(mmRegs+0xa0)) = (top * screenWidth + left) * bpp;
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPDriver.cpp238 rc.top = (int)bounds.top;
242 int height = rc.bottom - rc.top + 1;
261 rc.left, rc.top, rc.right, rc.bottom));
264 y += rc.top;
267 int height = rc.bottom - rc.top + 1;
271 BRect imageRect(rc.left, rc.top, rc.right, rc.bottom);
/haiku/src/apps/activitymonitor/
H A DActivityWindow.cpp66 BView* top = new BView("top", 0, fLayout); local
67 layout->AddView(top);
68 top->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
104 fAlwaysOnTop = new BMenuItem(B_TRANSLATE("Always on top"), new BMessage(kMsgAlwaysOnTop));
105 _SetAlwaysOnTop(settings.GetBool("always on top", false));
289 status = settings.SetBool("always on top", fAlwaysOnTop->IsMarked());
294 BView* top = fLayout->View();
296 BView* top = ChildAt(0);
298 int32 count = top
[all...]

Completed in 138 milliseconds

1234567891011>>