/******************************************************************************
Copyright (C) 2005 Matteo Lucarelli

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
******************************************************************************/

// WIN NEED: libfltk.a libfltk_forms.a libfltk_images.a libfltk_jpeg.a libfltk_png.a
//           libole32.a libuuid.a libfltk_z.a libwsock32.a
// LIN NEED: -lpthread `fltk-config --ldflags --use-images`

#ifndef FLTK_UIDISPLAY_H_INCLUDED
#define FLTK_UIDISPLAY_H_INCLUDED

#include <FL/Fl.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Shared_Image.H>

class UIdisplay : public Fl_Double_Window
{
public:
       UIdisplay(int w, int h, const char *l=0);     
       ~UIdisplay();     

       Fl_Box *m_bMain;
       Fl_Shared_Image *m_img;
      
       int LoadFile(const char *n); 
};

#endif