Open main menu

Difference between revisions of "GUI Themes/Specs"

4 bytes removed ,  23:43, 3 February 2007
→‎'gradients' section: got rid of some braces
(→‎'gradients' section: initial explanation of the gradients section)
(→‎'gradients' section: got rid of some braces)
Line 360: Line 360:
           return lastLineColor
           return lastLineColor
   
   
       return firstLineColor + (((lastLineColor - firstLineColor) * currentLine) / maxLineNumber)
       return firstLineColor + (lastLineColor - firstLineColor) * currentLine / maxLineNumber


Of course that's somewhat simplified. Now we come to some examples:
Of course that's somewhat simplified. Now we come to some examples:
561

edits