Rainlendar background color
Friday, February 10, 2012 by LizMarr | Discussion: Skinning
I posted in Rainlendar forum, but it doesn't look very active. So I thought I would post here as well (I hope you don't mind)
I'm picking apart and customizing the Chromophore skin (one of Rainy's, he said I could)
I want to have some way to customize the background color on the fly. So I dig around and find where it is set. The colors are 0.0 through 0.9 (two decimals give a margin of hue change) So, I have the colors of the rainbow and nothing else.
Where does this notation come from? Is there a way to convert to the standard six-character character notation? Perhaps it is hard-coded in the app? (I haven't picked apart any others, I'm not sure I have any that change background colors)
Reply #2 Saturday, February 11, 2012 12:31 AM
It is the new type - scripts and xml. Of course, XML is kinda like HTML. It was Rainy who told me I could just rename it to zip to edit it. The color thing mystifies me. I'm not that familiar with xml, and I don't know where the limitation comes from. I think it was a static value, so I can't follow the code past that.
Reply #3 Saturday, February 11, 2012 10:22 AM
I prefer the older version, 0.21. Its so much easier.
Reply #5 Saturday, February 11, 2012 5:15 PM
Reply #7 Sunday, February 12, 2012 12:39 AM
Got an answer on the other forum. After staring at it then reading the thread he linked I am almost understanding. It has to do with the skin uses a bit mapped background. The number is derived by some type of strange mathematical process that uses the result to put into the xml and produces a color. That in mind I'm going to try it and see what happens. If anyone is interested in calculations to float a space ship:
http://www.rainlendar.net/cms/index.php?option=com_kunena&Itemid=42&func=view&catid=3&id=15613
The math part comes into play on page two. It still has my head spinning, but I just got back from a journey up the coast a couple hours and back again. Actually, it's kinda fun to read, but I have a weird sense of humor. Who is on first, anyhow?
Reply #8 Sunday, February 12, 2012 3:15 AM
OK, I tried this. Silly thing only recognizes the first number. Period. I guess I'll pester folks on the other list to see if I can edit it from bitmap color to some other type. It's been nearly 20 years since I have done more than simple programing. We did Pascal...
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Friday, February 10, 2012 1:59 PM
I think Chromophore is written in HTML code. I don't have any knowledge about that. Try getting a hold of k10w3
I know she has modified that type of rainy before.