OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TCoolBand Class Reference

#include <owl/coolbar.h>

Public Member Functions

 TCoolBand ()
 TCoolBand (uint id, const tstring &str=tstring(), TWindow *child=0, uint style=0)
 ~TCoolBand ()
bool operator< (const TCoolBand &band)
bool operator== (const TCoolBand &band)
void BeginDrag (const TPoint &point)
void DragMove (const TPoint &point)
void EndDrag ()
void Maximize (bool ideal)
void Minimize ()
bool ShowBand (bool show)
void GetBorders (TRect &rect)
void GetRect (TRect &rect)

Public Attributes

TObjProperty< tstring > Text
 Band text label.
TObjProperty< TBitmap > Bitmap
 The band's background bitmap.
TObjProperty< TColor > FgColor
 Band colors -.
TObjProperty< TColor > BgColor
TProperty< TWindow * > Child
 Handle of the band's child window.
TProperty< uint > Style
 Band style flags.
TProperty< uint > Width
 Width of the band: don't use -1.
TObjProperty< TSize > MinSize
 Minimum size of the band's child window don't use TSize(-1,-1).
TProperty< int > Id
 The band's ID number: don't use -1.
TProperty< int > ImageIndex
 Band image index (into rebar image list): don't use -1.
TProperty< uint > Mask
 Mask indicating which other members are valid.

Protected Member Functions

void Init ()
void SetupData (TCoolBar *parent, REBARBANDINFO &info)

Protected Attributes

TCoolBar * Parent

Friends

class TCoolBar

Detailed Description

Definition at line 36 of file coolbar.h.

Constructor & Destructor Documentation

◆ TCoolBand() [1/2]

owl::TCoolBand::TCoolBand ( )

Definition at line 401 of file coolbar.cpp.

References Init().

◆ TCoolBand() [2/2]

owl::TCoolBand::TCoolBand ( uint id,
const tstring & str = tstring(),
TWindow * child = 0,
uint style = 0 )

Definition at line 406 of file coolbar.cpp.

References Child, Id, Init(), Style, and Text.

◆ ~TCoolBand()

owl::TCoolBand::~TCoolBand ( )

Definition at line 418 of file coolbar.cpp.

Member Function Documentation

◆ BeginDrag()

◆ DragMove()

void owl::TCoolBand::DragMove ( const TPoint & point)
inline

◆ EndDrag()

void owl::TCoolBand::EndDrag ( )
inline

◆ GetBorders()

void owl::TCoolBand::GetBorders ( TRect & rect)
inline

◆ GetRect()

◆ Init()

void owl::TCoolBand::Init ( )
protected

Definition at line 427 of file coolbar.cpp.

References owl::TSize::TSize(), BgColor, Child, FgColor, Id, ImageIndex, Mask, MinSize, owl::TColor::None, Style, and Width.

◆ Maximize()

void owl::TCoolBand::Maximize ( bool ideal)
inline

◆ Minimize()

◆ operator<()

bool owl::TCoolBand::operator< ( const TCoolBand & band)
inline

Definition at line 55 of file coolbar.h.

References TCoolBand().

◆ operator==()

bool owl::TCoolBand::operator== ( const TCoolBand & band)
inline

Definition at line 56 of file coolbar.h.

References TCoolBand().

◆ SetupData()

void owl::TCoolBand::SetupData ( TCoolBar * parent,
REBARBANDINFO & info )
protected

◆ ShowBand()

bool owl::TCoolBand::ShowBand ( bool show)
inline

◆ TCoolBar

friend class TCoolBar
friend

Definition at line 37 of file coolbar.h.

References TCoolBand(), and TCoolBar.

Member Data Documentation

◆ BgColor

TObjProperty<TColor> owl::TCoolBand::BgColor

Definition at line 46 of file coolbar.h.

◆ Bitmap

TObjProperty<TBitmap> owl::TCoolBand::Bitmap

The band's background bitmap.

Definition at line 44 of file coolbar.h.

◆ Child

TProperty<TWindow*> owl::TCoolBand::Child

Handle of the band's child window.

Definition at line 47 of file coolbar.h.

◆ FgColor

TObjProperty<TColor> owl::TCoolBand::FgColor

Band colors -.

Definition at line 45 of file coolbar.h.

◆ Id

TProperty<int> owl::TCoolBand::Id

The band's ID number: don't use -1.

Definition at line 51 of file coolbar.h.

◆ ImageIndex

TProperty<int> owl::TCoolBand::ImageIndex

Band image index (into rebar image list): don't use -1.

Definition at line 52 of file coolbar.h.

◆ Mask

TProperty<uint> owl::TCoolBand::Mask

Mask indicating which other members are valid.

Definition at line 53 of file coolbar.h.

◆ MinSize

TObjProperty<TSize> owl::TCoolBand::MinSize

Minimum size of the band's child window don't use TSize(-1,-1).

Definition at line 50 of file coolbar.h.

◆ Parent

TCoolBar* owl::TCoolBand::Parent
protected

Definition at line 75 of file coolbar.h.

◆ Style

TProperty<uint> owl::TCoolBand::Style

Band style flags.

Definition at line 48 of file coolbar.h.

◆ Text

TObjProperty<tstring> owl::TCoolBand::Text

Band text label.

Definition at line 43 of file coolbar.h.

◆ Width

TProperty<uint> owl::TCoolBand::Width

Width of the band: don't use -1.

Definition at line 49 of file coolbar.h.


The documentation for this class was generated from the following files: