Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields | Globals

sdxpaed.h

Go to the documentation of this file.
00001 //--- < SDXPAED.H > -------------| ViewGraph - A Flexible Graph view Framework |
00002 //
00003 // An XpLib+AEDGui wrapper for ViewGraph
00004 //
00005 // Note: AEDGui uses SDL. This wrapper adds
00006 // text capability to SDL.
00007 //
00008 // $Author: botik32 $
00009 // $Revision: 1.1.1.1 $
00010 // $Date: 2004/03/26 10:50:26 $
00011 //-----------------------------------------------------------------------------/
00012 
00013 #ifndef SDXPAED_H
00014 #define SDXPAED_H
00015 
00016 #include <cZUI/drivers/sdxpsdl.h>
00017 #include <aedFont.h>
00018 
00019 class AEDXpSurfaceDriver : public SDLXpSurfaceDriver
00020 {
00021 protected:
00022         aedFont *font;
00023         char *facename;
00024         Uint8 fontsz;
00025         textjustify just;
00026 public:
00027         void textout( double x1, double y1, const char *text );
00028         void textrect( double x1, double y1, double x2, double y2,
00029                                 const char *text );
00030         void setfont( const char *font );
00031         void setfontsize( int );
00032         void setjustification( textjustify j );
00033         AEDXpSurfaceDriver( int, int );
00034         AEDXpSurfaceDriver( SDL_Surface * );
00035         // override surface width
00036         AEDXpSurfaceDriver( SDL_Surface *, int, int );
00037         ~AEDXpSurfaceDriver();
00038 };
00039 
00040 #endif
00041 

Generated on Wed Jun 23 18:47:21 2004 for cZUI by doxygen 1.3.5