KoImageResource.cpp
1/*
2 * koImageResource.cpp - part of KOffice
3 *
4 * Copyright (c) 2005 Thomas Zander <zander@kde.org>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation;version 2.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#include "KoImageResource.h"
22
23namespace {
24 /* XPM -- copyright The Gimp */
25 const char *chain_broken_24[] = {
26 /* columns rows colors chars-per-pixel */
27 "9 24 10 1",
28 " c black",
29 ". c #020204",
30 "X c #5A5A5C",
31 "o c gray43",
32 "O c #8F8F91",
33 "+ c #9A9A98",
34 "@ c #B5B5B6",
35 "# c #D0D0D1",
36 "$ c #E8E8E9",
37 "% c None",
38 /* pixels */
39 "%%.....%%",
40 "%.o##@X.%",
41 "%.+...$.%",
42 "%.#.%.#.%",
43 "%.#.%.#.%",
44 "%.@.%.#.%",
45 "%.+...#.%",
46 "%.O.o.O.%",
47 "%%..@..%%",
48 "%%%.#.%%%",
49 "%%%%%%%%%",
50 "%%%%%%%%%",
51 "%%%%%%%%%",
52 "%%%%%%%%%",
53 "%%%.#.%%%",
54 "%%..#..%%",
55 "%.o.@.O.%",
56 "%.@...@.%",
57 "%.@.%.$.%",
58 "%.@.%.$.%",
59 "%.@.%.$.%",
60 "%.#...$.%",
61 "%.o$#$@.%",
62 "%%.....%%"
63 };
64
65 /* XPM -- copyright The Gimp */
66 const char *chain_24[] = {
67 /* columns rows colors chars-per-pixel */
68 "9 24 10 1",
69 " c black",
70 ". c #020204",
71 "X c #5A5A5C",
72 "o c gray43",
73 "O c #8F8F91",
74 "+ c #9A9A98",
75 "@ c #B5B5B6",
76 "# c #D0D0D1",
77 "$ c #E8E8E9",
78 "% c None",
79 /* pixels */
80 "%%%%%%%%%",
81 "%%%%%%%%%",
82 "%%.....%%",
83 "%.o##@X.%",
84 "%.+...$.%",
85 "%.#.%.#.%",
86 "%.#.%.#.%",
87 "%.@.%.#.%",
88 "%.+...#.%",
89 "%.O.o.O.%",
90 "%%..@..%%",
91 "%%%.#.%%%",
92 "%%%.#.%%%",
93 "%%..#..%%",
94 "%.o.@.O.%",
95 "%.@...@.%",
96 "%.@.%.$.%",
97 "%.@.%.$.%",
98 "%.@.%.$.%",
99 "%.#...$.%",
100 "%.o$#$@.%",
101 "%%.....%%",
102 "%%%%%%%%%",
103 "%%%%%%%%%"
104 };
105}
106
107KoImageResource::KoImageResource() {}
108
109const char** KoImageResource::chain()
110{
111 return chain_24;
112}
113
114const char** KoImageResource::chainBroken()
115{
116 return chain_broken_24;
117}