usb_ecm: Use the current configuration instead of a fixed one.
[haiku.git] / src / servers / app / stackandtile / Stacking.h
blobc5b7ad3c877bf0e351f0b43e3ef9ce6190d20cd5
1 /*
2 * Copyright 2010, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Clemens Zeidler <haiku@clemens-zeidler.de>
7 */
8 #ifndef STACKING_H
9 #define STACKING_H
11 #include "ObjectList.h"
12 #include "StackAndTile.h"
15 class SATWindow;
18 class StackingEventHandler
20 public:
21 static bool HandleMessage(SATWindow* sender,
22 BPrivate::LinkReceiver& link,
23 BPrivate::LinkSender& reply);
27 class SATStacking : public SATSnappingBehaviour {
28 public:
29 SATStacking(SATWindow* window);
30 ~SATStacking();
32 bool FindSnappingCandidates(SATGroup* group);
33 bool JoinCandidates();
34 void DoWindowLayout();
36 void RemovedFromArea(WindowArea* area);
37 void WindowLookChanged(window_look look);
38 private:
39 bool _IsStackableWindow(Window* window);
40 void _ClearSearchResult();
41 void _HighlightWindows(bool highlight = true);
43 SATWindow* fSATWindow;
45 SATWindow* fStackingParent;
48 #endif