Derived from: ScrollingWindow
Declared in: fontPrefWindow.h
Library: libBeGUI.so
The FontPrefWindow Class creates the control panel which access all the font controls for preferences.
This is the constructor. It creates the gadgets and menus.
This is the destructor. It frees some memory and tells the Font Display Panel to close. It also set's it's pointer to NULL in it's owner class MyPreferences. If any changes were made it sends a message to MyPreferences to quit, which MyPreferences re-interprets so that all windows get redrawn.
This does some error checking, seeing that the font is not zero or smaller in size, nor larger than 51000 points. If anyone finds this upper limit restrictive, the code in fontPrefWindow.cpp's function ResetFontSize() (see fontPrefWindow.cpp) may be easily changed to allow larger sizes.
This stores the window's location and saves the value of the "Display Window" checkbox.
All the messages generated by the gadgets and menus are serviced here. The code to re-set the style pop up menu is here. Setting the stored value for "Display Window" should be moved here and acted upon in real-time, but that will be for next release, probably!
for version 1.4.2
Copyright © 1998-1999 Ed Musgrove Be Developer #2076. All rights reserved.
edgar@harbornet.com
emusgrov@linknet.kitsap.lib.wa.us
Last modified March 17, 1999.