FSCheckBox

 

Derived from: public BCheckBox, public FSView

Declared in: FSCheckBox.h

Library: none


Overview

BCheckbox-derived class which provides font-sensitivity for the label text.

 


Constructor and Destructor


FSCheckBox()

 
      FSCheckBox(const char* name, const char* label, BMessage* message,
            uint32 resizeMask = B_FOLLOW_LEFT|B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW|B_NAVIGABLE)
 
 

Creates a FSCheckBox at the minimum size necessary to accommodate the label..


Member Functions


SetFont()

 
      virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL)
 

Augments the BCheckBox version of SetFont() to resize the FSCheckBox to accommodate the label.


By Brian Tietz

Copyright 2000

Bug reports (including documentation errors) and feature requests can be sent to briant@timelinevista.com.