X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fui_color.h;h=122db018b14f50cb0e8dc5ab0cac6495c94d9d02;hb=51450a36b7143fe230197dfa89b5fd072af7421c;hp=0fbb89a32824e918dbdd65a3b8b9666ccec74022;hpb=cde76fd1723bbdad164adac96d105111b831bf50;p=psensor.git diff --git a/src/ui_color.h b/src/ui_color.h index 0fbb89a..122db01 100644 --- a/src/ui_color.h +++ b/src/ui_color.h @@ -1,32 +1,26 @@ /* - Copyright (C) 2010-2011 jeanfi@gmail.com - - This program 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 2 of the License, or - (at your option) any later version. - - This program 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 this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA -*/ - + * Copyright (C) 2010-2014 jeanfi@gmail.com + * + * This program 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 2 of the + * License, or (at your option) any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ #ifndef _PSENSOR_UI_COLOR_H_ #define _PSENSOR_UI_COLOR_H_ -#include "color.h" - -/* - UI to change a given color. +#include - Returns 1 if the color has been modified. - */ -int ui_change_color(const char *title, struct color *col); +bool ui_change_color(const char *, GdkRGBA *, GtkWindow *); #endif