1 /* 2 * XLife Copyright 2011, 2012 Vladimir Lidovski vol.litwr@gmail.com 3 * $Id: xwidget.h 216 2013-07-28 18:06:27Z micro $ 4 * 5 * Permission to use, copy, modify, distribute, and sell this software and its 6 * documentation for any purpose is hereby granted without fee, provided that 7 * the above copyright notice appear in all copies and that both that 8 * copyright notice and this permission notice appear in supporting 9 * documentation, and that the name of the copyright holders not be used in 10 * advertising or publicity pertaining to distribution of the software without 11 * specific, written prior permission. The copyright holders make no 12 * representations about the suitability of this software for any purpose. It 13 * is provided "as is" without express or implied warranty. 14 * 15 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 16 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 17 * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR 18 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 19 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 20 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 21 * PERFORMANCE OF THIS SOFTWARE. 22 */ 23 24 #define LOADW_WIDTH 282 25 #define LOADW_HEIGHT 457 26 27 #define WIDST_LOAD_PATTERN 0 28 #define WIDST_LOAD_PALETTE 1 29 #define WIDST_LOAD_RULE 2 30 #define WIDST_SAVE 3 31 #define WIDST_LOAD_FILE_PART 4 32 #define WIDST_SAVE_SCRIPT 5 33 34 void drawloadwidget(void), widget_main(int), setcurdir(char*); 35