1 /*$ 2 Copyright (C) 2016-2020 Azel. 3 4 This file is part of AzPainterB. 5 6 AzPainterB is free software: you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation, either version 3 of the License, or 9 (at your option) any later version. 10 11 AzPainterB is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 $*/ 19 20 /********************************** 21 * TileImage プレビューウィジェット 22 **********************************/ 23 24 #ifndef PREV_TILEIMAGE_H 25 #define PREV_TILEIMAGE_H 26 27 typedef struct _PrevTileImage PrevTileImage; 28 typedef struct _TileImage TileImage; 29 30 PrevTileImage *PrevTileImage_new(mWidget *parent,int w,int h,int (*dnd_handle)(mWidget *,char **)); 31 void PrevTileImage_setImage(PrevTileImage *p,TileImage *img,int w,int h); 32 33 #endif 34