Searched refs:region (Results 51 - 75 of 135) sorted by relevance

123456

/haiku/headers/private/app/
H A DLinkReceiver.h41 status_t ReadRegion(BRegion* region);
H A DServerLink.h58 status_t AttachRegion(const BRegion& region);
79 status_t ReadRegion(BRegion* region);
/haiku/src/servers/app/drawing/
H A DHWInterface.h128 virtual void FillRegion(/*const*/ BRegion& region, argument
130 virtual void InvertRegion(/*const*/ BRegion& region) {} argument
170 virtual status_t InvalidateRegion(const BRegion& region);
177 virtual void _CopyBackToFront(/*const*/ BRegion& region);
184 // BView::Draw() is called (if the cursor is within that views clipping region),
/haiku/src/servers/app/drawing/interface/local/
H A DAccelerantHWInterface.h72 virtual void FillRegion(/*const*/ BRegion& region,
74 virtual void InvertRegion(/*const*/ BRegion& region);
104 virtual void _CopyBackToFront(/*const*/ BRegion& region);
117 void _RegionToRectParams(/*const*/ BRegion* region,
/haiku/src/kits/interface/
H A DSeparatorView.cpp216 BRegion region(bounds);
218 region.Exclude(labelBounds);
219 ConstrainClippingRegion(&region);
228 region.Exclude(bounds);
235 region.Exclude(bounds);
240 region.Include(labelBounds);
242 ConstrainClippingRegion(&region);
/haiku/src/tests/servers/app/newerClipping/
H A DViewLayer.cpp299 ViewLayer::ConvertToParent(BRegion* region) const
302 region->OffsetBy(fFrame.left - fScrollingOffset.x,
326 ViewLayer::ConvertFromParent(BRegion* region) const
329 region->OffsetBy(fScrollingOffset.x - fFrame.left,
355 ViewLayer::ConvertToTop(BRegion* region) const
357 ConvertToParent(region);
360 fParent->ConvertToTop(region);
385 ViewLayer::ConvertFromTop(BRegion* region) const
387 ConvertFromParent(region);
390 fParent->ConvertFromTop(region);
[all...]
/haiku/src/preferences/time/
H A DZoneView.cpp272 // and add an additional region with generic GMT-offset timezones at the end
287 // ICU), we need to use translated region names in the zone-map, too:
290 for (const char** region = kSupportedRegions; *region != NULL; ++region) {
291 BString translatedRegion = B_TRANSLATE_NOCOLLECT(*region);
292 regionMap[*region] = translatedRegion;
309 && zoneList.FindString("region", tz, &timeZoneCode) == B_OK; tz++) {
332 BString region(zoneID, slashPos);
333 if (region
[all...]
/haiku/src/tests/servers/app/newClipping/
H A DMyView.cpp201 void MyView::CopyRegion(BRegion *region, int32 xOffset, int32 yOffset) argument
204 int32 count = region->CountRects();
210 nodes[i].init(region->RectAt(i), count);
214 BRect a = region->RectAt(i);
216 BRect b = region->RectAt(k);
/haiku/src/add-ons/decorators/MacDecorator/
H A DMacDecorator.cpp114 Region region = Decorator::RegionAt(where, tab); local
115 if (region != REGION_NONE)
116 return region;
137 MacDecorator::SetRegionHighlight(Region region, uint8 highlight, argument
146 switch (region) {
148 if (highlight != RegionHighlight(region))
153 if (highlight != RegionHighlight(region)) {
160 if (highlight != RegionHighlight(region))
169 return Decorator::SetRegionHighlight(region, highlight, dirty, tabIndex);
685 // TODO: we could be much smarter about the update region
824 _GetFootprint(BRegion* region) argument
[all...]
/haiku/src/servers/app/
H A DWindow.cpp197 // start from full region (as if the window was fully visible)
199 // clip to region still available on screen
208 Window::GetFullRegion(BRegion* region) argument
214 GetBorderRegion(region);
215 region->Include(fFrame);
220 Window::GetBorderRegion(BRegion* region) argument
227 *region = decorator->GetFootprint();
229 region->MakeEmpty();
234 Window::GetContentRegion(BRegion* region) argument
243 *region
463 CopyContents(BRegion* region, int32 xOffset, int32 yOffset) argument
697 GetEffectiveDrawingRegion(View* view, BRegion& region) argument
1750 _ShiftPartOfRegion(BRegion* region, BRegion* regionToShift, int32 xOffset, int32 yOffset) argument
[all...]
H A DCanvas.cpp140 Canvas::SetUserClipping(const BRegion* region) argument
142 fDrawState->SetClippingRegion(region);
H A DDrawState.h83 void SetClippingRegion(const BRegion* region);
87 bool GetCombinedClippingRegion(BRegion* region) const;
H A DView.cpp645 BRegion* region = fWindow->GetRegion();
646 if (region) {
647 region->Set(oldVisibleBounds & newVisibleBounds);
648 fWindow->CopyContents(region, x, y);
650 region->Set(oldVisibleBounds);
652 region->Exclude((clipping_rect)newVisibleBounds);
655 fWindow->RecycleRegion(region);
698 // the dirty region is just the difference of
782 // remember old bounds for tracking dirty region
809 // find the dirty region a
1301 AddTokensForViewsInRegion(BPrivate::PortLink& link, BRegion& region, BRegion* windowContentClipping) argument
[all...]
H A DServerWindow.cpp2128 // if this view is hidden, it has no visible region
2135 BRegion region(fCurrentDrawingRegion);
2136 fCurrentView->ScreenToLocalTransform().Apply(&region);
2137 fLink.AttachRegion(region);
2148 // region for the current draw state,
2149 // but an *empty* region is actually valid!
2156 // we are supposed to set the clipping region
2157 BRegion region; local
2158 if (rectCount > 0 && link.ReadRegion(&region) < B_OK)
2165 region
2284 BRegion region; local
3002 BRegion region; local
3016 BRegion region; local
3426 BRegion region; local
3698 BRegion region; local
3952 BRegion region; local
[all...]
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteDrawingEngine.cpp88 RemoteDrawingEngine::ConstrainClippingRegion(const BRegion* region) argument
90 if (fClippingRegion == *region)
93 fClippingRegion = *region;
98 message.AddRegion(*region);
604 RemoteDrawingEngine::FillRegion(BRegion& region, const rgb_color& color) argument
608 message.AddRegion(region);
660 RemoteDrawingEngine::FillRegion(BRegion& region) argument
662 BRegion clippedRegion = region;
670 message.AddRegion(clippedRegion.CountRects() < region.CountRects()
671 ? clippedRegion : region);
676 FillRegion(BRegion& region, const BGradient& gradient) argument
1073 _ExtractBitmapRegions(ServerBitmap& bitmap, uint32 options, const BRect& bitmapRect, const BRect& viewRect, double xScale, double yScale, BRegion& region, UtilityBitmap**& bitmaps) argument
[all...]
/haiku/src/tests/servers/app/drawing_debugger/
H A DDrawingDebugger.cpp22 int32 rectCount = region->CountRects();
24 BRect interestingRect = region->RectAt(i);
/haiku/src/servers/app/decorator/
H A DTabDecorator.h72 virtual bool SetRegionHighlight(Region region,
119 virtual void _GetFootprint(BRegion* region);
H A DDecorator.cpp720 Decorator::ExtendDirtyRegion(Region region, BRegion& dirty) argument
724 switch (region) {
791 /*! \brief Sets a specific highlight for a decorator region.
796 \param region The decorator region.
798 \param dirty The dirty region to be extended, if the highlight changes. Can
803 Decorator::SetRegionHighlight(Region region, uint8 highlight, BRegion* dirty, argument
808 int32 index = (int32)region - 1;
817 ExtendDirtyRegion(region, *dirty);
1064 // TODO: we could be much smarter about the update region
1193 _GetFootprint(BRegion *region) argument
1199 _GetOutlineFootprint(BRegion* region) argument
[all...]
H A DDefaultDecorator.cpp851 Region region = REGION_NONE; local
854 region = REGION_TAB;
857 region = REGION_CLOSE_BUTTON;
860 region = REGION_ZOOM_BUTTON;
863 region = REGION_LEFT_BORDER;
866 region = REGION_RIGHT_BORDER;
869 region = REGION_TOP_BORDER;
872 region = REGION_BOTTOM_BORDER;
875 region = REGION_RIGHT_BOTTOM_CORNER;
879 return GetComponentColors(component, RegionHighlight(region), _color
[all...]
/haiku/src/servers/app/stackandtile/
H A DSATWindow.h81 bool HighlightBorders(Decorator::Region region,
/haiku/src/add-ons/input_server/methods/pen/
H A DPenInputLooper.cpp81 BRegion region;
82 fOwner->GetScreenRegion(&region);
83 fInkWindow = new PenInputInkWindow(region.Frame());
/haiku/src/apps/remotedesktop/
H A DRemoteView.cpp561 BRegion region; local
562 if (message.ReadRegion(region) != B_OK)
565 Invalidate(&region);
571 BRegion region; local
574 message.ReadRegion(region);
580 fOffscreen->FillRegion(&region);
582 Invalidate(&region);
1117 BRegion region; local
1118 if (message.ReadRegion(region) != B_OK)
1122 offscreen->FillRegion(&region, patter
[all...]
/haiku/src/kits/tracker/
H A DCountView.cpp273 BRegion region; local
274 region.Set(BarberPoleInnerRect());
275 ConstrainClippingRegion(&region);
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp606 BRegion region; local
607 _GetSelectionRegion(region);
608 region.Include(&oldSelectionRegion);
609 Invalidate(region.Frame());
820 // TODO: support selection in the text region as well
928 MemoryView::_GetSelectionRegion(BRegion& region) const
933 region.MakeEmpty();
944 region.Include(rect);
953 region.Include(rect);
956 // middle region
[all...]
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.cpp929 Region region = REGION_NONE; local
932 region = REGION_TAB;
935 region = REGION_CLOSE_BUTTON;
938 region = REGION_ZOOM_BUTTON;
941 region = REGION_LEFT_BORDER;
944 region = REGION_RIGHT_BORDER;
947 region = REGION_TOP_BORDER;
950 region = REGION_BOTTOM_BORDER;
953 region = REGION_RIGHT_BOTTOM_CORNER;
957 return GetComponentColors(component, RegionHighlight(region), _color
[all...]

Completed in 238 milliseconds

123456