From 8362bf63dea22bbf6736609b0f49c152f975eb63 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 20 Jan 2010 01:29:50 +0000 Subject: 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 --- lib/kofficeui/KoImageResource.cpp | 117 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 lib/kofficeui/KoImageResource.cpp (limited to 'lib/kofficeui/KoImageResource.cpp') 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 + * + * 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; +} -- cgit v1.2.3