#include <BText.h>
Inheritance diagram for BText:


Public Member Functions | |
| BText (BWidget *parent, const BRect &frame) | |
| ~BText () | |
| void | setFirstLineColor (uint16 color) |
| void | resetFirstLineColor () |
| void | setTextDirection (BWidget::TextDirection dir) |
| BText doesn't support setTextDirection(). | |
| void | setText (const std::string &text) |
| bool | full () |
| int | indexOfLastCharacterOnScreen () |
| void | setStripSingleNewlines (bool stripSingleNL) |
| bool | stripSingleNewlines () |
| virtual void | setFont (BFont *font) |
| virtual void | draw (BImage &img) |
| Draw the widget onto the given image. | |
| void | clear () |
| void | setSlaveText (BText *slave) |
| BText * | slaveText () |
| virtual void | updateScroller (BScroller *scroller) |
| virtual void | scrollToPosition (BScroller *scroller, unsigned int position) |
Protected Member Functions | |
| void | rewrap (unsigned int index, unsigned int length) |
Protected Attributes | |
| std::string | _text |
| bool | _full |
| uint16 | _firstlinecolor |
| bool | _firstlinecolorset |
| bool | _stripSingleNL |
| std::vector< Line * > | _lines |
| int | _firstline |
| BText * | _slave |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Draw the widget onto the given image.
Reimplemented from BWidget. |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Implements BScrollable. |
|
|
|
|
|
Reimplemented from BWidget. |
|
|
|
|
|
|
|
|
|
|
|
BText doesn't support setTextDirection().
|
|
|
|
|
|
|
|
|
Implements BScrollable. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc3