Home
last modified time | relevance | path

Searched refs:Decorator (Results 1 – 25 of 73) sorted by relevance

123

/haiku/src/servers/app/decorator/
H A DDecorator.cpp31 Decorator::Tab::Tab() in Tab()
76 Decorator::Decorator(DesktopSettings& settings, BRect frame, in Decorator() function in Decorator
116 Decorator::~Decorator() in ~Decorator()
121 Decorator::Tab*
122 Decorator::AddTab(DesktopSettings& settings, const char* title, in AddTab()
127 Decorator::Tab* tab = _AllocateNewTab(); in AddTab()
146 Decorator::Tab* oldTop = fTopTab; in AddTab()
161 Decorator::RemoveTab(int32 index, BRegion* updateRegion) in RemoveTab()
169 Decorator::Tab* tab = fTabList.RemoveItemAt(index); in RemoveTab()
182 Decorator::MoveTab(int32 from, int32 to, bool isMoving, BRegion* updateRegion) in MoveTab()
[all …]
H A DDefaultWindowBehaviour.cpp333 ::Decorator* decorator = fWindow->Decorator(); in AdjustMultiTabLocation()
377 Decorator::Region region) in ResizeBorderState()
385 case Decorator::REGION_TAB: in ResizeBorderState()
388 case Decorator::REGION_LEFT_BORDER: in ResizeBorderState()
391 case Decorator::REGION_RIGHT_BORDER: in ResizeBorderState()
394 case Decorator::REGION_TOP_BORDER: in ResizeBorderState()
397 case Decorator::REGION_BOTTOM_BORDER: in ResizeBorderState()
400 case Decorator::REGION_LEFT_TOP_CORNER: in ResizeBorderState()
404 case Decorator::REGION_LEFT_BOTTOM_CORNER: in ResizeBorderState()
408 case Decorator::REGION_RIGHT_TOP_CORNER: in ResizeBorderState()
[all …]
H A DDecorator.h35 class Decorator {
105 Decorator(DesktopSettings& settings,
108 virtual ~Decorator();
110 virtual Decorator::Tab* AddTab(DesktopSettings& settings,
120 Decorator::Tab* TabAt(int32 index) const in TabAt()
149 BRect TabRect(Decorator::Tab* tab) const;
156 const char* Title(Decorator::Tab* tab) const;
162 bool IsFocus(Decorator::Tab* tab) const;
214 virtual Decorator::Tab* _AllocateNewTab();
224 virtual void _DrawTab(Decorator::Tab* tab, BRect rect) = 0;
[all …]
H A DDefaultDecorator.h36 Decorator::Tab* tab = NULL);
43 virtual void _DrawTab(Decorator::Tab* tab, BRect r);
44 virtual void _DrawTitle(Decorator::Tab* tab, BRect r);
45 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
47 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
49 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
60 ServerBitmap* _GetBitmapForButton(Decorator::Tab* tab,
66 Decorator::Tab* tab = NULL);
H A DTabDecorator.h28 class TabDecorator: public Decorator {
86 virtual void _DrawTab(Decorator::Tab* tab, BRect r) = 0;
88 virtual void _DrawButtons(Decorator::Tab* tab,
90 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
92 virtual void _DrawTitle(Decorator::Tab* tab, BRect r) = 0;
93 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
96 virtual void _SetTitle(Decorator::Tab* tab,
103 virtual void _SetFocus(Decorator::Tab* tab);
104 virtual bool _SetTabLocation(Decorator::Tab* tab,
128 void _LayoutTabItems(Decorator::Tab* tab,
H A DTabDecorator.cpp71 Decorator(settings, frame, desktop), in TabDecorator()
133 Decorator::Region
137 Region region = Decorator::RegionAt(where, tab); in RegionAt()
181 Decorator::Tab* tab in SetRegionHighlight()
182 = static_cast<Decorator::Tab*>(_TabAt(tabIndex)); in SetRegionHighlight()
201 return Decorator::SetRegionHighlight(region, highlight, dirty, tabIndex); in SetRegionHighlight()
310 Decorator::Tab* tab = fTabList.ItemAt(i); in _DoLayout()
359 Decorator::Tab* tab = _TabAt(i); in _DoTabLayout()
445 Decorator::Tab* tab = fTabList.ItemAt(i); in _DoTabLayout()
469 Decorator::Tab* tab = fTabList.ItemAt(i); in _DistributeTabSize()
[all …]
H A DDecorManager.h45 Decorator* AllocateDecorator(Desktop* desktop,
55 virtual Decorator* _AllocateDecorator(DesktopSettings& settings,
71 Decorator* AllocateDecorator(Window *window);
H A DDefaultDecorator.cpp108 ComponentColors _colors, Decorator::Tab* _tab) in GetComponentColors()
110 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab); in GetComponentColors()
489 DefaultDecorator::_DrawTab(Decorator::Tab* tab, BRect invalid) in _DrawTab()
573 DefaultDecorator::_DrawTitle(Decorator::Tab* _tab, BRect rect) in _DrawTitle()
578 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab); in _DrawTitle()
627 DefaultDecorator::_DrawClose(Decorator::Tab* _tab, bool direct, BRect rect) in _DrawClose()
632 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab); in _DrawClose()
656 DefaultDecorator::_DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect) in _DrawZoom()
664 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab); in _DrawZoom()
678 DefaultDecorator::_DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) in _DrawMinimize()
[all …]
H A DMagneticBorder.cpp31 Decorator* decorator = window->Decorator(); in AlterDeltaForSnap()
H A DDecorManager.cpp58 Decorator*
66 Decorator* decorator; in AllocateDecorator()
99 Decorator*
127 Decorator*
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.h31 virtual Decorator* _AllocateDecorator(DesktopSettings& settings,
43 Decorator::Tab* tab = NULL);
50 virtual void _DrawTab(Decorator::Tab* tab, BRect r);
51 virtual void _DrawTitle(Decorator::Tab* tab, BRect r);
52 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
54 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
56 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
65 ServerBitmap* _GetBitmapForButton(Decorator::Tab* tab,
71 Decorator::Tab* tab = NULL);
H A DFlatDecorator.cpp64 Decorator*
126 ComponentColors _colors, Decorator::Tab* _tab) in GetComponentColors()
128 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab); in GetComponentColors()
535 FlatDecorator::_DrawTab(Decorator::Tab* tab, BRect invalid) in _DrawTab()
639 FlatDecorator::_DrawTitle(Decorator::Tab* _tab, BRect rect) in _DrawTitle()
644 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab); in _DrawTitle()
693 FlatDecorator::_DrawClose(Decorator::Tab* _tab, bool direct, BRect rect) in _DrawClose()
698 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab); in _DrawClose()
722 FlatDecorator::_DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect) in _DrawZoom()
730 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab); in _DrawZoom()
[all …]
/haiku/src/add-ons/decorators/WinDecorator/
H A DWinDecorator.h28 virtual Decorator* _AllocateDecorator(DesktopSettings& settings,
53 virtual void _DrawButtons(Decorator::Tab* tab,
55 virtual void _DrawTab(Decorator::Tab* tab, BRect rect);
56 virtual void _DrawTitle(Decorator::Tab* tab, BRect rect);
58 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
60 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
62 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
65 virtual void _SetTitle(Decorator::Tab* tab, const char* string,
71 Decorator::Tab* _AllocateNewTab();
82 virtual void _SetFocus(Decorator::Tab* tab);
H A DWinDecorator.cpp45 Decorator*
120 Decorator::Region
126 Decorator::Tab* tab = fTabList.ItemAt(i); in RegionAt()
133 Region region = Decorator::RegionAt(where, tabIndex); in RegionAt()
159 Decorator::Tab* tab in SetRegionHighlight()
160 = static_cast<Decorator::Tab*>(_TabAt(tabIndex)); in SetRegionHighlight()
185 return Decorator::SetRegionHighlight(region, highlight, dirty, tabIndex); in SetRegionHighlight()
240 Decorator::Tab* tab = fTabList.ItemAt(i); in _DoLayout()
260 Decorator::Tab* tab = fTabList.ItemAt(i); in _DoLayout()
327 WinDecorator::_DrawTab(Decorator::Tab* tab, BRect rect) in _DrawTab()
[all …]
H A Dresources.rdef4 "short_descr" = "Decorator resembling Windows 95",
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.h28 virtual Decorator* _AllocateDecorator(DesktopSettings& settings,
41 Decorator::Tab* tab = NULL);
46 virtual void _DrawTab(Decorator::Tab* tab, BRect rect);
47 virtual void _DrawTitle(Decorator::Tab* tab, BRect rect);
48 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
50 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
52 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
69 ServerBitmap* _GetBitmapForButton(Decorator::Tab* tab,
75 Decorator::Tab* tab = NULL);
/haiku/src/add-ons/decorators/MacDecorator/
H A DMacDecorator.h24 virtual Decorator* _AllocateDecorator(DesktopSettings& settings,
49 virtual void _DrawTab(Decorator::Tab* tab, BRect invalid);
50 virtual void _DrawButtons(Decorator::Tab* tab,
52 virtual void _DrawTitle(Decorator::Tab* tab, BRect rect);
54 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
56 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
58 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
67 Decorator::Tab* _AllocateNewTab();
82 void _DrawButton(Decorator::Tab* tab, bool direct,
H A DMacDecorator.cpp45 Decorator*
110 Decorator::Region
114 Region region = Decorator::RegionAt(where, tab); in RegionAt()
140 Decorator::Tab* tab in SetRegionHighlight()
141 = static_cast<Decorator::Tab*>(_TabAt(tabIndex)); in SetRegionHighlight()
169 return Decorator::SetRegionHighlight(region, highlight, dirty, tabIndex); in SetRegionHighlight()
229 Decorator::Tab* tab = fTabList.ItemAt(i); in _DoLayout()
270 Decorator::Tab* tab = fTabList.ItemAt(i); in _DoLayout()
491 MacDecorator::_DrawTab(Decorator::Tab* tab, BRect invalid) in _DrawTab()
612 MacDecorator::_DrawButtons(Decorator::Tab* tab, const BRect& invalid) in _DrawButtons()
[all …]
/haiku/src/servers/app/
H A DWindow.cpp135 ::Decorator* decorator = Decorator(); in Window()
225 ::Decorator* decorator = Decorator(); in GetBorderRegion()
308 ::Decorator* decorator = Decorator(); in MoveBy()
375 ::Decorator* decorator = Decorator(); in ResizeBy()
425 ::Decorator* decorator = Decorator(); in SetOutlinesDelta()
610 ::Decorator*
611 Window::Decorator() const in Decorator() function in Window
615 return fCurrentStack->Decorator(); in Decorator()
622 ::Decorator* decorator = NULL; in ReloadDecor()
1068 ::Decorator* decorator = Decorator(); in SetTitle()
[all …]
H A DWindow.h39 WindowStack(::Decorator* decorator);
42 void SetDecorator(::Decorator* decorator);
43 ::Decorator* Decorator();
59 ObjectDeleter< ::Decorator>
73 class Decorator; variable
104 ::Decorator* Decorator() const;
/haiku/src/servers/app/stackandtile/
H A DStacking.cpp230 if (!window->Decorator()) in FindSnappingCandidates()
236 if (!window->Decorator()->TitleBarRect().Contains(mousePosition)) in FindSnappingCandidates()
240 mousePosition.y = window->Decorator()->TitleBarRect().top; in FindSnappingCandidates()
246 if (parentWindow == window || parentWindow->Decorator() == NULL) in FindSnappingCandidates()
251 Decorator::Tab* tab = parentWindow->Decorator()->TabAt( in FindSnappingCandidates()
H A DTiling.cpp470 Decorator::REGION_RIGHT_BORDER, highlight); in _HighlightWindows()
474 Decorator::REGION_BOTTOM_BORDER, highlight); in _HighlightWindows()
478 Decorator::REGION_LEFT_BORDER, highlight); in _HighlightWindows()
482 Decorator::REGION_TOP_BORDER, highlight); in _HighlightWindows()
485 fSATWindow->HighlightBorders(Decorator::REGION_LEFT_BORDER, highlight); in _HighlightWindows()
487 fSATWindow->HighlightBorders(Decorator::REGION_TOP_BORDER, highlight); in _HighlightWindows()
489 fSATWindow->HighlightBorders(Decorator::REGION_RIGHT_BORDER, highlight); in _HighlightWindows()
491 fSATWindow->HighlightBorders(Decorator::REGION_BOTTOM_BORDER, in _HighlightWindows()
500 Decorator::Region region, bool highlight) in _SearchHighlightWindow()
545 SATTiling::_HighlightWindows(WindowArea* area, Decorator::Region region, in _HighlightWindows()
H A DTiling.h59 Decorator::Region region, bool highlight);
61 Decorator::Region region, bool highlight);
H A DStackAndTile.cpp282 case Decorator::REGION_TAB: in MouseDown()
283 case Decorator::REGION_LEFT_BORDER: in MouseDown()
284 case Decorator::REGION_RIGHT_BORDER: in MouseDown()
285 case Decorator::REGION_TOP_BORDER: in MouseDown()
286 case Decorator::REGION_BOTTOM_BORDER: in MouseDown()
287 case Decorator::REGION_LEFT_TOP_CORNER: in MouseDown()
288 case Decorator::REGION_LEFT_BOTTOM_CORNER: in MouseDown()
289 case Decorator::REGION_RIGHT_TOP_CORNER: in MouseDown()
290 case Decorator::REGION_RIGHT_BOTTOM_CORNER: in MouseDown()
/haiku/data/catalogs/preferences/appearance/
H A Dnl.catkeys25 Decorator: DecorSettingsView Decorator:
38 Choose Decorator DecorSettingsView Decorator kiezen

123