Derived from: BTextView
Declared in: myTextView.h
Library: libBeGUI.so
The MyTextView Class is used as a simple (or not so simple) multi-line text entry box. It is a wrapper for the BeOS BTextView class.
This is the constructor. The first parameter, paramName is passed on to the BTextView. The next parameter, paramText is the text with which the gadget initially opens (it may be NULL).
The third and next parameters, fparamMaxWidth and fparamMaxHeight control the width and height of the text box.
The next parameter, lpparamLayoutMatrix is the LayoutMatrix to which this gadget will be attached.
There is a bit of code in this CTOR, it most all deals with text, filling the box and setting the style, size and color. The text entry region is limited to not being resizable, as doing so could cover up other gadgets.
This is the destructor. It does nothing.
This just overrides the BTextControl method to provide color control, it calls the inherited version.
The BTextView 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.