Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
00001 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __RAPICORN_IMAGE_HH__ 00003 #define __RAPICORN_IMAGE_HH__ 00004 00005 #include <ui/widget.hh> 00006 00007 namespace Rapicorn { 00008 00009 class Image : public virtual WidgetImpl { 00010 virtual String image_file () const { RAPICORN_ASSERT_UNREACHED(); } 00011 virtual String stock_pixmap () const { RAPICORN_ASSERT_UNREACHED(); } 00012 protected: 00013 const PropertyList& __aida_properties__ (); 00014 public: 00015 virtual void pixbuf (const Pixbuf &pixbuf) = 0; 00016 virtual Pixbuf pixbuf (void) = 0; 00017 virtual void /*errno*/ stock_pixmap (const String &stock_name) = 0; 00018 virtual void /*errno*/ image_file (const String &filename) = 0; 00019 }; 00020 00021 } // Rapicorn 00022 00023 #endif /* __RAPICORN_IMAGE_HH__ */