diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-03-09 11:37:09 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-03-09 11:37:09 +0000 |
commit | 571af764a5df6bfd4c036c1b0e09dcca090bcc11 (patch) | |
tree | 1efd2c2f5c34a443e4705da283f51e300a6d9f42 /gtk/theme.h | |
parent | 8ee04cf68fadb48b877afbe775c13a8a1938f47a (diff) | |
download | netsurf-571af764a5df6bfd4c036c1b0e09dcca090bcc11.tar.gz netsurf-571af764a5df6bfd4c036c1b0e09dcca090bcc11.tar.bz2 |
completely remove remaining GTK theme code
Removes the theme code from GTK by moving the small remaining parts to
being implementation details within the toolbar implementation.
Diffstat (limited to 'gtk/theme.h')
-rw-r--r-- | gtk/theme.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/gtk/theme.h b/gtk/theme.h deleted file mode 100644 index 5c14d8179..000000000 --- a/gtk/theme.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2009 Mark Benjamin <netsurf-browser.org.MarkBenjamin@dfgh.net> - * - * This file is part of NetSurf, http://www.netsurf-browser.org/ - * - * NetSurf 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; version 2 of the License. - * - * NetSurf 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, see <http://www.gnu.org/licenses/>. - */ - -#ifndef _NETSURF_GTK_THEME_H_ -#define _NETSURF_GTK_THEME_H_ - -typedef enum search_buttons { - SEARCH_BACK_BUTTON = 0, - SEARCH_FORWARD_BUTTON, - SEARCH_CLOSE_BUTTON, - SEARCH_BUTTONS_COUNT -} nsgtk_search_buttons; - -struct nsgtk_theme { - GtkImage *image[PLACEHOLDER_BUTTON]; - GtkImage *searchimage[SEARCH_BUTTONS_COUNT]; - /* apng throbber element */ -}; - -struct nsgtk_theme *nsgtk_theme_load(GtkIconSize s); -void nsgtk_theme_implement(struct nsgtk_scaffolding *g); - -#endif |