Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 1st July 2008, 22:34   #1
micsun
Junior Member
 
Join Date: Jun 2008
Posts: 4
Able to change text color? (Modern UI, header, Welcome page, Finish page)

Is it possible to change the text color on a Modern UI?

According to http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html I can change the color of the background using MUI_BGCOLOR, but if I use a darker color, the black text will not contrast well with the dark background.

I would like to have a dark background color (dark blue --> "D7E9FE") and have the text a lighter color (white --> "FFFFFF").

I don't see any settings to do this at the page above. Can anyone help or is this something that should be under the feature request section?
micsun is offline   Reply With Quote
Old 1st July 2008, 22:59   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Take a look here,

http://nsis.sourceforge.net/Demonstr...Pre_Show_Leave

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 1st July 2008, 23:40   #3
micsun
Junior Member
 
Join Date: Jun 2008
Posts: 4
I tried using the example on that page and when clicking "Back" on any page, all the color changes that were originally there seem to go away (also happens when I tried implementing this example into my script).

Is there a way to fix this? I'm not familiar with the _PRE, _SHOW and _LEAVE functionality so I'll start reading up on this.

Thanks again
micsun is offline   Reply With Quote
Old 2nd July 2008, 05:11   #4
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Disable the back button

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 2nd July 2008, 16:26   #5
micsun
Junior Member
 
Join Date: Jun 2008
Posts: 4
Is there an umm alternate fix? :]
micsun is offline   Reply With Quote
Old 2nd July 2008, 16:34   #6
micsun
Junior Member
 
Join Date: Jun 2008
Posts: 4
Oh, and shouldn't there be a setting like "MUI_FGCOLOR" or "MUI_COLOR", etc? (is there already?)

If the user can change the background color using a command, they really should be able to change the foreground color with a similar setting, without using a workaround.
micsun is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump