summaryrefslogtreecommitdiff
path: root/src/gui/palette.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-31/+63
Conflicts: Many files.
2009-03-22Fixed some compiler warningsBjørn Lindeijer1-8/+9
Superfluous semicolons, initialization order and signed/unsigned mismatches.
2009-03-14Improved pulsating algorithm to look better for impure colors.Ira Rice1-3/+3
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made the slider editable when pulse gradient is selected.Ira Rice1-11/+23
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Added a pulse effect into the palette class, which uses the set colorIra Rice1-25/+30
and pulsates back and forth between it and black. Added directly after the spectrum effect. Also modified the gradient delay to be a lot farther out, so that we don't end up with a Pokemon seizure causing disaster (the speed was the same, as well as the colors. The new speed should be a lot more considerate of people who are prone to having issues from that speed of color changing). TODO: Modify the palette class to allow for updating the color for the pulse gradient without needing to have it applied first. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Exposed the progress bar colors to the color management tab.Ira Rice1-0/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-0/+1
the palette colors. While technically, this can be accomplished through other means, it's rather clumsy overall, and is prone to introducing in programmer errors. This commit finally catches every case where text is used, and applies the text color from the color dialog to each of them appropriately. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Code cleanup in the color/palette codeMajin Sniper1-11/+9
2009-03-14Code cleanup in the color/palette codeMajin Sniper1-18/+16
2009-03-14Fix a spelling error in paletteJared Adams1-1/+1
2009-03-14Fix cancel button in color config dialogMajin Sniper1-4/+5
Also save the committed gradient, not the one currently used.
2009-03-14Fix a spelling error in paletteJared Adams1-1/+1
2009-03-14Fix cancel button in color config dialogMajin Sniper1-4/+5
Also save the committed gradient, not the one currently used.
2009-03-13Added item types to the palette class.Ira Rice1-6/+20
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Extending the internal handling of colorssniper1-0/+317
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.
2009-03-12Extending the internal handling of colorssniper1-0/+315
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.