Searched refs:rect (Results 51 - 75 of 512) sorted by relevance

1234567891011>>

/haiku/src/preferences/appearance/
H A DColorWhichListView.cpp66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
68 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true);
70 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW);
76 ++rect.top;
77 ++rect.left;
80 view->FillRect(rect);
81 rect.OffsetBy(-1.0f, -1.0f);
86 view->StrokeRect(rect);
88 ++rect.left;
89 ++rect
[all...]
H A DColorPreview.cpp154 BRect rect = Bounds().InsetByCopy(2.0f, 2.0f); local
155 rect.top = roundf(rect.bottom / 2.0f + 1);
157 if (rect.Contains(where)) {
241 BRect rect(0.0f, 0.0f, 20.0f, 20.0f);
243 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true);
245 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW);
251 ++rect.top;
252 ++rect.left;
255 view->FillRect(rect);
[all...]
/haiku/src/apps/terminal/
H A DColorListView.cpp66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
68 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true);
70 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW);
76 ++rect.top;
77 ++rect.left;
80 view->FillRect(rect);
81 rect.OffsetBy(-1.0f, -1.0f);
86 view->StrokeRect(rect);
88 ++rect.left;
89 ++rect
[all...]
H A DColorPreview.cpp154 BRect rect = Bounds().InsetByCopy(2.0f, 2.0f); local
155 rect.top = roundf(rect.bottom / 2.0f + 1);
157 if (rect.Contains(where)) {
241 BRect rect(0.0f, 0.0f, 20.0f, 20.0f);
243 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true);
245 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW);
251 ++rect.top;
252 ++rect.left;
255 view->FillRect(rect);
[all...]
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.h32 BRect rect, Desktop* desktop);
48 virtual void _DrawFrame(BRect rect);
53 BRect rect);
55 BRect rect);
57 BRect rect);
61 bool direct, BRect rect);
63 const BRect rect, bool down,
/haiku/src/kits/interface/
H A DAbstractSpinner.cpp189 SpinnerTextView(BRect rect, BRect textRect);
342 BRect rect(Bounds());
343 if (!rect.IsValid() || !rect.Intersects(updateRect))
384 be_control_look->DrawButtonFrame(this, rect, updateRect,
386 be_control_look->DrawButtonBackground(this, rect, updateRect,
396 rect.InsetBy(0.0f, 1.0f);
397 be_control_look->DrawArrowShape(this, rect, updateRect, bgColor,
408 rect.InsetBy(0.0f, 1.0f);
409 be_control_look->DrawArrowShape(this, rect, updateRec
526 SpinnerTextView(BRect rect, BRect textRect) argument
1023 BRect rect = bounds; local
1029 BRect rect = bounds; local
1038 BRect rect = bounds; local
1048 BRect rect = bounds; local
1467 BRect rect = fTextView->Frame(); local
1534 BRect rect; local
[all...]
H A DPoint.cpp25 BPoint::ConstrainTo(BRect rect) argument
27 x = std::max(std::min(x, rect.right), rect.left);
28 y = std::max(std::min(y, rect.bottom), rect.top);
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.h33 virtual void DrawButtonFrame(BView* view, BRect& rect,
39 virtual void DrawButtonFrame(BView* view, BRect& rect,
45 virtual void DrawButtonFrame(BView* view, BRect& rect,
53 virtual void DrawButtonBackground(BView* view, BRect& rect,
59 virtual void DrawButtonBackground(BView* view, BRect& rect,
64 virtual void DrawButtonBackground(BView* view, BRect& rect,
71 virtual void DrawCheckBox(BView* view, BRect& rect,
76 virtual void DrawRadioButton(BView* view, BRect& rect,
82 BRect rect, const BRect& updateRect,
86 BRect rect, cons
[all...]
/haiku/src/tests/servers/app/look_and_feel/
H A DLookAndFeel.cpp57 BRect rect(Bounds());
58 BView *view = new BView(rect, NULL, B_FOLLOW_ALL, B_WILL_DRAW);
84 rect.InsetBy(10, 10);
85 BMenuField* menuField = new BMenuField(rect, "look", "Look:", menu);
113 rect.OffsetBy(0, menuField->Bounds().Height() + 10);
114 menuField = new BMenuField(rect, "feel", "Feel:", menu);
142 rect.OffsetBy(0, menuField->Bounds().Height() + 10);
143 fFlagsField = new BMenuField(rect, "flags", "Flags:", menu);
150 rect.OffsetBy(0, menuField->Bounds().Height() + 10);
151 BButton* button = new BButton(rect, "norma
[all...]
/haiku/src/preferences/screen/
H A DRefreshSlider.cpp58 BRect rect(ThumbFrame());
61 rect.InsetBy(2.0, 2.0);
62 rect.right--;
63 rect.bottom--;
66 view->StrokeRect(rect);
/haiku/src/tests/kits/app/bmessage/
H A DMessageBRectItemTest.h68 std::ostream& operator<<(std::ostream& os, const BRect& rect) argument
72 os << "rect"
73 << "(l:" << rect.left
74 << " t:" << rect.top
75 << " r:" << rect.right
76 << " b:" << rect.bottom
/haiku/src/tests/kits/interface/
H A DPulseTest.cpp18 PulseView(BRect rect, const char *name, uint32 resizeMode, uint32 flags) argument
19 : BView(rect, name, resizeMode, flags)
32 BRect rect = fRight; local
35 rect = fLeft;
37 FillRect(rect, B_SOLID_HIGH);
/haiku/src/apps/processcontroller/
H A DMemoryBarMenuItem.cpp79 BRect rect = bar_rect(frame, &font); local
93 menu->StrokeRect(rect);
96 rect.InsetBy(1, 1);
97 BRect r = rect;
98 double grenze1 = rect.left + (rect.right - rect.left) * float(fWriteMemory)
100 double grenze2 = rect.left + (rect.right - rect
[all...]
/haiku/src/add-ons/decorators/WinDecorator/
H A DWinDecorator.cpp46 WinDecorAddOn::_AllocateDecorator(DesktopSettings& settings, BRect rect, argument
49 return new (std::nothrow)WinDecorator(settings, rect, desktop);
272 WinDecorator::_DrawFrame(BRect rect) argument
324 \param rect The area of the \a tab to update.
327 WinDecorator::_DrawTab(Decorator::Tab* tab, BRect rect) argument
332 if (!tabRect.IsValid() || !rect.Intersects(tabRect)
337 fDrawingEngine->FillRect(tabRect & rect, fTabColor);
343 _DrawButtons(tab, rect);
355 \param rect area of the title to update.
358 WinDecorator::_DrawTitle(Decorator::Tab* tab, BRect rect) argument
421 _DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) argument
447 _DrawZoom(Decorator::Tab* tab, bool direct, BRect rect) argument
479 _DrawClose(Decorator::Tab* tab, bool direct, BRect rect) argument
512 BRect rect = TabRect(tab); local
[all...]
/haiku/src/apps/tv/
H A DMainApp.cpp73 BRect rect(200, 200, 750, 300);
74 rect.OffsetBy(i * 25, i * 25);
76 BWindow *win = new MainWin(rect);
/haiku/src/apps/resedit/
H A DResFields.cpp45 BitmapPreviewField::DrawField(BRect rect, BView *parent) argument
49 BRect drawrect(fBitmap->Bounds().OffsetToCopy(rect.LeftTop()));
50 if (drawrect.Height() > rect.Height()) {
51 drawrect = rect;
54 (rect.Height() / fBitmap->Bounds().Height()));
66 BRect stringrect = rect;
98 IntegerPreviewField::DrawField(BRect rect, BView *parent) argument
100 BPoint point(rect.LeftBottom());
105 parent->TruncateString(&string, B_TRUNCATE_MIDDLE, rect.Width() - 14);
149 StringPreviewField::DrawField(BRect rect, BVie argument
[all...]
H A DResWindow.cpp17 ResWindow::ResWindow(const BRect &rect, const entry_ref *ref) argument
18 : BWindow(rect, "", B_DOCUMENT_WINDOW, B_ASYNCHRONOUS_CONTROLS)
/haiku/headers/os/interface/
H A DControlLook.h109 virtual void DrawButtonFrame(BView* view, BRect& rect,
115 virtual void DrawButtonFrame(BView* view, BRect& rect,
122 virtual void DrawButtonFrame(BView* view, BRect& rect,
133 virtual void DrawButtonBackground(BView* view, BRect& rect,
139 virtual void DrawButtonBackground(BView* view, BRect& rect,
146 virtual void DrawButtonBackground(BView* view, BRect& rect,
157 virtual void DrawMenuBarBackground(BView* view, BRect& rect,
163 virtual void DrawMenuFieldFrame(BView* view, BRect& rect,
169 virtual void DrawMenuFieldFrame(BView* view, BRect& rect,
176 virtual void DrawMenuFieldFrame(BView* view, BRect& rect,
[all...]
H A DRegion.h17 /* Integer rect used to define a clipping rectangle. All bounds are inclusive. */
31 BRegion(const BRect rect);
37 void Set(BRect rect);
51 bool Intersects(BRect rect) const;
67 void Include(BRect rect);
71 void Exclude(BRect rect);
93 clipping_rect _Convert(const BRect& rect) const;
94 clipping_rect _ConvertToInternal(const BRect& rect) const;
96 const clipping_rect& rect) const;
/haiku/src/apps/debuganalyzer/gui/table/
H A DTableColumn.cpp36 TableColumn::DrawTitle(BRect rect, BView* targetView) argument
42 TableColumn::DrawValue(const BVariant& value, BRect rect, BView* targetView) argument
/haiku/src/apps/pulse/
H A DProgressBar.h18 BRect rect; member in struct:__anon1
27 virtual void Draw(BRect rect);
H A DNormalPulseView.h21 NormalPulseView(BRect rect);
24 virtual void Draw(BRect rect);
H A DConfigView.cpp56 ConfigView::ConfigView(BRect rect, const char *name, uint32 mode, BMessenger& target, argument
58 : BBox(rect, name, B_FOLLOW_NONE, B_WILL_DRAW),
78 rect = fColorControl->Frame();
79 rect.top = rect.bottom + 10.0f;
80 rect.bottom = rect.top + 15.0f;
85 fFadeCheckBox = new BCheckBox(rect, "FadeColors",
95 fActiveButton = new BRadioButton(rect, "ActiveColor",
101 rect
[all...]
/haiku/src/apps/sudoku/
H A DProgressWindow.cpp34 BRect rect = Bounds(); local
36 BView *view = new BView(rect, NULL, B_FOLLOW_ALL, B_WILL_DRAW);
40 rect = view->Bounds().InsetByCopy(8, 8);
41 fStatusBar = new BStatusBar(rect, "status", NULL, NULL);
44 fStatusBar->ResizeTo(rect.Width(), height);
49 rect.top += height + 8;
50 BButton* button = new BButton(rect, "abort", B_TRANSLATE("Abort"),
53 button->MoveBy((rect.Width() - button->Bounds().Width()) / 2, 0);
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.cpp74 DefaultDecorator::DefaultDecorator(DesktopSettings& settings, BRect rect, argument
77 TabDecorator(settings, rect, desktop)
84 rect.left, rect.top, rect.right, rect.bottom));
195 DefaultDecorator::_DrawFrame(BRect rect) argument
197 STRACE(("_DrawFrame(%f,%f,%f,%f)\n", rect.left, rect.top,
198 rect
439 _DrawResizeKnob(BRect rect, bool full, const ComponentColors& colors) argument
573 _DrawTitle(Decorator::Tab* _tab, BRect rect) argument
627 _DrawClose(Decorator::Tab* _tab, bool direct, BRect rect) argument
656 _DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect) argument
678 _DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) argument
688 _DrawButtonBitmap(ServerBitmap* bitmap, bool direct, BRect rect) argument
711 _DrawBlendedRect(DrawingEngine* engine, const BRect rect, bool down, const ComponentColors& colors) argument
[all...]

Completed in 109 milliseconds

1234567891011>>