NetSurf
Public Member Functions | Private Attributes
BBitmapButton Class Reference
Inheritance diagram for BBitmapButton:
[legend]
Collaboration diagram for BBitmapButton:
[legend]

Public Member Functions

 BBitmapButton (BRect rect, const char *name, const char *label, BMessage *message)
 
 ~BBitmapButton ()
 
void Draw (BRect updateRect)
 
void SetBitmap (const char *attrName)
 

Private Attributes

BBitmap * fBitmap
 
BBitmap * fDisabledBitmap
 

Detailed Description

Definition at line 1634 of file scaffolding.cpp.

Constructor & Destructor Documentation

◆ BBitmapButton()

BBitmapButton::BBitmapButton ( BRect  rect,
const char *  name,
const char *  label,
BMessage *  message 
)

Definition at line 1649 of file scaffolding.cpp.

References SetBitmap().

Here is the call graph for this function:

◆ ~BBitmapButton()

BBitmapButton::~BBitmapButton ( )

Definition at line 1657 of file scaffolding.cpp.

References fBitmap, and fDisabledBitmap.

Member Function Documentation

◆ Draw()

void BBitmapButton::Draw ( BRect  updateRect)

Definition at line 1664 of file scaffolding.cpp.

References fBitmap, and fDisabledBitmap.

◆ SetBitmap()

void BBitmapButton::SetBitmap ( const char *  attrName)

Definition at line 1689 of file scaffolding.cpp.

References fBitmap, fDisabledBitmap, and gAppResources.

Referenced by BBitmapButton().

Here is the caller graph for this function:

Field Documentation

◆ fBitmap

BBitmap* BBitmapButton::fBitmap
private

Definition at line 1644 of file scaffolding.cpp.

Referenced by Draw(), SetBitmap(), and ~BBitmapButton().

◆ fDisabledBitmap

BBitmap* BBitmapButton::fDisabledBitmap
private

Definition at line 1645 of file scaffolding.cpp.

Referenced by Draw(), SetBitmap(), and ~BBitmapButton().


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