2 * Copyright 2010-2015, Haiku, Inc.
3 * Distributed under the terms of the MIT License.
6 * Clemens Zeidler <haiku@clemens-zeidler.de>
8 #ifndef SAT_DECORATOR_H
9 #define SAT_DECORATOR_H
12 #include "DecorManager.h"
13 #include "DefaultDecorator.h"
14 #include "DefaultWindowBehaviour.h"
15 #include "StackAndTile.h"
21 class SATDecorator
: public DefaultDecorator
{
24 HIGHLIGHT_STACK_AND_TILE
= HIGHLIGHT_USER_DEFINED
28 SATDecorator(DesktopSettings
& settings
,
29 BRect frame
, Desktop
* desktop
);
32 virtual void UpdateColors(DesktopSettings
& settings
);
33 virtual void GetComponentColors(Component component
,
34 uint8 highlight
, ComponentColors _colors
,
35 Decorator::Tab
* tab
= NULL
);
38 rgb_color fHighlightTabColor
;
39 rgb_color fHighlightTabColorLight
;
40 rgb_color fHighlightTabColorBevel
;
41 rgb_color fHighlightTabColorShadow
;
45 class SATWindowBehaviour
: public DefaultWindowBehaviour
{
47 SATWindowBehaviour(Window
* window
,
51 virtual bool AlterDeltaForSnap(Window
* window
, BPoint
& delta
,
55 StackAndTile
* fStackAndTile
;