"Orange" Modern UI Theme: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(usage example code)
(syntax highlighting)
Line 41: Line 41:
== Usage ==
== Usage ==


Here's a simple copy-n-paste example on orange theme usage:
Here's a simple copy-n-paste example on how to use the orange theme.<BR>
The code below uses the text-on-the-box variant and a right-sided header.


<pre>
<highlight-nsis>
; MUI Settings / Icons
; MUI Settings / Icons
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\orange-install-nsis.ico"
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\orange-install-nsis.ico"
Line 57: Line 58:
!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange-nsis.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange-nsis.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange-uninstall-nsis.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange-uninstall-nsis.bmp"
</pre>
</highlight-nsis>




[[Category:Graphics and UIs]]
[[Category:Graphics and UIs]]

Revision as of 04:33, 22 December 2005

Author: MoNKi (talk, contrib)


Links

Orange-Full-MoNKi.zip (557 KB)

Extract the package contents in the "${NSISDIR}\Contrib\Graphics" dir.

Description

The "Orange Modern UI Theme" is a collection of icons and bitmaps for use with the Modern UI, based on the colors of the NSIS website.

It has two themes (general and NSIS), each one with different icons:

Sets.png

Each theme consist of two icons (un/install), two "wizard" bitmaps (un/install), and four "header" bitmaps (un/install, left/right).

Welcome/Finish Bitmaps

Wizard.png

Headers

Headers.png

Icons

Icon-Images.png

Screenshots

Install

1_s.jpg 2_s.jpg

Uninstall

Un1_s.jpg Un2_s.jpg

Usage

Here's a simple copy-n-paste example on how to use the orange theme.
The code below uses the text-on-the-box variant and a right-sided header.

; MUI Settings / Icons
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\orange-install-nsis.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\orange-uninstall-nsis.ico"
 
; MUI Settings / Header
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_RIGHT
!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\orange-r-nsis.bmp"
!define MUI_HEADERIMAGE_UNBITMAP "${NSISDIR}\Contrib\Graphics\Header\orange-uninstall-r-nsis.bmp"
 
; MUI Settings / Wizard
!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange-nsis.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange-uninstall-nsis.bmp"