Modularizing the module, New schema
Commit
#120524
Changes:
- Legacy support code is now in the color_get_info() function.
- Updated color.image.inc for some legacy support for gradients without the color field values. (supposed to be listed like x, y, width, height, color1, color2)
- Modularized code into color.database.inc, color.stylesheet.inc and color.misc.inc
- Now 3 tables: 'color' for theme info, 'color_schemes' for individual name/theme/hex info, and 'color_picks' for user scheme choices.
- In color.database.inc, there is now functions to find scheme based on UID, hex, and scheme/theme
- color_legacy($info) in color.misc.inc function for checking/changing old scheme .inc files to be compatible with this.
Known quirks:
- Minnelli is having very odd color effects. (<a href="http://img338.imageshack.us/img338/8634/picture8no4.png" title="http://img338.imageshack.us/img338/8634/picture8no4.png">http://img338.imageshack.us/img338/8634/picture8no4.png</a>) (With current color.scheme using legacy support code to fix).
- Legacy support code is now in the color_get_info() function.
- Updated color.image.inc for some legacy support for gradients without the color field values. (supposed to be listed like x, y, width, height, color1, color2)
- Modularized code into color.database.inc, color.stylesheet.inc and color.misc.inc
- Now 3 tables: 'color' for theme info, 'color_schemes' for individual name/theme/hex info, and 'color_picks' for user scheme choices.
- In color.database.inc, there is now functions to find scheme based on UID, hex, and scheme/theme
- color_legacy($info) in color.misc.inc function for checking/changing old scheme .inc files to be compatible with this.
Known quirks:
- Minnelli is having very odd color effects. (<a href="http://img338.imageshack.us/img338/8634/picture8no4.png" title="http://img338.imageshack.us/img338/8634/picture8no4.png">http://img338.imageshack.us/img338/8634/picture8no4.png</a>) (With current color.scheme using legacy support code to fix).