/* Copyright 2008 Jeffrey Lee
   This file is part of Pale.
   Pale 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 3 of the License, or
   (at your option) any later version.
   Pale 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 Pale.  If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _PREVIEW_H
#define _PREVIEW_H

#include "pale.h"

//DEPPEND

extern char *preview_getspritename(preview *p);
extern void preview_redrawonzoom(preview *p);
extern preview *preview_create1(sprfile *s,void *spr,paleditor *e);
extern void preview_close(paleditor *e,void *spr);
extern void preview_close2(preview *p);
extern void preview_redraw(preview *p,limpx_redraw_obj *r,int first);
extern void open_preview_menu(preview *p,limpx_mouse_obj *m);
extern void preview_updatehint(preview *p,limpx_mouse_obj *m);
extern void preview_doodle(preview *p,limpx_mouse_obj *m);
extern void preview_selectcolour(preview *p,limpx_mouse_obj *m);
extern void preview_redrawall(preview *p);

#endif
