Thread: BMW IBus-Heads
View Single Post
Old 04-19-2006, 08:34 PM   #35
sama
FLAC
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Posts: 1,280
here it is chaps, scrolling text as promised! I have not tested it in the car yet, but it works on my screen here. let me know how it goes, it's the middle of the night and I'm not going outside

Whenever a scroll is required, an extra 2 spaces will be placed at the end of the string, so spaces in the name can be distinguished from the end of the scroll (this of course assumed your song names don't have more than one consecutive space between them!)

The ini file now contains the follwing extra fields to play around with.

; Tells the scrolling mechanism whehter to wrap the scrolled string or not
WrapScroll=True


so either this (true):
Code:
[T H E . T I T L] E . . [H E . T I T L E] . . T [E . T I T L E .] . T H [. T I T L E . .] T H E ...

or this (false):
Code:
[T H E . T I T L] E . . [H E . T I T L E] . . . [E . T I T L E .] . . . [. T I T L E . .] . . . ...

; The message length which to scroll beyond
MessageLength=8

; The scroll speed in milliseconds
ScrollSpeed=400

the startup message will also scroll, as will any entries to the form directly


I may add some more scroll styles. like this (bounce):
Code:
[T H E . T I T L] E S . [H E . T I T L E] S . . [E . T I T L E S] . . . [H E . T I T L E] S . . [T H E . T I T L] E S .

and you would also control the number of bounces before it goes out. what do you guys think?

enjoy, and let me know how it goes
Attached Files
File Type: rar Ibus v1.0.83.rar (83.8 KB, 194 views)
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC

Last edited by sama; 04-19-2006 at 08:49 PM.
sama is offline   Reply With Quote