#include <uabstracttoolkit.hpp>
Inheritance diagram for ufo::UAbstractToolkit:
Public Member Functions | |
UAbstractToolkit (UProperties *prop) | |
virtual UVersionInfo | getVersionInfo () const |
virtual std::string | getUserName () const |
virtual std::string | getRealName () const |
virtual std::string | getHomeDir () const |
virtual std::string | getTmpDir () const |
virtual std::string | getPrgName () const |
virtual void | setPrgName (const std::string &prgName) |
virtual std::string | getFontDir () const |
virtual std::string | getProperty (const std::string &keyA) const |
virtual void | putProperty (const std::string &keyA, const std::string &valueA) |
virtual void | loadPlugin (const std::string &fileName) |
virtual void | loadPlugin (UPluginInfo plugin) |
virtual void | unloadPlugin (const std::string &pluginName) |
virtual void | unloadPlugin (UPluginInfo plugin) |
virtual std::vector< UPluginInfo > | getPluginInfos () const |
virtual UVideoDriver * | createVideoDriver () |
virtual ULookAndFeel * | createLookAndFeel () |
virtual UStyleManager * | getStyleManager () |
virtual UFontRenderer * | createFontRenderer (const UFontInfo &fontInfo) |
virtual UFontInfo | queryFont (const UFontInfo &fontInfo) |
virtual std::vector< UFontInfo > | listFonts (const UFontInfo &fontInfo) |
virtual std::vector< UFontInfo > | listFonts () |
Protected Member Functions | |
virtual void | initUFO () |
virtual void | deinitUFO () |
virtual void | initPlugins () |
This class is not part of the official UFO API and may be changed without warning.
|
|
|
Creates a font renderer with the given font familiy, style and point size. The toolkit should use the active font plugin. The font plugin is chosen using the 'font' property.
Implements ufo::UToolkit.
|
|
This method is called internally at UFO context creation . Implements ufo::UToolkit.
|
|
Returns a colon separated list of font directories. This is the search path for font ressource files. Implements ufo::UToolkit.
|
|
Returns a vector with plugin info structs for all loaded plugins. Implements ufo::UToolkit.
|
|
Returns a UFO property registered at this toolkit. Properties so far: user_name, real_name, home_dir, tmp_dir, prg_name look_and_feel Implements ufo::UToolkit.
|
|
Returns a version info struct with the version numbers of the linked ufo library. Implements ufo::UToolkit.
|
|
Inits static UFO plugins. |
|
Inits UFO. |
|
Lists all available font renderers of the current font plugin. Implements ufo::UToolkit.
|
|
Lists all available font renderers of the current font plugin which matches the given font info. Implements ufo::UToolkit.
|
|
Manually loads a plugin. Implements ufo::UToolkit.
|
|
Loads the plugin which is located within the given shared object file. Implements ufo::UToolkit.
|
|
Sets the property keyA with value valueA. UFO properties control the behaviour Implements ufo::UToolkit.
|
|
Returns a font info which describes what would have been returned by createFontRenderer. This means, if the user requests an antialiased font, but there exists none, this method returns which would be returned instead. Implements ufo::UToolkit.
|
|
Searches in the plugin cache for a matching plugin and unloads it. Implements ufo::UToolkit.
|