Searched refs:Decorator (Results 1 - 25 of 29) sorted by relevance

12

/haiku/src/servers/app/decorator/
H A DDecorator.cpp18 #include "Decorator.h"
29 Decorator::Tab::Tab()
72 \param frame Decorator frame rectangle
74 Decorator::Decorator(DesktopSettings& settings, BRect frame, function in class:Decorator
105 Decorator::~Decorator()
110 Decorator::Tab*
111 Decorator::AddTab(DesktopSettings& settings, const char* title,
114 Decorator
[all...]
H A DDefaultDecorator.h34 Decorator::Tab* tab = NULL);
41 virtual void _DrawTab(Decorator::Tab* tab, BRect r);
42 virtual void _DrawTitle(Decorator::Tab* tab, BRect r);
43 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
45 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
47 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
56 ServerBitmap* _GetBitmapForButton(Decorator::Tab* tab,
62 Decorator::Tab* tab = NULL);
H A DDecorator.h32 class Decorator { class
102 Decorator(DesktopSettings& settings,
105 virtual ~Decorator();
107 virtual Decorator::Tab* AddTab(DesktopSettings& settings,
117 Decorator::Tab* TabAt(int32 index) const
146 BRect TabRect(Decorator::Tab* tab) const;
153 const char* Title(Decorator::Tab* tab) const;
159 bool IsFocus(Decorator::Tab* tab) const;
208 virtual Decorator::Tab* _AllocateNewTab();
216 virtual void _DrawTab(Decorator
[all...]
H A DDefaultWindowBehaviour.cpp310 ::Decorator* decorator = fWindow->Decorator();
352 Decorator::Region region)
360 case Decorator::REGION_TAB:
363 case Decorator::REGION_LEFT_BORDER:
366 case Decorator::REGION_RIGHT_BORDER:
369 case Decorator::REGION_TOP_BORDER:
372 case Decorator::REGION_BOTTOM_BORDER:
375 case Decorator::REGION_LEFT_TOP_CORNER:
379 case Decorator
[all...]
H A DTabDecorator.h21 #include "Decorator.h"
27 class TabDecorator: public Decorator {
83 virtual void _DrawTab(Decorator::Tab* tab, BRect r) = 0;
85 virtual void _DrawButtons(Decorator::Tab* tab,
87 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
89 virtual void _DrawTitle(Decorator::Tab* tab, BRect r) = 0;
90 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
93 virtual void _SetTitle(Decorator::Tab* tab,
100 virtual void _SetFocus(Decorator::Tab* tab);
101 virtual bool _SetTabLocation(Decorator
[all...]
H A DDecorManager.h21 #include "Decorator.h"
45 Decorator* AllocateDecorator(Desktop* desktop,
55 virtual Decorator* _AllocateDecorator(DesktopSettings& settings,
71 Decorator* AllocateDecorator(Window *window);
H A DTabDecorator.cpp17 /*! Decorator made up of tabs */
66 // methods to the Decorator base class
70 Decorator(settings, frame, desktop),
124 Decorator::Region
128 Region region = Decorator::RegionAt(where, tab);
172 Decorator::Tab* tab
173 = static_cast<Decorator::Tab*>(_TabAt(tabIndex));
192 return Decorator::SetRegionHighlight(region, highlight, dirty, tabIndex);
294 Decorator::Tab* tab = fTabList.ItemAt(i);
315 Decorator
[all...]
H A DMagneticBorder.cpp14 #include "Decorator.h"
31 Decorator* decorator = window->Decorator();
H A DDecorManager.cpp57 Decorator*
65 Decorator* decorator;
98 Decorator*
126 Decorator*
H A DDefaultDecorator.cpp74 // methods to the Decorator base class
109 ComponentColors _colors, Decorator::Tab* _tab)
111 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab);
443 DefaultDecorator::_DrawTab(Decorator::Tab* tab, BRect invalid)
527 DefaultDecorator::_DrawTitle(Decorator::Tab* _tab, BRect rect)
532 Decorator::Tab* tab = static_cast<Decorator::Tab*>(_tab);
581 DefaultDecorator::_DrawClose(Decorator::Tab* _tab, bool direct, BRect rect)
586 Decorator
[all...]
H A DDefaultWindowBehaviour.h20 #include "Decorator.h"
91 Decorator::Region _RegionFor(const BMessage* message,
/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
[all...]
H A DWinDecorator.cpp12 /*! Decorator resembling Windows 95 */
45 Decorator*
120 Decorator::Region
126 Decorator::Tab* tab = fTabList.ItemAt(i);
133 Region region = Decorator::RegionAt(where, tabIndex);
159 Decorator::Tab* tab
160 = static_cast<Decorator::Tab*>(_TabAt(tabIndex));
185 return Decorator::SetRegionHighlight(region, highlight, dirty, tabIndex);
240 Decorator::Tab* tab = fTabList.ItemAt(i);
260 Decorator
[all...]
/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.cpp12 /*! Decorator resembling Mac OS 8 and 9 */
45 Decorator*
110 Decorator::Region
114 Region region = Decorator::RegionAt(where, tab);
140 Decorator::Tab* tab
141 = static_cast<Decorator::Tab*>(_TabAt(tabIndex));
166 return Decorator::SetRegionHighlight(region, highlight, dirty, tabIndex);
225 Decorator::Tab* tab = fTabList.ItemAt(i);
266 Decorator::Tab* tab = fTabList.ItemAt(i);
487 MacDecorator::_DrawTab(Decorator
[all...]
/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/servers/app/stackandtile/
H A DTiling.h13 #include "Decorator.h"
59 Decorator::Region region, bool highlight);
61 Decorator::Region region, bool highlight);
H A DSATDecorator.h35 Decorator::Tab* tab = NULL);
H A DStacking.cpp222 if (!window->Decorator())
228 if (!window->Decorator()->TitleBarRect().Contains(mousePosition))
232 mousePosition.y = window->Decorator()->TitleBarRect().top;
238 if (parentWindow == window || parentWindow->Decorator() == NULL)
243 Decorator::Tab* tab = parentWindow->Decorator()->TabAt(
H A DTiling.cpp470 Decorator::REGION_RIGHT_BORDER, highlight);
474 Decorator::REGION_BOTTOM_BORDER, highlight);
478 Decorator::REGION_LEFT_BORDER, highlight);
482 Decorator::REGION_TOP_BORDER, highlight);
485 fSATWindow->HighlightBorders(Decorator::REGION_LEFT_BORDER, highlight);
487 fSATWindow->HighlightBorders(Decorator::REGION_TOP_BORDER, highlight);
489 fSATWindow->HighlightBorders(Decorator::REGION_RIGHT_BORDER, highlight);
491 fSATWindow->HighlightBorders(Decorator::REGION_BOTTOM_BORDER,
500 Decorator::Region region, bool highlight)
545 SATTiling::_HighlightWindows(WindowArea* area, Decorator
[all...]
H A DStackAndTile.cpp282 case Decorator::REGION_TAB:
283 case Decorator::REGION_LEFT_BORDER:
284 case Decorator::REGION_RIGHT_BORDER:
285 case Decorator::REGION_TOP_BORDER:
286 case Decorator::REGION_BOTTOM_BORDER:
287 case Decorator::REGION_LEFT_TOP_CORNER:
288 case Decorator::REGION_LEFT_BOTTOM_CORNER:
289 case Decorator::REGION_RIGHT_TOP_CORNER:
290 case Decorator::REGION_RIGHT_BOTTOM_CORNER:
H A DSATWindow.h74 //! \return the complete window frame including the Decorator
81 bool HighlightBorders(Decorator::Region region,
H A DSATWindow.cpp66 return static_cast<SATDecorator*>(fWindow->Decorator());
424 decorator->SetRegionHighlight(Decorator::REGION_TAB, highlight, &dirty,
426 decorator->SetRegionHighlight(Decorator::REGION_CLOSE_BUTTON, highlight,
428 decorator->SetRegionHighlight(Decorator::REGION_ZOOM_BUTTON, highlight,
437 SATWindow::HighlightBorders(Decorator::Region region, bool active)
/haiku/src/servers/app/
H A DWindow.cpp29 #include "Decorator.h"
136 ::Decorator* decorator = Decorator();
230 ::Decorator* decorator = Decorator();
312 ::Decorator* decorator = Decorator();
379 ::Decorator* decorator = Decorator();
574 ::Decorator*
575 Window::Decorator() const function in class:Window
2328 WindowStack::Decorator() function in class:WindowStack
[all...]
H A DWindow.h36 WindowStack(::Decorator* decorator);
39 void SetDecorator(::Decorator* decorator);
40 ::Decorator* Decorator();
56 ::Decorator* fDecorator;
69 class Decorator;
105 ::Decorator* Decorator() const;

Completed in 130 milliseconds

12