1 /* $Id: tool_palette.h,v 1.2 2004/03/13 03:33:51 meffie Exp $ 2 * 3 * GNU Paint 4 * Copyright 2003 Li-Cheng (Andy) Tai, Michael Meffie 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 3 9 * of the License, or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be 12 * useful, but WITHOUT ANY WARRANTY; without even the implied 13 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 14 * PURPOSE. See the 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 #ifndef __TOOL_PALETTE_H__ 21 #define __TOOL_PALETTE_H__ 22 23 #include <gtk/gtk.h> 24 #include "canvas.h" 25 26 GtkWidget *lookup_tool_palette(GtkWidget*); 27 gpaint_tool *tool_palette_get_tool(GtkWidget*,const gchar*); 28 void tool_palette_set_active_button(GtkWidget *widget, const char *button_name); 29 30 #endif 31