FLTK 1.3.9: Fl_FormsPixmap.H Source File

FLTK 1.3.9

Loading...
Searching...
No Matches
Fl_FormsPixmap.H
1//
2// "$Id$"
3//
4// Forms pixmap header file for the Fast Light Tool Kit (FLTK).
5//
6// Copyright 1998-2010 by Bill Spitzak and others.
7//
8// This library is free software. Distribution and use rights are outlined in
9// the file "COPYING" which should have been included with this file. If this
10// file is missing or damaged, see the license at:
11//
12// http://www.fltk.org/COPYING.php
13//
14// Please report all bugs and problems on the following page:
15//
16// http://www.fltk.org/str.php
17//
18
19/* \file
20 Fl_FormsPixmap widget . */
21
22#ifndef Fl_FormsPixmap_H
23#define Fl_FormsPixmap_H
24
25#include "Fl_Pixmap.H"
26
31 class FL_EXPORT Fl_FormsPixmap : public Fl_Widget {
32 Fl_Pixmap *b;
33protected:
34 void draw();
35public:
36 Fl_FormsPixmap(Fl_Boxtype t, int X, int Y, int W, int H, const char *L= 0);
37
38 void set(/*const*/char * const * bits);
39
44 void Pixmap(Fl_Pixmap *B) {b = B;}
45
47 Fl_Pixmap *Pixmap() const {return b;}
48};
49
50#endif
51
52//
53// End of "$Id$".
54//
Fl_Boxtype
Fl_Boxtype
Definition: Enumerations.H:601
Fl_FormsPixmap
Forms pixmap drawing routines.
Definition: Fl_FormsPixmap.H:31
Fl_FormsPixmap::Pixmap
void Pixmap(Fl_Pixmap *B)
Set the internal pixmap pointer to an existing pixmap.
Definition: Fl_FormsPixmap.H:44
Fl_FormsPixmap::Pixmap
Fl_Pixmap * Pixmap() const
Get the internal pixmap pointer.
Definition: Fl_FormsPixmap.H:47
Fl_Pixmap
The Fl_Pixmap class supports caching and drawing of colormap (pixmap) images, including transparency.
Definition: Fl_Pixmap.H:41
Fl_Widget
Fl_Widget is the base class for all widgets in FLTK.
Definition: Fl_Widget.H:101
Fl_Widget::draw
virtual void draw()=0
Draws the widget.