diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
commit | 8362bf63dea22bbf6736609b0f49c152f975eb63 (patch) | |
tree | 0eea3928e39e50fae91d4e68b21b1e6cbae25604 /lib/kofficeui/KoImageResource.cpp | |
download | koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.tar.gz koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.zip |
Added old abandoned KDE3 version of koffice
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kofficeui/KoImageResource.cpp')
-rw-r--r-- | lib/kofficeui/KoImageResource.cpp | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/lib/kofficeui/KoImageResource.cpp b/lib/kofficeui/KoImageResource.cpp new file mode 100644 index 000000000..9f92ef3d5 --- /dev/null +++ b/lib/kofficeui/KoImageResource.cpp @@ -0,0 +1,117 @@ +/* + * koImageResource.cc - part of KOffice + * + * Copyright (c) 2005 Thomas Zander <zander@kde.org> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation;version 2. + * + * This library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public License + * along with this library; see the file COPYING.LIB. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#include "KoImageResource.h" + +namespace { + /* XPM -- copyright The Gimp */ + const char *chain_broken_24[] = { + /* columns rows colors chars-per-pixel */ + "9 24 10 1", + " c black", + ". c #020204", + "X c #5A5A5C", + "o c gray43", + "O c #8F8F91", + "+ c #9A9A98", + "@ c #B5B5B6", + "# c #D0D0D1", + "$ c #E8E8E9", + "% c None", + /* pixels */ + "%%.....%%", + "%.o##@X.%", + "%.+...$.%", + "%.#.%.#.%", + "%.#.%.#.%", + "%.@.%.#.%", + "%.+...#.%", + "%.O.o.O.%", + "%%..@..%%", + "%%%.#.%%%", + "%%%%%%%%%", + "%%%%%%%%%", + "%%%%%%%%%", + "%%%%%%%%%", + "%%%.#.%%%", + "%%..#..%%", + "%.o.@.O.%", + "%.@...@.%", + "%.@.%.$.%", + "%.@.%.$.%", + "%.@.%.$.%", + "%.#...$.%", + "%.o$#$@.%", + "%%.....%%" + }; + + /* XPM -- copyright The Gimp */ + const char *chain_24[] = { + /* columns rows colors chars-per-pixel */ + "9 24 10 1", + " c black", + ". c #020204", + "X c #5A5A5C", + "o c gray43", + "O c #8F8F91", + "+ c #9A9A98", + "@ c #B5B5B6", + "# c #D0D0D1", + "$ c #E8E8E9", + "% c None", + /* pixels */ + "%%%%%%%%%", + "%%%%%%%%%", + "%%.....%%", + "%.o##@X.%", + "%.+...$.%", + "%.#.%.#.%", + "%.#.%.#.%", + "%.@.%.#.%", + "%.+...#.%", + "%.O.o.O.%", + "%%..@..%%", + "%%%.#.%%%", + "%%%.#.%%%", + "%%..#..%%", + "%.o.@.O.%", + "%.@...@.%", + "%.@.%.$.%", + "%.@.%.$.%", + "%.@.%.$.%", + "%.#...$.%", + "%.o$#$@.%", + "%%.....%%", + "%%%%%%%%%", + "%%%%%%%%%" + }; +} + +KoImageResource::KoImageResource() {} + +const char** KoImageResource::chain() +{ + return chain_24; +} + +const char** KoImageResource::chainBroken() +{ + return chain_broken_24; +} |