Graphics

From WinMerge

Jump to: navigation, search

Contents

[edit] Application Icon

WinMerge Application Icons
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.

[edit] 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.



Resolution Bit Depth Colors Palette Available In Production
16x16 4 16 System Yes Yes
16x16 8 256 Indexed Yes Yes
16x16 32 (alpha) 16m System Yes Yes
32x32 4 16 System Yes Yes
32x32 8 256 Indexed Yes Yes
32x32 32 (alpha) 16m System Yes Yes
48x48 4 16 System Yes Yes
48x48 8 256 Indexed Yes Yes
48x48 32 (alpha) 16m System Yes Yes
128x128 4 16 - No No
128x128 8 256 - No No
128x128 32 (alpha) 16m System Yes Yes
256x256 4 16 - No No
256x256 8 256 - No No
256x256 32 (alpha) 16m System Yes Yes
512x512 4 16 - No No
512x512 8 256 - No No
512x512 32 (alpha) 16m System As Source No

[edit] 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.

[edit] Splash Screen

WinMerge Splash Screen Empty
WinMerge Splash Screen Empty
WinMerge Splash Screen Populated
WinMerge Splash Screen Populated

[edit] Specification

Dimensions 550x350
WinMerge Font HandelGothic BT
Colors #000000 (Win) and #570101 (Merge)
Format Uncompressed JPEG

[edit] Populating Text

Splash screen texts (version number, developers list and copyright) are populated from resource strings. Text layout and font is hard-coded in Src/Splash.cpp.





[edit] Tool bar Icons

WinMerge Tool bars
WinMerge Tool bars

The tool bar bitmap resources are located in Src/res/.

Dimensions 32x31 / 16x15
Transparency 1-Bit
Transparency Color 255,0,255 (Magenta)
Format 24 Bit (Bitmap)
Disabled Colors No Saturation (Gray scale) / +55 Lightness

Icon order from left to right:
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.

[edit] Small

Enabled Filename: /Src/res/ToolBarEnabled.bmp
Disabled Filename: /Src/res/ToolBarDisabled.bmp

The context menus make use of the small tool bar icons.

[edit] Large

Enabled Filename: /Src/res/ToolBarEnabled32.bmp
Disabled Filename: /Src/res/ToolBarDisabled32.bmp

The Large tool bar was implemented in 2.7.4.0 Beta and will be released officially in 2.8.0 Stable.

[edit] Development

The toolbar and context menu graphic structure is maintained by the BCMenu Class. /Src/BCMenu.cpp

BCMenu at The Code Project.

[edit] Ideas

  • Alpha channel support so that we may use variable transparency and anti-aliasing for the tool bar icons.


[edit] Context Menus

---

[edit] Graphic Designer

Personal tools
Ads: