Difference between revisions of "GUI Themes/Specs"

Jump to navigation Jump to search
(→‎'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: