00001 //----------------------------------------------------------------------------------------
00011 // RCS-ID: $Id: art_provider.h,v 1.1 2002/08/27 05:06:04 robertoconnor Exp $
00012 //----------------------------------------------------------------------------------------
00013
00014 //----------------------------------------------------------------------------------------
00015 // Begin single inclusion of this .h file condition
00016 //----------------------------------------------------------------------------------------
00017
00018 #ifndef _ART_PROVIDER_H_
00019 #define _ART_PROVIDER_H_
00020
00021 //----------------------------------------------------------------------------------------
00022 // GCC interface
00023 //----------------------------------------------------------------------------------------
00024
00025 #if defined(__GNUG__) && ! defined(__APPLE__)
00026 #pragma interface "art_provider.h"
00027 #endif
00028
00029 //----------------------------------------------------------------------------------------
00030 // Shared defines
00031 //----------------------------------------------------------------------------------------
00032
00033 #include "plucker_defines.h"
00034
00035 //----------------------------------------------------------------------------------------
00036 // Begin feature removal condition
00037 //----------------------------------------------------------------------------------------
00038
00039 #if ( setupUSE_ART_PROVIDER )
00040
00041 //----------------------------------------------------------------------------------------
00042 // Headers
00043 //----------------------------------------------------------------------------------------
00044
00045 #include "wx/artprov.h"
00046
00047 //----------------------------------------------------------------------------------------
00048 // Class definition: art_provider
00049 //----------------------------------------------------------------------------------------
00050
00052
00055 class art_provider : public wxArtProvider
00056 {
00057
00058 protected:
00059
00061
00067 virtual wxBitmap CreateBitmap( const wxArtID& id,
00068 const wxArtClient& client,
00069 const wxSize& size
00070 );
00071
00072 private:
00073
00075
00078 wxBitmap get_art_by_basename( const wxString& image_basename );
00079
00080
00081 };
00082
00083 //----------------------------------------------------------------------------------------
00084 // End feature removal condition
00085 //----------------------------------------------------------------------------------------
00086
00087 #endif // setupUSE_ART_PROVIDER
00088
00089 //----------------------------------------------------------------------------------------
00090 // End single inclusion of this .h file condition
00091 //----------------------------------------------------------------------------------------
00092
00093 #endif // _ART_PROVIDER_H_
00094