FLTK 1.3.2

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

Fl_FormsBitmap.H

    00001 //
    00002 // "$Id: Fl_FormsBitmap.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
    00003 //
    00004 // Forms bitmap 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_FormsBitmap widget . */
    00021
    00022 #ifndef Fl_FormsBitmap_H
    00023 #define Fl_FormsBitmap_H
    00024
    00025 #include "Fl_Bitmap.H"
    00026
    00030 class FL_EXPORT Fl_FormsBitmap : public Fl_Widget {
    00031     Fl_Bitmap *b;
    00032 protected:
    00033     void draw();
    00034 public:
    00035     Fl_FormsBitmap(Fl_Boxtype, int, int, int, int, const char * = 0);
    00036     void set(int W, int H, const uchar *bits);
    00038     void bitmap(Fl_Bitmap *B) {b = B;}
    00040     Fl_Bitmap *bitmap() const {return b;}
    00041 };
    00042
    00043 #endif
    00044
    00045 //
    00046 // End of "$Id: Fl_FormsBitmap.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
    00047 //