FLTK 1.3.0
|
00001 // 00002 // "$Id$" 00003 // 00004 // Forms pixmap header file for the Fast Light Tool Kit (FLTK). 00005 // 00006 // Copyright 1998-2010 by Bill Spitzak and others. 00007 // 00008 // This library is free software. Distribution and use rights are outlined in 00009 // the file "COPYING" which should have been included with this file. If this 00010 // file is missing or damaged, see the license at: 00011 // 00012 // http://www.fltk.org/COPYING.php 00013 // 00014 // Please report all bugs and problems on the following page: 00015 // 00016 // http://www.fltk.org/str.php 00017 // 00018 00019 /* \file 00020 Fl_FormsPixmap widget . */ 00021 00022 #ifndef Fl_FormsPixmap_H 00023 #define Fl_FormsPixmap_H 00024 00025 #include "Fl_Pixmap.H" 00026 00031 class FL_EXPORT Fl_FormsPixmap : public Fl_Widget { 00032 Fl_Pixmap *b; 00033 protected: 00034 void draw(); 00035 public: 00036 Fl_FormsPixmap(Fl_Boxtype t, int X, int Y, int W, int H, const char *L= 0); 00037 00038 void set(/*const*/char * const * bits); 00039 00044 void Pixmap(Fl_Pixmap *B) {b = B;} 00045 00047 Fl_Pixmap *Pixmap() const {return b;} 00048 }; 00049 00050 #endif 00051 00052 // 00053 // End of "$Id$". 00054 //