/haiku/src/servers/notification/ |
H A D | AppGroupView.cpp | 51 BRect bounds = Bounds(); local 52 bounds.bottom = bounds.top + fHeaderSize; 57 StrokeLine(bounds.LeftTop(), bounds.LeftBottom()); 60 be_control_look->DrawButtonBackground(this, bounds, bounds, menuColor, 69 fCloseRect = bounds; 96 float y = (bounds.top + bounds [all...] |
/haiku/src/kits/tracker/ |
H A D | Tests.cpp | 176 BRect bounds(target->Bounds()); 178 view->FillRect(bounds); 184 view->DrawString(buffer, BPoint(20, bounds.bottom - 20)); 190 view->DrawString(buffer, BPoint(20, bounds.bottom - 30)); 194 view->DrawString(buffer, BPoint(20, bounds.bottom - 40)); 234 BRect bounds(target->Bounds()); 236 view->FillRect(bounds); 242 view->DrawString(buffer, BPoint(20, bounds.bottom - 20)); 247 view->DrawString(buffer, BPoint(20, bounds.bottom - 30)); 250 view->DrawString(buffer, BPoint(20, bounds [all...] |
H A D | TitleView.cpp | 218 BRect bounds(Bounds()); 223 BRect frame(bounds); 228 view->SetOrigin(-bounds.left, 0); 238 view->StrokeLine(bounds.LeftBottom(), bounds.RightBottom()); 239 bounds.bottom--; 242 be_control_look->DrawButtonBackground(view, bounds, bounds, baseColor, 0, 246 float minx = bounds.right; 247 float maxx = bounds [all...] |
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | DocumentBuilder.cpp | 70 BRect bounds; local 72 bounds = fViewBox; 74 bounds.PrintToStream(); 76 bounds.Set(0.0, 0.0, (int32)fWidth - 1, (int32)fHeight - 1); 78 bounds.PrintToStream(); 83 if (!bounds.IsValid() || !boundingBox.Intersects(bounds)) { 84 bounds = boundingBox; 86 bounds.PrintToStream(); 89 float size = max_c(bounds [all...] |
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | ColorSlider.cpp | 146 BRect bounds = _BitmapRect(); local 150 bounds.InsetBy(-2, -2); 152 be_control_look->DrawTextControlBorder(this, bounds, updateRect, 158 DrawBitmap(fBitmap, bounds.LeftTop()); 161 FillRect(bounds); 166 bounds.InsetBy(-2, -2); 168 FillRect(BRect(r.left, r.top, bounds.left - 1, r.bottom), 170 FillRect(BRect(bounds.right + 1, r.top, r.right, r.bottom), 173 BRect(bounds.left, r.top, bounds [all...] |
/haiku/src/kits/interface/ |
H A D | ScrollView.cpp | 200 BRect bounds = ConvertToScreen(Bounds()); local 203 if (bounds.right - _BorderSize() != windowBounds.right 204 || bounds.bottom - _BorderSize() != windowBounds.bottom) { 272 const BRect bounds = Bounds(); local 278 float delta = size.Width() - bounds.Width(), 279 proportion = bounds.Width() / size.Width(); 285 bounds.Width()); 289 float delta = size.Height() - bounds.Height(), 290 proportion = bounds.Height() / size.Height(); 296 bounds 569 BRect bounds = Bounds(); local [all...] |
H A D | ZombieReplicantView.cpp | 89 BRect bounds(Bounds()); 94 DrawChar('?', BPoint(bounds.Width() / 2.0f - StringWidth("?") / 2.0f, 95 bounds.Height() / 2.0f - fh.ascent / 2.0f));
|
H A D | ScrollBar.cpp | 774 // cache target bounds 776 // if vertical, check bounds top and scroll if different from newValue 780 // if horizontal, check bounds left and scroll if different from newValue 1180 BRect bounds = Bounds(); local 1181 bounds.InsetBy(1.0, 1.0); 1184 fPrivateData->fThumbFrame = bounds; 1191 maxSize = bounds.Height(); 1192 buttonSize = bounds.Width() + 1.0; 1194 maxSize = bounds.Width(); 1195 buttonSize = bounds 1275 BRect bounds = Bounds(); local 1318 BRect bounds = Bounds(); local 1369 BRect bounds = Bounds(); local [all...] |
/haiku/src/tests/servers/app/painter/ |
H A D | main.cpp | 195 // s.StrokeLine(bounds.RightTop()); 274 BRect bounds(0.0, 0.0, 319.0, 239.0); 277 BRegion noClip(bounds); 281 float h = bounds.Width() / clipCount; 282 float v = bounds.Height() / clipCount; 286 /* BRect b(h * i, bounds.top, h * i, bounds.bottom); 289 b.Set(bounds.left, v * i, bounds.right, v * i); 292 BRect b(bounds [all...] |
/haiku/src/add-ons/translators/wonderbrush/ |
H A D | Canvas.cpp | 117 Canvas::SetBounds(BRect bounds) argument 119 if (bounds.IsValid()) 120 fBounds = bounds; 182 static const char* BOUNDS_KEY = "bounds"; 191 // restore bounds 192 BRect bounds; 193 if (archive->FindRect(BOUNDS_KEY, &bounds) < B_OK) 196 fBounds = bounds;
|
/haiku/src/tests/servers/app/following/ |
H A D | main.cpp | 135 BRect bounds = view->Bounds(); local 136 bounds.InsetBy(20, 20); 137 BView* view1 = new TestView(bounds, "test 2", B_FOLLOW_RIGHT | B_FOLLOW_BOTTOM, 141 bounds = view1->Bounds(); 142 bounds.InsetBy(20, 20); 143 BView* view2 = new TestView(bounds, "test 3", B_FOLLOW_NONE,
|
/haiku/src/add-ons/screen_savers/butterfly/ |
H A D | Butterfly.cpp | 69 BRect bounds = view->Bounds(); local 70 fScale = MIN(bounds.Width(), bounds.Height()) * 0.1f; 71 fTrans.Set(bounds.Width() * 0.5f, bounds.Height() * 0.5f); 72 fBounds = bounds;
|
/haiku/src/tools/translation/bitsinfo/ |
H A D | bitsinfo.cpp | 95 printf(B_TRANSLATE("bounds: (%f, %f, %f, %f)\n"), 96 header.bounds.left, header.bounds.top, 97 header.bounds.right, header.bounds.bottom); 99 static_cast<int>(header.bounds.Width() + 1), 100 static_cast<int>(header.bounds.Height() + 1));
|
/haiku/headers/private/shared/ |
H A D | DateTimeEdit.h | 52 virtual void DrawSection(uint32 index, BRect bounds, argument 54 virtual void DrawSeparator(uint32 index, BRect bounds) {} argument 90 virtual void DrawSection(uint32 index, BRect bounds, 92 virtual void DrawSeparator(uint32 index, BRect bounds); 136 virtual void DrawSection(uint32 index, BRect bounds, 138 virtual void DrawSeparator(uint32 index, BRect bounds);
|
/haiku/src/apps/mediaplayer/interface/ |
H A D | SubtitleBitmap.cpp | 60 SubtitleBitmap::SetVideoBounds(BRect bounds) argument 62 if (bounds == fVideoBounds) 65 fVideoBounds = bounds; 112 BRect bounds; local 114 _InsertText(bounds, outlineRadius, fOverlayMode); 120 fBitmap = new BBitmap(bounds, B_BITMAP_ACCEPTS_VIEWS, B_RGBA32); 125 fShadowTextView->ResizeTo(bounds.Width(), bounds.Height()); 132 fShadowTextView->Draw(bounds); 144 fTextView->ResizeTo(bounds [all...] |
/haiku/src/apps/mediaplayer/media_node_framework/ |
H A D | PlaybackLOAdapter.h | 36 virtual void VideoBoundsChanged(BRect bounds);
|
H A D | PlaybackLOAdapter.cpp | 56 PlaybackLOAdapter::VideoBoundsChanged(BRect bounds) argument 59 message.AddRect("video bounds", bounds);
|
/haiku/src/apps/showimage/ |
H A D | SelectionBox.h | 29 void SetBounds(ShowImageView* view, BRect bounds);
|
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | RemoteEventStream.h | 26 virtual void UpdateScreenBounds(BRect bounds);
|
/haiku/src/servers/app/ |
H A D | Layer.h | 34 UtilityBitmap* _AllocateBitmap(const BRect& bounds);
|
/haiku/src/preferences/time/ |
H A D | TZDisplay.cpp | 55 BRect bounds = Bounds(); local 63 BPoint pt(bounds.left, ceilf(bounds.top + height.ascent)); 70 pt.x = bounds.right - StringWidth(fTime.String());
|
/haiku/src/preferences/network/ |
H A D | ServiceListItem.cpp | 43 ServiceListItem::DrawItem(BView* owner, BRect bounds, bool complete) argument 56 owner->FillRect(bounds); 62 // Set the initial bounds of item contents 63 BPoint statePoint = bounds.RightTop() + BPoint(0, fLineOffset) 66 BPoint namePoint = bounds.LeftTop()
|
/haiku/src/servers/app/font/ |
H A D | FontCacheEntry.h | 46 const agg::rect_i& bounds, float advanceX, float advanceY, 54 bounds(bounds), 74 agg::rect_i bounds; member in struct:GlyphCache 45 GlyphCache(uint32 glyphIndex, uint32 dataSize, glyph_data_type dataType, const agg::rect_i& bounds, float advanceX, float advanceY, float preciseAdvanceX, float preciseAdvanceY, float insetLeft, float insetRight) argument
|
/haiku/src/kits/shared/ |
H A D | BarberPole.cpp | 201 BRect bounds = Bounds(); local 202 bounds.InsetBy(-2, -2); 203 be_control_look->DrawStatusBar(this, bounds, updateRect, 205 bounds.Width()); 224 bounds = Bounds(); 225 be_control_look->DrawBorder(this, bounds, updateRect, 241 BRect bounds = Bounds(); local 244 FillRect(bounds, kStripes); 245 be_control_look->DrawBorder(this, bounds, updateRect,
|
/haiku/src/add-ons/translators/gif/ |
H A D | GIFTranslator.cpp | 164 header.bounds.left = B_BENDIAN_TO_HOST_FLOAT(header.bounds.left); 165 header.bounds.top = B_BENDIAN_TO_HOST_FLOAT(header.bounds.top); 166 header.bounds.right = B_BENDIAN_TO_HOST_FLOAT(header.bounds.right); 167 header.bounds.bottom = B_BENDIAN_TO_HOST_FLOAT(header.bounds.bottom); 173 *out = new(std::nothrow) BBitmap(header.bounds, header.colors);
|