F:/KPlato/koffice/libs/kofficeui/KoImageResource.cpp

Aller à la documentation de ce fichier.
00001 /*
00002  *  koImageResource.cc - part of KOffice
00003  *
00004  *  Copyright (c) 2005 Thomas Zander <zander@kde.org>
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Library General Public
00008  * License as published by the Free Software Foundation;version 2.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public License
00016  * along with this library; see the file COPYING.LIB.  If not, write to
00017  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019  */
00020 
00021 #include "KoImageResource.h"
00022 
00023 namespace {
00024     /* XPM -- copyright The Gimp */
00025     const char *chain_broken_24[] = {
00026         /* columns rows colors chars-per-pixel */
00027         "9 24 10 1",
00028         "  c black",
00029         ". c #020204",
00030         "X c #5A5A5C",
00031         "o c gray43",
00032         "O c #8F8F91",
00033         "+ c #9A9A98",
00034         "@ c #B5B5B6",
00035         "# c #D0D0D1",
00036         "$ c #E8E8E9",
00037         "% c None",
00038         /* pixels */
00039         "%%.....%%",
00040         "%.o##@X.%",
00041         "%.+...$.%",
00042         "%.#.%.#.%",
00043         "%.#.%.#.%",
00044         "%.@.%.#.%",
00045         "%.+...#.%",
00046         "%.O.o.O.%",
00047         "%%..@..%%",
00048         "%%%.#.%%%",
00049         "%%%%%%%%%",
00050         "%%%%%%%%%",
00051         "%%%%%%%%%",
00052         "%%%%%%%%%",
00053         "%%%.#.%%%",
00054         "%%..#..%%",
00055         "%.o.@.O.%",
00056         "%.@...@.%",
00057         "%.@.%.$.%",
00058         "%.@.%.$.%",
00059         "%.@.%.$.%",
00060         "%.#...$.%",
00061         "%.o$#$@.%",
00062         "%%.....%%"
00063     };
00064 
00065     /* XPM  -- copyright The Gimp */
00066     const char *chain_24[] = {
00067         /* columns rows colors chars-per-pixel */
00068         "9 24 10 1",
00069         "  c black",
00070         ". c #020204",
00071         "X c #5A5A5C",
00072         "o c gray43",
00073         "O c #8F8F91",
00074         "+ c #9A9A98",
00075         "@ c #B5B5B6",
00076         "# c #D0D0D1",
00077         "$ c #E8E8E9",
00078         "% c None",
00079         /* pixels */
00080         "%%%%%%%%%",
00081         "%%%%%%%%%",
00082         "%%.....%%",
00083         "%.o##@X.%",
00084         "%.+...$.%",
00085         "%.#.%.#.%",
00086         "%.#.%.#.%",
00087         "%.@.%.#.%",
00088         "%.+...#.%",
00089         "%.O.o.O.%",
00090         "%%..@..%%",
00091         "%%%.#.%%%",
00092         "%%%.#.%%%",
00093         "%%..#..%%",
00094         "%.o.@.O.%",
00095         "%.@...@.%",
00096         "%.@.%.$.%",
00097         "%.@.%.$.%",
00098         "%.@.%.$.%",
00099         "%.#...$.%",
00100         "%.o$#$@.%",
00101         "%%.....%%",
00102         "%%%%%%%%%",
00103         "%%%%%%%%%"
00104     };
00105 }
00106 
00107 KoImageResource::KoImageResource() {}
00108 
00109 const char** KoImageResource::chain()
00110 {
00111     return chain_24;
00112 }
00113 
00114 const char** KoImageResource::chainBroken()
00115 {
00116     return chain_broken_24;
00117 }

Généré le Wed Nov 22 23:41:04 2006 pour KPlato par  doxygen 1.5.1-p1