FLTK 1.3.11
Toggle main menu visibility
Loading...
Searching...
No Matches
Fl_FormsBitmap.H
1
//
2
// "$Id$"
3
//
4
// Forms bitmap 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_FormsBitmap widget . */
21
22
#ifndef Fl_FormsBitmap_H
23
#define Fl_FormsBitmap_H
24
25
#include "Fl_Bitmap.H"
26
30
class
FL_EXPORT
Fl_FormsBitmap
:
public
Fl_Widget {
31
Fl_Bitmap
*b;
32
protected
:
33
void
draw
();
34
public
:
35
Fl_FormsBitmap
(
Fl_Boxtype
,
int
,
int
,
int
,
int
,
const
char
* = 0);
36
void
set
(
int
W,
int
H,
const
uchar
*bits);
38
void
bitmap
(
Fl_Bitmap
*B) {b = B;}
40
Fl_Bitmap
*
bitmap
()
const
{
return
b;}
41
};
42
43
#endif
44
45
//
46
// End of "$Id$".
47
//
Fl_Boxtype
Fl_Boxtype
Definition
Enumerations.H:610
Fl_Bitmap
The Fl_Bitmap class supports caching and drawing of mono-color (bitmap) images.
Definition
Fl_Bitmap.H:33
Fl_FormsBitmap::set
void set(int W, int H, const uchar *bits)
Sets a new bitmap bits with size W,H.
Definition
forms_bitmap.cxx:30
Fl_FormsBitmap::bitmap
Fl_Bitmap * bitmap() const
Gets a the current associated Fl_Bitmap objects.
Definition
Fl_FormsBitmap.H:40
Fl_FormsBitmap::bitmap
void bitmap(Fl_Bitmap *B)
Sets a new bitmap.
Definition
Fl_FormsBitmap.H:38
Fl_FormsBitmap::Fl_FormsBitmap
Fl_FormsBitmap(Fl_Boxtype, int, int, int, int, const char *=0)
Creates a bitmap widget from a box type, position, size and optional label specification.
Definition
forms_bitmap.cxx:21
Fl_Widget::draw
virtual void draw()=0
Draws the widget.
uchar
unsigned char uchar
unsigned char
Definition
fl_types.h:30
FL
Fl_FormsBitmap.H
Generated by
1.17.0