00001 00007 /* 00008 Copyright (C) 2002-2010 UFO: Alien Invasion. 00009 00010 This program is free software; you can redistribute it and/or 00011 modify it under the terms of the GNU General Public License 00012 as published by the Free Software Foundation; either version 2 00013 of the License, or (at your option) any later version. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 00019 See the GNU General Public License for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with this program; if not, write to the Free Software 00023 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 00025 */ 00026 00027 #ifndef CLIENT_UI_UI_NODE_ABSTRACTVALUE_H 00028 #define CLIENT_UI_UI_NODE_ABSTRACTVALUE_H 00029 00034 typedef struct abstractValueExtraData_s { 00035 void* min; 00036 void* max; 00037 void* value; 00038 void* delta; 00039 float lastdiff; 00040 } abstractValueExtraData_t; 00041 00042 struct uiBehaviour_s; /* prototype */ 00043 00044 void UI_RegisterAbstractValueNode(struct uiBehaviour_s *behaviour); 00045 00046 #endif