Takhir
13th March 2005 15:07 UTC
Marquee plug-in
Result looks like <marquee> tag on the html page, scrolling text. I thought about some animation on the INSTFILES page during long installs (but may be used with other pages as well), attached plug-in is one of possible ways. Text length to be displayed may be big enough, limited by NSIS 'stringsize' parameter, 1024 and 8096 bytes for common and special NSIS builds. 14 parameters define text, font and scroll. The only big limitation I see now - horizontal scroll only (both directions), "Star Wars" introduction panoramic text not implemented yet :) (requires more time). Idea was also discussed in this thread http://forums.winamp.com/showthread....hreadid=210055
deguix
13th March 2005 15:49 UTC
May I implement this to IOEx :D? I mean, its a lot easier to work on a control when someone else already started the work :cool:.
Takhir
13th March 2005 16:01 UTC
No problem, it's yours ;)
Takhir
13th March 2005 17:04 UTC
2 new parameters - right text limit (not center position) and border rectangle (optional :) ).
Takhir
14th March 2005 12:57 UTC
'/once' option was replaced with '/scrolls=cnt', where 0 (default) is non-stop mode, positive values define how many times user will see scrolling text (if page will not be closed earlier :) ).
Text alignment is more safe now - '/top=100' aligns text to client area bottom (plug-in shifts target rectangle up using calculated text height value), '/top=0' - top alignment with additional little shift down if '/border' defined.
Takhir
16th March 2005 13:19 UTC
New options: border width, color and spacer between border and text clipping rectangle. Archive page now available http://nsis.sourceforge.net/archive/...instances=0,32
Takhir
21st March 2005 08:37 UTC
2 little updates: a bit safer on Abort/Quit (no problems with previous versions, but now it's even safer :) ) and faster redraw (usefull on INSTFILES page when processor load is up to 100%). zipped dll size 3 kB.
Takhir
20th July 2005 13:15 UTC
2 new options:
bi-directional movement (/swing)
start position inside 'marquee' rectangle (left, right, center) - mainly for /step=0 static text mode.
Updated wiki page
Takhir
30th August 2005 09:37 UTC
2 new options:
GCOL - sets background color for drawing rectangle, default is rect left top point color.
HWND - window handle to paint on. Default is current installer page.
wiki page