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< tstringText
 Band text label.
 
TObjProperty< TBitmapBitmap
 The band's background bitmap.
 
TObjProperty< TColorFgColor
 Band colors -.
 
TObjProperty< TColorBgColor
 
TProperty< TWindow * > Child
 Handle of the band's child window.
 
TProperty< uintStyle
 Band style flags.
 
TProperty< uintWidth
 Width of the band: don't use -1.
 
TObjProperty< TSizeMinSize
 Minimum size of the band's child window don't use TSize(-1,-1)
 
TProperty< intId
 The band's ID number: don't use -1.
 
TProperty< intImageIndex
 Band image index (into rebar image list): don't use -1.
 
TProperty< uintMask
 Mask indicating which other members are valid.
 

Protected Member Functions

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

Protected Attributes

TCoolBarParent
 

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()

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

◆ DragMove()

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

◆ EndDrag()

void owl::TCoolBand::EndDrag ( )
inline

◆ GetBorders()

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

◆ GetRect()

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

◆ Init()

void owl::TCoolBand::Init ( )
protected

Definition at line 427 of file coolbar.cpp.

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

◆ Maximize()

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

◆ Minimize()

void owl::TCoolBand::Minimize ( )
inline

◆ operator<()

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

Definition at line 55 of file coolbar.h.

◆ operator==()

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

Definition at line 56 of file coolbar.h.

◆ SetupData()

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

Definition at line 444 of file coolbar.cpp.

References BgColor, Bitmap, Child, FgColor, Id, ImageIndex, Mask, MinSize, owl::TColor::None, Parent, Style, Text, and Width.

◆ ShowBand()

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

Friends And Related Symbol Documentation

◆ TCoolBar

Definition at line 37 of file coolbar.h.

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: