summaryrefslogtreecommitdiff
path: root/palettes_builtin.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-05-10 16:01:38 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-05-10 16:01:38 +0200
commitad199eccf9334c8ee00f52686a0f401b82f402bc (patch)
tree8a1eb2b452d8fa453a9944e6c7db212a9414c04f /palettes_builtin.h
parentb66dc836db66e9769f5c7142104c80fda6dd386b (diff)
downloadpucket-ad199eccf9334c8ee00f52686a0f401b82f402bc.tar.gz
pucket-ad199eccf9334c8ee00f52686a0f401b82f402bc.tar.bz2
pucket-ad199eccf9334c8ee00f52686a0f401b82f402bc.zip
Use built-in palettes
This increases the binaries’ size, but we don’t have to parse the palette file every time.
Diffstat (limited to 'palettes_builtin.h')
-rw-r--r--palettes_builtin.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/palettes_builtin.h b/palettes_builtin.h
new file mode 100644
index 0000000..fe50bdb
--- /dev/null
+++ b/palettes_builtin.h
@@ -0,0 +1,19 @@
+/*
+ Copyright (C) 1992-2009 Spotworks LLC
+
+ 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 3 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, see <http://www.gnu.org/licenses/>.
+*/
+
+extern const palette_collection builtin_palettes;
+