FX::FXIconSource Class Reference

#include <FXIconSource.h>

Inheritance diagram for FX::FXIconSource:

FX::FXObject List of all members.

Detailed Description

An icon source is a class that loads an icon of any type. It exists purely for convenience, to make loading icons simpler by concentrating the knowledge of the supported icon formats in a single place. Needless to say, this class is subclassable, allowing users to add additional icon types and make them available to all widgets which deal with icons. Note, the icons are loaded, but NOT created (realized) yet; this allows users to manipulate the pixel data prior to realizing the icons.

Definition at line 49 of file FXIconSource.h.

Public Member Functions

 FXIconSource (FXApp *a)
virtual FXIconloadIconFile (const FXString &filename, const FXString &type=FXString::null) const
virtual FXIconloadIconData (const void *pixels, const FXString &type=FXString::null) const
virtual FXIconloadIconStream (FXStream &store, const FXString &type=FXString::null) const
virtual FXImageloadImageFile (const FXString &filename, const FXString &type=FXString::null) const
virtual FXImageloadImageData (const void *pixels, const FXString &type=FXString::null) const
virtual FXImageloadImageStream (FXStream &store, const FXString &type=FXString::null) const
virtual FXIconloadScaledIconFile (const FXString &filename, FXint size=32, FXint qual=0, const FXString &type=FXString::null) const
virtual FXIconloadScaledIconData (const void *pixels, FXint size=32, FXint qual=0, const FXString &type=FXString::null) const
virtual FXIconloadScaledIconStream (FXStream &store, FXint size=32, FXint qual=0, const FXString &type=FXString::null) const
virtual FXImageloadScaledImageFile (const FXString &filename, FXint size=32, FXint qual=0, const FXString &type=FXString::null) const
virtual FXImageloadScaledImageData (const void *pixels, FXint size=32, FXint qual=0, const FXString &type=FXString::null) const
virtual FXImageloadScaledImageStream (FXStream &store, FXint size=32, FXint qual=0, const FXString &type=FXString::null) const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXIconSource ()
virtual long onDefault (FXObject *, FXSelector, void *)
const FXchargetClassName () const
bool isMemberOf (const FXMetaClass *metaclass) const
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
QTransString tr (const char *text, const char *hint=0)
virtual void * getPythonObject () const
virtual void decouplePythonObject () const

Protected Member Functions

 FXIconSource ()

Protected Attributes

FXAppapp


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:34:26 2009 for TnFOX by doxygen v1.4.7