~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Image/Gui/XpmImages.h

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-07-16 18:37:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090716183741-oww9kcxqrk991i1n
Tags: upstream-0.8.2237
ImportĀ upstreamĀ versionĀ 0.8.2237

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *                                                                         *
 
3
 *   This is a header file containing xpm images for the image view.       *
 
4
 *                                                                         *
 
5
 *   Author:    Graeme van der Vlugt                                       *
 
6
 *   Copyright: Imetric 3D GmbH                                            *
 
7
 *   Year:      2004                                                       *
 
8
 *                                                                         *
 
9
 *                                                                         *
 
10
 *   This program is free software; you can redistribute it and/or modify  *
 
11
 *   it under the terms of the GNU Library General Public License as       *
 
12
 *   published by the Free Software Foundation; either version 2 of the    *
 
13
 *   License, or (at your option) any later version.                       *
 
14
 *   for detail see the LICENCE text file.                                 *
 
15
 *                                                                         *
 
16
 ***************************************************************************/
 
17
 
 
18
#ifndef XpmImages_H
 
19
#define XpmImages_H
 
20
 
 
21
namespace ImageGui
 
22
{
 
23
 
 
24
/* XPM */
 
25
static const char *image_stretch[]={
 
26
"16 16 2 1",
 
27
". c #000000",
 
28
"# c #ffffff",
 
29
"................",
 
30
".##############.",
 
31
".#....####....#.",
 
32
".#..########..#.",
 
33
".#.#.######.#.#.",
 
34
".#.##.####.##.#.",
 
35
".#####.##.#####.",
 
36
".######..######.",
 
37
".######..######.",
 
38
".#####.##.#####.",
 
39
".#.##.####.##.#.",
 
40
".#.#.######.#.#.",
 
41
".#..########..#.",
 
42
".#....####....#.",
 
43
".##############.",
 
44
"................"};
 
45
 
 
46
/* XPM */
 
47
static const char *image_oneToOne[]={
 
48
"16 16 2 1",
 
49
". c #000000",
 
50
"# c #ffffff",
 
51
"................",
 
52
".##############.",
 
53
".##############.",
 
54
".###.#######.##.",
 
55
".##..######..##.",
 
56
".#.#.#####.#.##.",
 
57
".###.##..###.##.",
 
58
".###.##..###.##.",
 
59
".###.#######.##.",
 
60
".###.##..###.##.",
 
61
".###.##..###.##.",
 
62
".###.#######.##.",
 
63
".##...#####...#.",
 
64
".##############.",
 
65
".##############.",
 
66
"................"};
 
67
 
 
68
/* XPM */
 
69
static const char *image_orig[]={
 
70
"16 16 5 1",
 
71
". c #000000",
 
72
"b c #000080",
 
73
"a c #008000",
 
74
"c c #404040",
 
75
"# c #800000",
 
76
"................",
 
77
".#####aaaabbbbb.",
 
78
".#####aaaabbbbb.",
 
79
".#####aaaabbbbb.",
 
80
".#####aaaabbbbb.",
 
81
".#####aaaabbbbb.",
 
82
".#####aaaabbbbb.",
 
83
".#####aaaabbbbb.",
 
84
".#####aaaabbbbb.",
 
85
"................",
 
86
".cccccccccccccc.",
 
87
".cccccccccccccc.",
 
88
".cccccccccccccc.",
 
89
".cccccccccccccc.",
 
90
".cccccccccccccc.",
 
91
"................"};
 
92
 
 
93
/* XPM */
 
94
static const char *image_bright[]={
 
95
"16 16 5 1",
 
96
". c #000000",
 
97
"b c #0000ff",
 
98
"a c #00ff00",
 
99
"c c #c0c0c0",
 
100
"# c #ff0000",
 
101
"................",
 
102
".#####aaaabbbbb.",
 
103
".#####aaaabbbbb.",
 
104
".#####aaaabbbbb.",
 
105
".#####aaaabbbbb.",
 
106
".#####aaaabbbbb.",
 
107
".#####aaaabbbbb.",
 
108
".#####aaaabbbbb.",
 
109
".#####aaaabbbbb.",
 
110
"................",
 
111
".cccccccccccccc.",
 
112
".cccccccccccccc.",
 
113
".cccccccccccccc.",
 
114
".cccccccccccccc.",
 
115
".cccccccccccccc.",
 
116
"................"};
 
117
 
 
118
} // namespace ImageGui
 
119
 
 
120
#endif // XpmImages_H