Derived from: BStringView
Declared in: myStringDrawer.h
Library: not currently in a library--someday I hope!
The MyStringDrawer Class is used as a simple string drawing device. It is a wrapper for the BeOS BStringView class.
This is the constructor. The first four parameters, paramName, paramText, ui32ResizeFlags and ui32Flags are passed on to the BStringView class.
The fifth parameter, pparamFont sets the font for the text. It may be NULL.
The sixth parameter, lpparamLayoutMatrix is the LayoutMatrix to which this gadget will be attached.
There is a bit of code in this CTOR, if the parameter pparamFont is NULL the applications default font is used.
This is the destructor. It deletes two items.
This just overrides the BTextView method to provide color control, it calls the inherited version.
This just provides access to the private data.
This just provides access to the private data.
The BStringView class's method GetPreferredSize() has some problems, so I have provided a replacement which works for my needs.
for version 0.4.2
Copyright © 1998 Ed Musgrove Be Developer #2076. All rights reserved.
edgar@harbornet.com
emusgrov@linknet.kitsap.lib.wa.us
Last modified November 25, 1998.