summaryrefslogtreecommitdiff
path: root/src/c_fl_bmp_image.cpp
blob: f068b8f1a876c1f9d817116e275a949cb0f479e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22


//  Programmed by Jedidiah Barber
//  Released into the public domain


#include <FL/Fl_BMP_Image.H>
#include "c_fl_bmp_image.h"




BMPIMAGE new_fl_bmp_image(const char * f) {
    Fl_BMP_Image *b = new Fl_BMP_Image(f);
    return b;
}

void free_fl_bmp_image(BMPIMAGE b) {
    delete static_cast<Fl_BMP_Image*>(b);
}