summaryrefslogtreecommitdiff
path: root/src/gui/setup_colors.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-25A host of code style fixesBjørn Lindeijer1-1/+1
Mostly putting & and * in the right place and making some getters const.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-28/+67
Conflicts: Many files.
2009-03-18Windows compilation fixesPhilipp Sehmisch1-1/+1
2009-03-15Fixed color previews for item types.Ira Rice1-0/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-15Fix some mem leaksJared Adams1-3/+2
2009-03-14Made the slider editable when pulse gradient is selected.Ira Rice1-2/+13
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Added a pulse effect into the palette class, which uses the set colorIra Rice1-1/+2
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-9/+18
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-6/+12
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-1/+0
2009-03-14Code cleanup in the color/palette codeMajin Sniper1-25/+0
2009-03-13Added item types to the palette class.Ira Rice1-0/+17
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-13Made the TextPreview widget respect alpha values.Ira Rice1-1/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Added in option for opacity for the text preview widget, which all ofIra Rice1-3/+1
the other widgets have as well. Also set the preview widget to have opacity off, like all of the other widgets (if it is on, then opacity can't be applied to it. Also looks rather tacky with it) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Extend color config gui to support the new colorsMajin Sniper1-32/+153
The new color palette supports many more colors that the browserbox can display. So a change to the color config gui was needed.
2009-03-12Extending the internal handling of colorssniper1-23/+32
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-12Extend color config gui to support the new colorsMajin Sniper1-16/+166
The new color palette supports many more colors that the browserbox can display. So a change to the color config gui was needed.
2009-03-12Extending the internal handling of colorssniper1-23/+32
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-10Fix some mem leaksJared Adams1-2/+3
2009-03-10Fix some mem leaksJared Adams1-3/+2
2009-03-10Fix some mem leaksJared Adams1-3/+2
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-1/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-1/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-4/+4
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Merge commit 'aethyra/master'Bjørn Lindeijer1-1/+1
Conflicts: CMakeLists.txt configure.ac data/help/header.txt packaging/windows/setup.nsi po/POTFILES.in src/being.cpp src/being.h src/game.cpp src/gui/color.cpp src/gui/color.h src/gui/equipmentwindow.h src/gui/popupmenu.cpp src/gui/recorder.cpp src/gui/setup_colors.h src/gui/setup_keyboard.cpp src/gui/setup_keyboard.h src/gui/skill.cpp src/gui/speechbubble.cpp src/gui/speechbubble.h src/gui/table.cpp src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/main.cpp src/main.h src/map.cpp src/resources/colordb.cpp src/resources/colordb.h src/resources/emotedb.cpp src/resources/emotedb.h src/text.cpp src/text.h src/tmw.rc src/winver.h
2009-02-11Changed spelling from colour to color.Philipp Sehmisch1-0/+249
2009-02-11More capitalization fixes for 'color'Bjørn Lindeijer1-5/+5
Hopefully these are the last ones. :)
2009-02-10Fixed some accidental capitalization errorsPhilipp Sehmisch1-21/+21
2009-02-10fixed capitalization of color member functions.Philipp Sehmisch1-4/+4
2009-02-10Changed spelling from colour to color.Philipp Sehmisch1-0/+249