![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Font selection widget. More...
#include <FXFontSelector.h>
Public Types | |
| enum | { ID_FAMILY = FXPacker::ID_LAST, ID_WEIGHT, ID_STYLE, ID_STYLE_TEXT, ID_SIZE, ID_SIZE_TEXT, ID_CHARSET, ID_SETWIDTH, ID_PITCH, ID_SCALABLE, ID_ALLFONTS, ID_LAST } |
Public Member Functions | |
| long | onCmdFamily (FXObject *, FXSelector, void *) |
| long | onCmdWeight (FXObject *, FXSelector, void *) |
| long | onCmdStyle (FXObject *, FXSelector, void *) |
| long | onCmdStyleText (FXObject *, FXSelector, void *) |
| long | onCmdSize (FXObject *, FXSelector, void *) |
| long | onCmdSizeText (FXObject *, FXSelector, void *) |
| long | onCmdCharset (FXObject *, FXSelector, void *) |
| long | onUpdCharset (FXObject *, FXSelector, void *) |
| long | onCmdSetWidth (FXObject *, FXSelector, void *) |
| long | onUpdSetWidth (FXObject *, FXSelector, void *) |
| long | onCmdPitch (FXObject *, FXSelector, void *) |
| long | onUpdPitch (FXObject *, FXSelector, void *) |
| long | onCmdScalable (FXObject *, FXSelector, void *) |
| long | onUpdScalable (FXObject *, FXSelector, void *) |
| long | onCmdAllFonts (FXObject *, FXSelector, void *) |
| long | onUpdAllFonts (FXObject *, FXSelector, void *) |
| FXFontSelector (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
| Constructor. | |
| virtual void | create () |
| Create server-side resources. | |
| FXButton * | acceptButton () const |
| Return a pointer to the "Accept" button. | |
| FXButton * | cancelButton () const |
| Return a pointer to the "Cancel" button. | |
| void | setFont (const FXString &string) |
| Set font selection as a string. | |
| FXString | getFont () const |
| Get font selection as a string. | |
| void | setFontDesc (const FXFontDesc &fontdesc) |
| Set font selection. | |
| const FXFontDesc & | getFontDesc () const |
| Get font selection. | |
| virtual void | save (FXStream &store) const |
| Save to a stream. | |
| virtual void | load (FXStream &store) |
| Load from a stream. | |
| virtual | ~FXFontSelector () |
| Destructor. | |
Protected Member Functions | |
| void | listFontFaces () |
| void | listWeights () |
| void | listSlants () |
| void | listFontSizes () |
| void | previewFont () |
Protected Attributes | |
| FXTextField * | family |
| FXList * | familylist |
| FXTextField * | weight |
| FXList * | weightlist |
| FXTextField * | style |
| FXList * | stylelist |
| FXTextField * | size |
| FXList * | sizelist |
| FXComboBox * | charset |
| FXComboBox * | setwidth |
| FXComboBox * | pitch |
| FXCheckButton * | scalable |
| FXCheckButton * | allfonts |
| FXButton * | accept |
| FXButton * | cancel |
| FXLabel * | preview |
| FXFont * | previewfont |
| FXFontDesc | selected |
Font selection widget.
|
|