Searched refs:left (Results 101 - 125 of 687) sorted by relevance

1234567891011>>

/haiku/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueRendererUtils.cpp40 x = rect.left + kTextMargin;
44 x = rect.left + (rect.Width() - view->StringWidth(string)) / 2;
/haiku/docs/interface_guidelines/docbook-css/
H A Dstyles.css37 * Sectioning elements that may contain paragraph-level elements get left/right
43 margin-left:10%;
52 margin-left: 15%;
65 margin-left:0;
86 margin-left:5%;
91 margin-left:7.5%;
96 margin-left:10%;
101 margin-left:10%;
277 padding-left: .2em;
281 border-left
[all...]
/haiku/src/apps/haikudepot/util/
H A DRatingUtils.cpp66 rect.left = ceilf(rect.left + (value / 5.0f) * rect.Width());
/haiku/src/tests/add-ons/print/pdf/bezierbounds/
H A DBezierBounds.cpp39 bounds.left = min_c(bounds.left, points->x);
/haiku/src/kits/interface/
H A DControlLook.cpp80 dest.left = dest.right = points[0].x;
83 dest.left = std::min(dest.left, points[i].x);
88 dest.left = floorf(dest.left);
113 float left, top, right, bottom; local
114 GetBackgroundInsets(backgroundType, flags, left, top, right, bottom);
116 _left += left;
H A DHaikuControlLook.cpp384 nonfilledRect.left = progressPosition;
402 if (nonfilledRect.left < nonfilledRect.right) {
403 // shadow from fill bar, or left border
410 nonfilledRect.left++;
587 view->AddLine(BPoint(rect.left + 1, rect.bottom),
593 view->AddLine(BPoint(rect.left, rect.top + 1),
594 BPoint(rect.left, rect.bottom), borderColor);
596 view->AddLine(BPoint(rect.left, rect.top),
597 BPoint(rect.left, rect.bottom), highlightColor);
601 view->AddLine(BPoint(rect.left, rec
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
2701 BPoint(rect.left, rect.top), left); 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
2753 BPoint(rect.left, rect.bottom - 1), left); local
[all...]
/haiku/src/tests/kits/game/direct_window_test/
H A DStarWindow.cpp324 window_area = (info->window_bounds.right-info->window_bounds.left+1)*
334 cx = (info->window_bounds.right+info->window_bounds.left+1)/2;
339 clipping_bound.left = info->clip_bounds.left - cx;
348 clipping_list[i].left = info->clip_list[i].left - cx;
360 * info->window_bounds.top + info->window_bounds.left
363 // are needed to avoid an overflow when info->window_bounds.left
385 deltax = cx_old - (cx - info->window_bounds.left);
397 if ((x < clipping_bound.left) || (
[all...]
/haiku/headers/libs/alm/
H A DArea.h59 void SetLeft(BReference<XTab> left);
75 void GetInsets(float* left, float* top, float* right,
84 void SetInsets(float left, float top, float right,
86 void SetLeftInset(float left);
107 XTab* left, YTab* top, XTab* right,
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DPopupControl.cpp102 frame.right = frame.left + dest.Width();
114 if (frame.left < dest.left)
115 hOffset = dest.left - frame.left;
/haiku/src/apps/switcher/
H A DPanelWindow.cpp114 from.x = screenFrame.left
122 from.x = screenFrame.left - Bounds().Width();
123 to.x = screenFrame.left;
152 // Hide the window once the mouse left its frame
168 frame.left = screenFrame.left;
/haiku/src/apps/icon-o-matic/generic/gui/
H A DGroup.cpp79 r.left -= fSpacing;
81 r.right = r.left + child->Bounds().Width() + 2 * fSpacing;
83 r.left = r.right + 1.0 - fSpacing;
131 frame.left = (frame.left + frame.right) / 2.0 - view->Bounds().Width() / 2.0;
/haiku/src/tests/kits/interface/
H A DSliderTest.cpp34 rect.right = rect.left + view->Bounds().Width() + 10;
54 rect.right = rect.left + 250;
91 rect.right = rect.left + 100;
103 rect.left = 270;
104 rect.right = rect.left + 30;
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/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,
163 float left; 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, to
[all...]
/haiku/src/tests/kits/device/stickit_BJoystick/
H A DJoystickWindow.cpp111 r.left = 105;
112 r.right = r.left + 30;
120 AddLine(BPoint(r.left+10, r.top), BPoint(r.left+10, r.bottom),
122 AddLine(BPoint(r.left+20, r.top), BPoint(r.left+20, r.bottom),
124 AddLine(BPoint(r.left, r.top+10), BPoint(r.right, r.top+10),
126 AddLine(BPoint(r.left, r.top+20), BPoint(r.right, r.top+20),
129 curHatRect.Set(r.left, r.top, r.left
[all...]
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.cpp102 rect.left, rect.top, rect.right, rect.bottom));
274 STRACE(("_DrawFrame(%f,%f,%f,%f)\n", rect.left, rect.top,
293 // left
299 fDrawingEngine->StrokeLine(BPoint(r.left + i, r.top + i),
300 BPoint(r.left + i, r.bottom - i), colors[i]);
303 fDrawingEngine->StrokeLine(BPoint(r.left, r.top),
304 BPoint(r.left, r.top + 4), colors[6]);
313 fDrawingEngine->StrokeLine(BPoint(r.left + i, r.bottom - i),
341 fDrawingEngine->StrokeLine(BPoint(r.left + 1, r.top + i),
346 fDrawingEngine->StrokeLine(BPoint(r.left
[all...]
/haiku/src/tests/servers/app/newerClipping/
H A DWindowLayer.cpp191 region->Set(BRect(fFrame.left - 4, fFrame.top - 4,
194 region->Include(BRect(fFrame.left - 4, fFrame.top - 20,
195 ceilf((fFrame.left + fFrame.right) / 2), fFrame.top - 5));
203 fBorderRegion.Set(BRect(fFrame.left - 4, fFrame.top - 20,
204 ceilf((fFrame.left + fFrame.right) / 2), fFrame.top - 5));
205 fBorderRegion.Include(BRect(fFrame.left - 4, fFrame.top - 4,
207 fBorderRegion.Include(BRect(fFrame.left - 4, fFrame.top,
208 fFrame.left - 1, fFrame.bottom));
211 fBorderRegion.Include(BRect(fFrame.left - 4, fFrame.bottom + 1,
509 // what is left visibl
[all...]
/haiku/headers/libs/agg/
H A Dagg_rasterizer_compound_aa.h48 int16 left, right; member in struct:agg::cell_style_aa
56 left = -1;
62 left = c.left;
68 return (ex - x) | (ey - y) | (left - c.left) | (right - c.right);
130 void styles(int left, int right);
336 void rasterizer_compound_aa<Clip>::styles(int left, int right) argument
340 cell.left = (int16)left;
[all...]
/haiku/src/kits/tracker/
H A DTextWidget.cpp137 result.left = column->Offset() + poseLoc.x;
138 result.right = result.left + column->Width();
160 result.left = poseLoc.x;
161 result.right = result.left + viewWidth;
165 result.left = poseLoc.x
167 if (result.left < 0)
168 result.left = 0;
170 result.right = result.left + viewWidth;
175 result.left = result.right - viewWidth;
176 if (result.left <
[all...]
/haiku/src/preferences/keymap/
H A DModifierKeysWindow.cpp331 ModifierKeysWindow::_MarkMenuItem(const char* role, BPopUpMenu* menu, uint32 left, uint32 right) argument
340 // mark Caps Lock on Caps Lock role if either left or right is caps
341 // otherwise mark Caps Lock if left side is caps
343 if (strcmp(role, "caps lock") == 0 && (left == capsKey || right == capsKey))
345 else if (left == capsKey)
347 } else if (left == leftKey && right == rightKey)
454 int32 testLeft, testRight, left, right; local
495 left = kUnset;
500 left = fCurrentMap->caps_key;
505 left
[all...]
/haiku/src/add-ons/decorators/MacDecorator/
H A DMacDecorator.cpp68 frame.left, frame.top, frame.right, frame.bottom));
222 fTitleBarRect.Set(fFrame.left - fBorderWidth,
224 ((fFrame.right - fFrame.left) < 32.0 ?
225 fFrame.left + 32.0 : fFrame.right) + fBorderWidth,
235 tab->zoomRect.left = tab->zoomRect.right - 12;
242 tab->closeRect.OffsetTo(fTitleBarRect.left + 4,
253 if (tab->truncatedTitleLength < (tab->zoomRect.left
256 tab->textOffset = int(((tab->zoomRect.left - 5)
260 // now make it the offset from fTabRect.left
262 - fTitleBarRect.left);
522 float left; local
[all...]
/haiku/src/servers/app/drawing/
H A DHWInterface.cpp400 // offset to left top pixel in source buffer (always B_RGBA32)
401 uint8* srcOffset = src + r.top * srcBPR + r.left * 4;
402 _CopyToFront(srcOffset, srcBPR, r.left, r.top, r.right, r.bottom);
475 BRect backupArea(fCursorAreaBackup->left, fCursorAreaBackup->top,
554 int32 width = area.right - area.left + 1;
569 src += area.top * srcBPR + area.left * 4;
576 // same for diff between area.left and cf.left
578 + (area.left - (int32)floorf(cf.left)) *
691 int32 left = x; local
713 int32 left = x; local
736 int32 left = x; local
759 int32 left = x; local
798 int32 left = x; local
836 int32 left = x; local
[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);
212 BRect bottomOfBitmap(updateRect.left, fBitmapRect.bottom + 1, updateRect.right, updateRect.bottom);
302 fBitmapRect.Set(fBitmapRect.left + offset.x,
308 fBitmapRect.Set(fBitmapRect.left,
314 fBitmapRect.Set(fBitmapRect.left + offset.x,
320 fBitmapRect.Set(fBitmapRect.left,
326 fBitmapRect.Set(fBitmapRect.left + offset.x,
332 fBitmapRect.Set(fBitmapRect.left,
[all...]
/haiku/src/servers/app/
H A DWorkspacesView.cpp149 frame.left = frame.left * factor;
158 frame.OffsetTo(rintf(frame.left + workspaceFrame.left),
219 if (tabFrame.left < frame.left) {
221 tabFrame.left = frame.left;
222 tabFrame.right = tabFrame.left + width;
225 // Shift the tab left
567 float left = rintf((where.x - workspaceFrame.left - fLeftTopOffset.x) local
[all...]
/haiku/src/apps/pulse/
H A DMiniPulseView.cpp74 float top = 1, left = 1; local
77 float right = bar_width + left;
95 StrokeRect(BRect(left - 1, top - 1, right + 1, bottom + 1));
98 FillRect(BRect(left, top, right, top + idle_height - 1));
101 FillRect(BRect(left, bottom - bar_height, right, bottom - bar_height));
104 FillRect(BRect(left, bottom - bar_height + 1, right, bottom));
106 left += bar_width + 2;

Completed in 151 milliseconds

1234567891011>>