Searched refs:rect (Results 126 - 150 of 607) sorted by relevance

1234567891011>>

/haiku-fatelf/src/add-ons/screen_savers/gravity/
H A DGravityView.cpp16 GravityView::GravityView(Gravity* parent, BRect rect) argument
18 BGLView(rect, B_EMPTY_STRING, B_FOLLOW_NONE, 0,
49 gluPerspective(45.0f, rect.Width() / rect.Height(), 2.0f, 20000.0f);
H A DGravityView.h18 GravityView(Gravity* parent, BRect rect);
/haiku-fatelf/src/kits/tracker/
H A DTrackerIcons.rdef2385 "_frame" = rect { 0.0, 0.0, 8.0, 17.0 },
2401 "_frame" = rect { 0.0, 0.0, 7.0, 17.0 },
2415 "_frame" = rect { 0.0, 0.0, 23.0, 24.0 },
2449 "_frame" = rect { 0.0, 0.0, 23.0, 24.0 },
2483 "_frame" = rect { 0.0, 0.0, 23.0, 24.0 },
2518 "_frame" = rect { 0.0, 0.0, 18.0, 16.0 },
2538 "_frame" = rect { 0.0, 0.0, 18.0, 16.0 },
2558 "_frame" = rect { 0.0, 0.0, 18.0, 16.0 },
2578 "_frame" = rect { 0.0, 0.0, 18.0, 16.0 },
2598 "_frame" = rect { 0.
[all...]
/haiku-fatelf/src/servers/app/drawing/Painter/
H A DPainter.h140 // strokes a one pixel wide solid rect, no blending
148 // fills a solid rect with color c, no blending
152 // fills a rect with a linear gradient, the caller should be
159 // fills a solid rect with color c, no blending, no clipping
174 void AlignEllipseRect(BRect* rect,
231 inline BRect ClipRect(BRect rect) const;
232 inline BRect AlignAndClipRect(BRect rect) const;
240 BRect _Clipped(const BRect& rect) const;
372 Painter::ClipRect(BRect rect) const
374 rect
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/MyNetwork/
H A DIconListItem.cpp26 BRect rect(0.0, 0.0, 15.0, 15.0);
27 icon = new BBitmap(rect, B_CMAP8);
62 BRect rect(frame.left - 15.0, frame.top - 2.0, frame.left, frame.top + 13.0);
67 owner->FillRect(rect);
69 owner->DrawBitmap(icon, rect);
73 owner->DrawBitmap(icon, rect);
78 owner->DrawBitmap(icon, rect);
/haiku-fatelf/src/add-ons/print/drivers/preview/
H A DPrinterDriver.cpp94 BRect rect = reader.PaperRect(); local
96 rect.left, rect.top, rect.right, rect.bottom);
98 rect = reader.PrintableRect();
100 rect.left, rect.top, rect.right, rect
[all...]
/haiku-fatelf/src/apps/powerstatus/
H A DPowerStatusView.cpp155 PowerStatusView::_DrawBattery(BRect rect) argument
157 float quarter = floorf((rect.Height() + 1) / 4);
158 rect.top += quarter;
159 rect.bottom -= quarter;
161 rect.InsetBy(2, 0);
163 float left = rect.left;
164 rect.left += rect.Width() / 11;
169 if (rect.Height() > 8) {
170 gap = ceilf((rect
[all...]
/haiku-fatelf/src/kits/interface/
H A DScrollView.cpp180 BRect rect(Bounds());
190 be_control_look->DrawScrollViewFrame(this, rect, updateRect,
336 BRect rect = bounds; local
337 rect.left += fPreviousWidth - border;
338 rect.right--;
339 Invalidate(rect);
342 BRect rect = bounds; local
343 rect.left = rect.right - border;
344 Invalidate(rect);
351 BRect rect = bounds; local
357 BRect rect = bounds; local
780 BRect rect = targetFrame; local
799 BRect rect = targetFrame; local
[all...]
/haiku-fatelf/src/libs/print/libprint/
H A DValidRect.cpp16 bool getValidRect(BBitmap *bitmap, RECT *rect);
135 BoundsCalculator::getValidRect(BBitmap *bitmap, RECT *rect) argument
156 fLeft = rect->left;
157 fRight = rect->right;
158 fTop = rect->top;
159 fBottom = rect->bottom;
187 rect->left = fLeftBound;
188 rect->right = fRightBound;
189 rect->top = fTop;
190 rect
[all...]
/haiku-fatelf/src/add-ons/translators/shared/
H A DTranslatorWindow.cpp85 LaunchTranslatorWindow(BTranslator *translator, const char *title, BRect rect) argument
88 if (translator->MakeConfigurationView(NULL, &view, &rect)) {
99 TranslatorWindow *wnd = new TranslatorWindow(rect, title);
111 wndpt.x -= rect.Width() / 2;
112 wndpt.y -= rect.Height() / 2;
/haiku-fatelf/src/apps/fontdemo/
H A DControlView.cpp31 ControlView::ControlView(BRect rect) argument
32 : BView(rect, "ControlView", B_FOLLOW_ALL, B_WILL_DRAW | B_NAVIGABLE_JUMP),
64 BRect rect(Bounds());
65 rect.InsetBySelf(10, 0);
66 rect.bottom = rect.top + 18;
67 rect.OffsetBy(0, 11);
72 fTextControl = new BTextControl(rect, "TextInput", B_TRANSLATE("Text:"),
78 rect.OffsetBy(0.0, 27.0);
79 _AddFontMenu(rect);
469 _AddFontMenu(BRect rect) argument
[all...]
/haiku-fatelf/src/add-ons/tracker/zipomatic/
H A DZipOMaticActivity.cpp100 Activity::Draw(BRect rect) argument
121 BRect rect = fBitmap->Bounds(); local
137 rect.InsetBy(2, 2);
138 fBitmapView->FillRect(rect, fPattern);
195 fBitmapView->StrokeRect(rect);
197 rect.InsetBy(1, 1);
199 fBitmapView->StrokeRect(rect);
201 rect.InsetBy(1, 1);
203 fBitmapView->StrokeRect(rect);
205 rect
233 BRect rect = Bounds(); local
[all...]
H A DZipOMaticWindow.cpp341 BRect* rect = static_cast<BRect*>(tryRectList.ItemAt(m)); local
342 if (rect == NULL)
345 if (frame.Intersects(*rect)) {
347 delete rect;
355 // find nearest rect
360 BRect* rect = static_cast<BRect*>(tryRectList.RemoveItem((int32)0)); local
361 if (rect == NULL)
364 nearestRect = _NearestRect(centeredRect, nearestRect, *rect);
366 delete rect;
375 ZippoWindow::_OffsetRect(BRect* rect, directio argument
401 _OffscreenBounceBack(BRect* rect, direction* primaryDirection, direction secondaryDirection) argument
[all...]
/haiku-fatelf/src/apps/cortex/TipManager/
H A DTipManagerImpl.h66 // if rect is invalid, the entry represents the view's entire
75 rect(_rect),
84 rect(_rect) {}
101 BRect rect; member in class:tip_entry
110 // ordering criteria: by top-left corner of the rect,
123 if(a->rect.IsValid())
124 if(b->rect.IsValid()) {
125 if(a->rect.left == b->rect.left)
126 return a->rect
[all...]
/haiku-fatelf/src/preferences/screensaver/
H A DScreenCornerSelector.cpp187 BRect rect; local
188 rect.left = centerRect.left + (centerRect.Width() - size) / 2;
189 rect.top = centerRect.top + (centerRect.Height() - size) / 2;
190 if (rect.left < centerRect.left || rect.top < centerRect.top) {
192 rect.top = centerRect.top;
193 rect.left = centerRect.left + (centerRect.Width() - size) / 2;
195 rect.right = rect.left + size - 1;
196 rect
[all...]
/haiku-fatelf/src/kits/mail/
H A DFileConfigView.cpp30 BFileControl::BFileControl(BRect rect, const char* name, const char* label, argument
33 BView(rect, name, B_FOLLOW_LEFT | B_FOLLOW_TOP, 0)
44 rect = Bounds();
45 rect.right -= labelWidth;
46 rect.top = 4;
47 rect.bottom = itemHeight + 2;
48 fText = new BTextControl(rect,"file_path", label, pathOfFile, NULL);
56 fButton->MoveBy(rect.right + 6,
57 (rect.Height() - fButton->Frame().Height()) / 2);
/haiku-fatelf/src/tests/servers/app/event_mask/
H A DEventMask.cpp27 PositionView(BRect rect, uint32 options);
44 PositionView::PositionView(BRect rect, uint32 options) argument
45 : BBox(rect, "event mask", B_FOLLOW_ALL, B_WILL_DRAW),
144 BRect rect = Bounds().InsetByCopy(5, 5); local
145 rect.bottom = 33;
146 Invalidate(rect);
185 BRect rect(10, 40, 120, 120);
200 fViews[i] = new PositionView(rect, options);
203 rect.OffsetBy(120, 0);
/haiku-fatelf/src/tests/kits/net/DialUpPreflet/
H A DPPPoEAddon.cpp217 BRect rect(0, 0, width, fHeight);
218 fPPPoEView = new PPPoEView(this, rect);
231 BRect rect = Bounds(); local
232 rect.InsetBy(5, 0);
233 rect.bottom = 20;
234 fInterface = new BMenuField(rect, "interface", kLabelInterfaceName,
241 rect.top = rect.bottom + 5;
242 rect.bottom = rect
[all...]
/haiku-fatelf/src/tests/kits/net/preflet/DialUpAddOn/
H A DPPPoEAddon.cpp256 BRect rect(0, 0, width, fHeight);
257 fPPPoEView = new PPPoEView(this, rect);
270 BRect rect = Bounds(); local
271 rect.InsetBy(5, 0);
272 rect.bottom = 20;
273 fInterface = new BMenuField(rect, "interface", kLabelInterfaceName,
280 rect.top = rect.bottom + 5;
281 rect.bottom = rect
[all...]
/haiku-fatelf/src/preferences/screen/
H A DRefreshWindow.cpp41 BRect rect = Bounds().InsetByCopy(8, 8); local
42 BStringView* stringView = new BStringView(rect, "info",
47 rect.top += stringView->Bounds().Height() + 14;
48 fRefreshSlider = new RefreshSlider(rect, min, max, B_FOLLOW_TOP | B_FOLLOW_LEFT_RIGHT);
53 fRefreshSlider->ResizeTo(rect.Width(), height);
56 BButton* doneButton = new BButton(rect, "DoneButton", B_TRANSLATE("Done"),
/haiku-fatelf/src/apps/installer/
H A DPackageViews.cpp126 PackageCheckBox::PackageCheckBox(BRect rect, Package *item) argument
128 BCheckBox(rect.OffsetBySelf(7, 0), "pack_cb", item->Name(), NULL),
171 GroupView::GroupView(BRect rect, Group *group) argument
173 BStringView(rect, "group", group->GroupName()),
189 PackagesView::PackagesView(BRect rect, const char* name) argument
191 BView(rect, name, B_FOLLOW_ALL_SIDES, B_WILL_DRAW | B_FRAME_EVENTS)
228 BRect rect = Bounds(); local
229 BRect bounds = rect;
230 rect.left = 1;
231 rect
[all...]
/haiku-fatelf/src/servers/app/drawing/html5/
H A DHTML5DrawingEngine.h61 virtual void InvertRect(BRect rect);
68 virtual void DrawArc(BRect rect, const float& angle,
70 virtual void FillArc(BRect rect, const float& angle,
78 virtual void DrawEllipse(BRect rect, bool filled);
79 virtual void FillEllipse(BRect rect,
91 virtual void StrokeRect(BRect rect, const rgb_color &color);
92 virtual void FillRect(BRect rect, const rgb_color &color);
96 virtual void StrokeRect(BRect rect);
97 virtual void FillRect(BRect rect);
98 virtual void FillRect(BRect rect, cons
[all...]
/haiku-fatelf/src/servers/app/drawing/remote/
H A DRemoteDrawingEngine.h60 virtual void InvertRect(BRect rect);
67 virtual void DrawArc(BRect rect, const float& angle,
69 virtual void FillArc(BRect rect, const float& angle,
77 virtual void DrawEllipse(BRect rect, bool filled);
78 virtual void FillEllipse(BRect rect,
90 virtual void StrokeRect(BRect rect, const rgb_color &color);
91 virtual void FillRect(BRect rect, const rgb_color &color);
95 virtual void StrokeRect(BRect rect);
96 virtual void FillRect(BRect rect);
97 virtual void FillRect(BRect rect, cons
[all...]
/haiku-fatelf/src/servers/mail/
H A DErrorLogWindow.cpp13 Error(BRect rect,alert_type type,const char *tag,const char *message,bool timestamp,rgb_color bkg);
24 ErrorPanel(BRect rect) : BView(rect,"ErrorScrollPanel",B_FOLLOW_ALL_SIDES,B_DRAW_ON_CHILDREN | B_FRAME_EVENTS), alerts_displayed(0), add_next_at(0) {} argument
55 ErrorLogWindow::ErrorLogWindow(BRect rect, const char *name, window_type type) argument
57 BWindow(rect, name, type, B_NO_WORKSPACE_ACTIVATION | B_NOT_MINIMIZABLE
61 rect = Bounds();
62 rect.right -= B_V_SCROLL_BAR_WIDTH;
64 view = new ErrorPanel(rect);
151 Error::Error(BRect rect, alert_type atype, const char *tag, const char *message, argument
154 BView(rect,"erro
[all...]
/haiku-fatelf/src/preferences/keymap/
H A DKeyboardLayoutView.cpp272 BRect rect = frame; local
273 rect.right--;
274 rect.bottom--;
275 BBitmap* bitmap = new BBitmap(rect, B_RGBA32, true);
278 BView* view = new BView(rect, "drag", B_FOLLOW_NONE, 0);
564 KeyboardLayoutView::_DrawKeyButton(BView* view, BRect& rect, BRect updateRect, argument
567 be_control_look->DrawButtonFrame(view, rect, updateRect, 4.0f, base,
569 be_control_look->DrawButtonBackground(view, rect, updateRect, 4.0f,
576 BRect rect, bool pressed)
604 _DrawKeyButton(view, rect, updateRec
575 _DrawKey(BView* view, BRect updateRect, const Key* key, BRect rect, bool pressed) argument
699 _DrawIndicator(BView* view, BRect updateRect, const Indicator* indicator, BRect rect, bool lit) argument
839 _GetAbbreviatedKeyLabelIfNeeded(BView* view, BRect rect, const Key* key, char* text, size_t textSize) argument
1074 BRect rect; local
[all...]

Completed in 297 milliseconds

1234567891011>>