/*****************************************************************************
* builder.hpp
*****************************************************************************
- * Copyright (C) 2003 VideoLAN
+ * Copyright (C) 2003 the VideoLAN team
* $Id$
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
{
public:
Builder( intf_thread_t *pIntf, const BuilderData &rData );
- virtual ~Builder() {}
+ virtual ~Builder();
/// Create a Theme object, ready to use.
/// Return NULL in case of problem
void addTheme( const BuilderData::Theme &rData );
void addBitmap( const BuilderData::Bitmap &rData );
+ void addBitmapFont( const BuilderData::BitmapFont &rData );
void addFont( const BuilderData::Font &rData );
void addWindow( const BuilderData::Window &rData );
void addLayout( const BuilderData::Layout &rData );
int xPos, int yPos, int width, int height,
const Box &rBox ) const;
+ /// Get a font from its id
+ GenericFont *getFont( const string &fontId );
+
/// Function to parse "points" tags
Bezier *getPoints( const char *pTag ) const;
+
+ /// Image handler (used to load image files)
+ image_handler_t *m_pImageHandler;
};
#endif