StatusBar Class

Definition

Line 11 of System.Windows/StatusBar.cm

Inheritance

Constructors & Destructor

public StatusBar()
public StatusBar(const Font& font_, const Color& backgroundColor, const Point& location, const Size& size, Dock dock, Anchors anchors)

Member Functions

public void AddItem(StatusBarItem* statusBarItem)
private inline nothrow bool Changed() const
protected override nothrow Padding DefaultPadding() const
private void DrawItems(Graphics& graphics)
private void DrawTopLine(Graphics& graphics)
private void Measure(Graphics& graphics)
protected override void OnPaint(PaintEventArgs& args)
public inline nothrow const Color& RaisedBorderInnerRightBottomColor() const
internal inline nothrow const Pen& RaisedBorderInnerRightBottomPen() const
public inline nothrow const Color& RaisedBorderInnerTopLeftColor() const
internal inline nothrow const Pen& RaisedBorderInnerTopLeftPen() const
public inline nothrow const Color& RaisedBorderOuterRightBottomColor() const
internal inline nothrow const Pen& RaisedBorderOuterRightBottomPen() const
public inline nothrow const Color& RaisedBorderOuterTopLeftColor() const
internal inline nothrow const Pen& RaisedBorderOuterTopLeftPen() const
private inline nothrow void ResetChanged()
internal inline nothrow void SetChanged()
public void SetRaisedBorderInnerRightBottomColor(const Color& raisedBorderInnerRightBottomColor_)
public void SetRaisedBorderInnerTopLeftColor(const Color& raisedBorderInnerTopLeftColor_)
public void SetRaisedBorderOuterTopLeftColor(const Color& raisedBorderOuterTopLeftColor_)
public void SetRaisedBorderRightBottomColor(const Color& raisedBorderOuterRightBottomColor_)
public void SetSunkenBorderInnerRightBottomColor(const Color& sunkenBorderInnerRightBottomColor_)
public void SetSunkenBorderInnerTopLeftColor(const Color& sunkenBorderInnerTopLeftColor_)
public void SetSunkenBorderOuterRightBottomColor(const Color& sunkenBorderOuterRightBottomColor_)
public void SetSunkenBorderOuterTopLeftColor(const Color& sunkenBorderOuterTopLeftColor_)
public void SetTextColor(const Color& textColor_)
public void SetTopLineColor(const Color& topLineColor_)
public inline nothrow const Color& SunkenBorderInnerRightBottomColor() const
internal inline nothrow const Pen& SunkenBorderInnerRightBottomPen() const
public inline nothrow const Color& SunkenBorderInnerTopLeftColor() const
internal inline nothrow const Pen& SunkenBorderInnerTopLeftPen() const
public inline nothrow const Color& SunkenBorderOuterRightBottomColor() const
internal inline nothrow const Pen& SunkenBorderOuterRightBottomPen() const
public inline nothrow const Color& SunkenBorderOuterTopLeftColor() const
internal inline nothrow const Pen& SunkenBorderOuterTopLeftPen() const
internal inline nothrow const Brush& TextBrush() const
public inline nothrow const Color& TextColor() const
internal inline nothrow const Font& TextFont() const
public inline nothrow const Color& TopLineColor() const
internal inline nothrow const Pen& TopLinePen() const

Enumerated Types

private enum Flags

Constants

private const int initialHeight = 20
private const int topLineWidth = 1

Member Variables

private Flags flags
private Font font
private Color raisedBorderInnerRightBottomColor
private Pen raisedBorderInnerRightBottomPen
private Color raisedBorderInnerTopLeftColor
private Pen raisedBorderInnerTopLeftPen
private Color raisedBorderOuterRightBottomColor
private Pen raisedBorderOuterRightBottomPen
private Color raisedBorderOuterTopLeftColor
private Pen raisedBorderOuterTopLeftPen
private List<UniquePtr<StatusBarItem>> statusBarItems
private StringFormat stringFormat
private Color sunkenBorderInnerRightBottomColor
private Pen sunkenBorderInnerRightBottomPen
private Color sunkenBorderInnerTopLeftColor
private Pen sunkenBorderInnerTopLeftPen
private Color sunkenBorderOuterRightBottomColor
private Pen sunkenBorderOuterRightBottomPen
private Color sunkenBorderOuterTopLeftColor
private Pen sunkenBorderOuterTopLeftPen
private SolidBrush textBrush
private Color textColor
private Color topLineColor
private Pen topLinePen

Constructor& Destructor Details

StatusBar Constructor

public StatusBar()

Definition
Line 37 of System.Windows/StatusBar.cm


StatusBar Constructor

public StatusBar(const Font& font_, const Color& backgroundColor, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 21 of System.Windows/StatusBar.cm


Member Function Details

AddItem Member Function

public void AddItem(StatusBarItem* statusBarItem)

Definition
Line 40 of System.Windows/StatusBar.cm


Changed Member Function

private inline nothrow bool Changed()

Definition
Line 312 of System.Windows/StatusBar.cm


DefaultPadding Member Function

protected override nothrow Padding DefaultPadding()

Definition
Line 221 of System.Windows/StatusBar.cm


DrawItems Member Function

private void DrawItems(Graphics& graphics)

Definition
Line 244 of System.Windows/StatusBar.cm


DrawTopLine Member Function

private void DrawTopLine(Graphics& graphics)

Definition
Line 237 of System.Windows/StatusBar.cm


Measure Member Function

private void Measure(Graphics& graphics)

Definition
Line 253 of System.Windows/StatusBar.cm


OnPaint Member Function

protected override void OnPaint(PaintEventArgs& args)

Definition
Line 225 of System.Windows/StatusBar.cm


RaisedBorderInnerRightBottomColor Member Function

public inline nothrow const Color& RaisedBorderInnerRightBottomColor()

Definition
Line 204 of System.Windows/StatusBar.cm


RaisedBorderInnerRightBottomPen Member Function

internal inline nothrow const Pen& RaisedBorderInnerRightBottomPen()

Definition
Line 217 of System.Windows/StatusBar.cm


RaisedBorderInnerTopLeftColor Member Function

public inline nothrow const Color& RaisedBorderInnerTopLeftColor()

Definition
Line 186 of System.Windows/StatusBar.cm


RaisedBorderInnerTopLeftPen Member Function

internal inline nothrow const Pen& RaisedBorderInnerTopLeftPen()

Definition
Line 199 of System.Windows/StatusBar.cm


RaisedBorderOuterRightBottomColor Member Function

public inline nothrow const Color& RaisedBorderOuterRightBottomColor()

Definition
Line 169 of System.Windows/StatusBar.cm


RaisedBorderOuterRightBottomPen Member Function

internal inline nothrow const Pen& RaisedBorderOuterRightBottomPen()

Definition
Line 182 of System.Windows/StatusBar.cm


RaisedBorderOuterTopLeftColor Member Function

public inline nothrow const Color& RaisedBorderOuterTopLeftColor()

Definition
Line 152 of System.Windows/StatusBar.cm


RaisedBorderOuterTopLeftPen Member Function

internal inline nothrow const Pen& RaisedBorderOuterTopLeftPen()

Definition
Line 165 of System.Windows/StatusBar.cm


ResetChanged Member Function

private inline nothrow void ResetChanged()

Definition
Line 320 of System.Windows/StatusBar.cm


SetChanged Member Function

internal inline nothrow void SetChanged()

Definition
Line 316 of System.Windows/StatusBar.cm


SetRaisedBorderInnerRightBottomColor Member Function

public void SetRaisedBorderInnerRightBottomColor(const Color& raisedBorderInnerRightBottomColor_)

Definition
Line 208 of System.Windows/StatusBar.cm


SetRaisedBorderInnerTopLeftColor Member Function

public void SetRaisedBorderInnerTopLeftColor(const Color& raisedBorderInnerTopLeftColor_)

Definition
Line 190 of System.Windows/StatusBar.cm


SetRaisedBorderOuterTopLeftColor Member Function

public void SetRaisedBorderOuterTopLeftColor(const Color& raisedBorderOuterTopLeftColor_)

Definition
Line 156 of System.Windows/StatusBar.cm


SetRaisedBorderRightBottomColor Member Function

public void SetRaisedBorderRightBottomColor(const Color& raisedBorderOuterRightBottomColor_)

Definition
Line 173 of System.Windows/StatusBar.cm


SetSunkenBorderInnerRightBottomColor Member Function

public void SetSunkenBorderInnerRightBottomColor(const Color& sunkenBorderInnerRightBottomColor_)

Definition
Line 139 of System.Windows/StatusBar.cm


SetSunkenBorderInnerTopLeftColor Member Function

public void SetSunkenBorderInnerTopLeftColor(const Color& sunkenBorderInnerTopLeftColor_)

Definition
Line 105 of System.Windows/StatusBar.cm


SetSunkenBorderOuterRightBottomColor Member Function

public void SetSunkenBorderOuterRightBottomColor(const Color& sunkenBorderOuterRightBottomColor_)

Definition
Line 122 of System.Windows/StatusBar.cm


SetSunkenBorderOuterTopLeftColor Member Function

public void SetSunkenBorderOuterTopLeftColor(const Color& sunkenBorderOuterTopLeftColor_)

Definition
Line 88 of System.Windows/StatusBar.cm


SetTextColor Member Function

public void SetTextColor(const Color& textColor_)

Definition
Line 50 of System.Windows/StatusBar.cm


SetTopLineColor Member Function

public void SetTopLineColor(const Color& topLineColor_)

Definition
Line 75 of System.Windows/StatusBar.cm


SunkenBorderInnerRightBottomColor Member Function

public inline nothrow const Color& SunkenBorderInnerRightBottomColor()

Definition
Line 135 of System.Windows/StatusBar.cm


SunkenBorderInnerRightBottomPen Member Function

internal inline nothrow const Pen& SunkenBorderInnerRightBottomPen()

Definition
Line 148 of System.Windows/StatusBar.cm


SunkenBorderInnerTopLeftColor Member Function

public inline nothrow const Color& SunkenBorderInnerTopLeftColor()

Definition
Line 101 of System.Windows/StatusBar.cm


SunkenBorderInnerTopLeftPen Member Function

internal inline nothrow const Pen& SunkenBorderInnerTopLeftPen()

Definition
Line 114 of System.Windows/StatusBar.cm


SunkenBorderOuterRightBottomColor Member Function

public inline nothrow const Color& SunkenBorderOuterRightBottomColor()

Definition
Line 118 of System.Windows/StatusBar.cm


SunkenBorderOuterRightBottomPen Member Function

internal inline nothrow const Pen& SunkenBorderOuterRightBottomPen()

Definition
Line 131 of System.Windows/StatusBar.cm


SunkenBorderOuterTopLeftColor Member Function

public inline nothrow const Color& SunkenBorderOuterTopLeftColor()

Definition
Line 84 of System.Windows/StatusBar.cm


SunkenBorderOuterTopLeftPen Member Function

internal inline nothrow const Pen& SunkenBorderOuterTopLeftPen()

Definition
Line 97 of System.Windows/StatusBar.cm


TextBrush Member Function

internal inline nothrow const Brush& TextBrush()

Definition
Line 59 of System.Windows/StatusBar.cm


TextColor Member Function

public inline nothrow const Color& TextColor()

Definition
Line 46 of System.Windows/StatusBar.cm


TextFont Member Function

internal inline nothrow const Font& TextFont()

Definition
Line 63 of System.Windows/StatusBar.cm


TopLineColor Member Function

public inline nothrow const Color& TopLineColor()

Definition
Line 71 of System.Windows/StatusBar.cm


TopLinePen Member Function

internal inline nothrow const Pen& TopLinePen()

Definition
Line 67 of System.Windows/StatusBar.cm