summaryrefslogtreecommitdiff
path: root/riscos/system_colour.h
diff options
context:
space:
mode:
authorSteve Fryatt <steve@stevefryatt.org.uk>2011-02-25 23:26:36 +0000
committerSteve Fryatt <steve@stevefryatt.org.uk>2011-02-25 23:26:36 +0000
commita34cd9c8c671c9af6f222d47ee79d66aa5a3ff14 (patch)
tree0a5a712df7d6b8934a625784f53e8f47e14392e6 /riscos/system_colour.h
parent66ed6d8867868c1ee00ac3956c712000aedc901f (diff)
downloadnetsurf-a34cd9c8c671c9af6f222d47ee79d66aa5a3ff14.tar.gz
netsurf-a34cd9c8c671c9af6f222d47ee79d66aa5a3ff14.tar.bz2
Take CSS System Colours from the RISC OS Desktop palette at start and on mode/palette change.
Need to revisit and confirm some of the mappings. svn path=/trunk/netsurf/; revision=11814
Diffstat (limited to 'riscos/system_colour.h')
-rw-r--r--riscos/system_colour.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/riscos/system_colour.h b/riscos/system_colour.h
new file mode 100644
index 000000000..a6672e305
--- /dev/null
+++ b/riscos/system_colour.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2011 Stephen Fryatt <stevef@netsurf-browser.org>
+ *
+ * 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/>.
+ */
+
+/** \file
+ * System colour handling (frontend internal interface)
+ */
+
+#ifndef _NETSURF_RISCOS_SYSTEM_COLOUR_H_
+#define _NETSURF_RISCOS_SYSTEM_COLOUR_H_
+
+/**
+ * Scan the CSS system colour definitions, and update any that haven't been
+ * overridden in NetSurf's options to reflect the current Desktop palette.
+ */
+
+void ro_gui_system_colour_update(void);
+
+#endif
+