* Coding style cleanup.
* Made inline getters in SATDecorator const. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39626 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
* Clemens Zeidler <[email protected]>
|
||||
*/
|
||||
|
||||
|
||||
#include "SATDecorator.h"
|
||||
|
||||
#include <new>
|
||||
@@ -541,4 +542,3 @@ extern "C" DecorAddOn* (instantiate_decor_addon)(image_id id, const char* name)
|
||||
{
|
||||
return new (std::nothrow)SATDecorAddOn(id, name);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,21 +32,27 @@ protected:
|
||||
class SATDecorator : public DefaultDecorator {
|
||||
public:
|
||||
SATDecorator(DesktopSettings& settings,
|
||||
BRect frame, window_look look, uint32 flags);
|
||||
BRect frame, window_look look,
|
||||
uint32 flags);
|
||||
|
||||
void HighlightTab(bool active, BRegion* dirty);
|
||||
void HighlightBorders(bool active, BRegion* dirty);
|
||||
bool IsTabHighlighted() { return fTabHighlighted; }
|
||||
bool IsBordersHighlighted() { return fBordersHighlighted; }
|
||||
bool IsTabHighlighted() const
|
||||
{ return fTabHighlighted; }
|
||||
bool IsBordersHighlighted() const
|
||||
{ return fBordersHighlighted; }
|
||||
|
||||
/*! Indicates that window is stacked */
|
||||
void SetStackedMode(bool stacked, BRegion* dirty);
|
||||
bool StackedMode() { return fStackedMode; };
|
||||
bool StackedMode() const
|
||||
{ return fStackedMode; };
|
||||
|
||||
/*! Set the tab length if the decorator is in stacked mode and if the
|
||||
tab is the last one in the tab bar. */
|
||||
void SetStackedTabLength(float length, BRegion* dirty);
|
||||
float StackedTabLength() { return fStackedTabLength; }
|
||||
/*! Set the tab length if the decorator is in stacked mode and if
|
||||
the tab is the last one in the tab bar. */
|
||||
void SetStackedTabLength(float length,
|
||||
BRegion* dirty);
|
||||
float StackedTabLength() const
|
||||
{ return fStackedTabLength; }
|
||||
|
||||
protected:
|
||||
void _DoLayout();
|
||||
@@ -70,4 +76,5 @@ private:
|
||||
bool fStackedTabShifting;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user