Derived from: BStringView
Declared in: myStringDrawer.h
Library: libBeGUI.so
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 two parameters, paramName and paramText are passed on to the BStringView class.
The next parameter, pparamFont sets the font for the text. It may be NULL, in which case the string is drawn in the application's default font.
The next 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 1.0.1
Copyright © 1998-1999 Ed Musgrove Be Developer #2076. All rights reserved.
edgar@harbornet.com
emusgrov@linknet.kitsap.lib.wa.us
Last modified January 19, 1999.