-
Notifications
You must be signed in to change notification settings - Fork 1
/
Graphics.txt
235 lines (206 loc) · 6.46 KB
/
Graphics.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
== Application Icon ==
[[Image:Application icons.png|thumb|200px|right|WinMerge Application Icons]]
WinMerge utilizes two primary icons. The lowest resolution available being 16x16 at 16 colors and the highest being 512x512 at 16.7 million colors.
=== Icon Specification ===
The table below displays the current specification for the primary application icon and the project file type icon. As both icons are maintained concurrently, only one chart is needed.
{| class="wikitable" style="font-size: smaller; text-align: center; width: 100%; table-layout: fixed;"
|-
! style="background: #dddddd" | Resolution
! style="background: #dddddd" | Bit Depth
! style="background: #dddddd" | Colors
! style="background: #dddddd" | Palette
! style="background: #dddddd" | Available
! style="background: #dddddd" | In Production
|-
! style="background: #dddddd" | 16x16
! 4
! 16
! System
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 16x16
! 8
! 256
! style="background: #dfdfff" | Indexed
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 16x16
! 32 (alpha)
! 16m
! System
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 32x32
! 4
! 16
! System
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 32x32
! 8
! 256
! style="background: #dfdfff" | Indexed
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 32x32
! 32 (alpha)
! 16m
! System
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 48x48
! 4
! 16
! System
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 48x48
! 8
! 256
! style="background: #dfdfff" | Indexed
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 48x48
! 32 (alpha)
! 16m
! System
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 128x128
! 4
! 16
! -
! style="background: #ffdddd" | No
! style="background: #ffdddd" | No
|-
! style="background: #dddddd" | 128x128
! 8
! 256
! -
! style="background: #ffdddd" | No
! style="background: #ffdddd" | No
|-
! style="background: #dddddd" | 128x128
! 32 (alpha)
! 16m
! System
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 256x256
! 4
! 16
! -
! style="background: #ffdddd" | No
! style="background: #ffdddd" | No
|-
! style="background: #dddddd" | 256x256
! 8
! 256
! -
! style="background: #ffdddd" | No
! style="background: #ffdddd" | No
|-
! style="background: #dddddd" | 256x256
! 32 (alpha)
! 16m
! System
! style="background: #ddffdd" | Yes
! style="background: #ddffdd" | Yes
|-
! style="background: #dddddd" | 512x512
! 4
! 16
! -
! style="background: #ffdddd" | No
! style="background: #ffdddd" | No
|-
! style="background: #dddddd" | 512x512
! 8
! 256
! -
! style="background: #ffdddd" | No
! style="background: #ffdddd" | No
|-
! style="background: #dddddd" | 512x512
! 32 (alpha)
! 16m
! System
! style="background: #ffffdd;" | As Source
! style="background: #ffdddd" | No
|-
|}
=== Vista Support ===
A 256x256 resolution icon is now available. PNG Compression on this size is not currently implemented.
Windows Vista supports PNG compression of large icons (recommended). There have been instances where the use of PNG compression has caused all versions of the icon in the set to fail rendering in Windows 2000; and presumably any OS version below that will have the same effect.
== Splash Screen ==
[[Image:Winmerge_Splash_v2_8.png|thumb|200px|right|WinMerge Splash Screen Empty]]
[[Image:Winmerge_Splash_v2_8_Populated.png|thumb|200px|right|WinMerge Splash Screen Populated]]
=== Specification ===
{| class="wikitable" style="font-size: smaller; text-align: center; width: 500px; table-layout: fixed;"
|-
! style="background: #dddddd" | Dimensions
! 550x350
|-
! style="background: #dddddd" | WinMerge Font
! HandelGothic BT
|-
! style="background: #dddddd" | Colors
! #000000 (Win) and #570101 (Merge)
|-
! style="background: #dddddd" | Format
! Uncompressed JPEG
|-
|}
=== Populating Text ===
Splash screen texts (version number, developers list and copyright) are populated from resource strings. Text layout and font is hard-coded in <code>Src/Splash.cpp</code>.
== Tool bar Icons ==
[[Image:Toolbar.png|thumb|350px|right|WinMerge Tool bars]]
The tool bar bitmap resources are located in <code>Src/res/</code>.
{| class="wikitable" style="font-size: smaller; text-align: center; width: 500px; table-layout: fixed;"
|-
! style="background: #dddddd" | Dimensions
! 32x31 / 16x15
|-
! style="background: #dddddd" | Transparency
! 1-Bit
|-
! style="background: #dddddd" | Transparency Color
! 255,0,255 (Magenta)
|-
! style="background: #dddddd" | Format
! 24 Bit (Bitmap)
|-
! style="background: #dddddd" | Disabled Colors
! No Saturation (Gray scale) / +55 Lightness
|-
|}
Icon order from left to right:<br/>
<code>New Document, Open Document, Save, Undo, Redo, Difference in the Current Line, Next Diff, Prev Diff, First Diff, Last Diff, Copy Right, Copy Left, Copy Right and Advance, Copy Left and Advance, Preferences, All Right, All Left, Refresh.</code>
=== Small ===
Enabled Filename: <code>/Src/res/ToolBarEnabled.bmp</code><br/>
Disabled Filename: <code>/Src/res/ToolBarDisabled.bmp</code>
The context menus make use of the small tool bar icons.
=== Large ===
Enabled Filename: <code>/Src/res/ToolBarEnabled32.bmp</code><br/>
Disabled Filename: <code>/Src/res/ToolBarDisabled32.bmp</code>
The Large tool bar was implemented in 2.7.4.0 Beta and will be released officially in 2.8.0 Stable.
=== Development ===
The toolbar and context menu graphic structure is maintained by the BCMenu Class.
<code>/Src/BCMenu.cpp</code>
[http://www.codeproject.com/menu/bcmenu.asp BCMenu] at The Code Project.
=== Ideas ===
* Alpha channel support so that we may use variable transparency and anti-aliasing for the tool bar icons.
== Context Menus ==
---
== Graphic Designer ==
*[mailto:neonapple%20at%users%20dot%20sourceforge%20dot%20net Alexander Skinner] - Logo, Icons, Toolbar, and Splash (since 2.5.3.4).