FLTK 1.4.4

Loading...
Searching...
No Matches
Fl_XPM_Image.H
1//
2// XPM image header file for the Fast Light Tool Kit (FLTK).
3//
4// Copyright 1998-2010 by Bill Spitzak and others.
5//
6// This library is free software. Distribution and use rights are outlined in
7// the file "COPYING" which should have been included with this file. If this
8// file is missing or damaged, see the license at:
9//
10// https://www.fltk.org/COPYING.php
11//
12// Please see the following page on how to report bugs and issues:
13//
14// https://www.fltk.org/bugs.php
15//
16
17/* \file
18
19 Fl_XPM_Image class . */
20
21#ifndef Fl_XPM_Image_H
22#define Fl_XPM_Image_H
23# include "Fl_Pixmap.H"
24
29 class FL_EXPORT Fl_XPM_Image : public Fl_Pixmap {
30
31 public:
32
33 Fl_XPM_Image(const char* filename);
34};
35
36#endif // !Fl_XPM_Image
Fl_Pixmap::Fl_Pixmap
Fl_Pixmap(char *const *D)
The constructors create a new pixmap from the specified XPM data.
Definition Fl_Pixmap.H:58
Fl_XPM_Image::Fl_XPM_Image
Fl_XPM_Image(const char *filename)
The constructor loads the XPM image from the name filename.
Definition Fl_XPM_Image.cxx:51