summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
AgeCommit message (Collapse)AuthorFilesLines
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-2/+2
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-10-23Fixed a certain class of Doxygen warningsThorbjørn Lindeijer1-8/+8
All cases of documentation for non-existing parameters are now fixed. Also marked a few getters as 'const', removed some superfluous 'inline' keywords and removed the unused 'forceQuantity' option from ItemContainer. Reviewed-by: Yohann Ferreira
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-6/+0
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2010-03-16Fix some color issuesJared Adams1-4/+1
Colors in BrowserBoxes generally didn't work. Also simplify much palette control detail. Reviewed-by: Thorbjørn Lindeijer
2010-03-12Split Palette into Theme and UserPaletteJared Adams1-238/+33
Themes can now control the colors they use. Colors in the Viewport (being names, particles, etc) can still be changed by the user. Also make ProgressBars more easily colored. DyePalette was made more flexible in the process. Also fixes comparing strings of different lengths insensitively. Reviewed-by: Thorbjørn Lindeijer
2010-02-24Add more to eAthena guild supportJared Adams1-0/+1
It's not complete yet, but it is closer. Also fix up handling of guild/party members. Reviewed-by: Chuck Miller
2010-02-21Do some more copyright header cleanupsJared Adams1-1/+1
Fix "(C) 2009-2009" to just "(C) 2009" Fix "(C) 2010 TMW" to "(C) 2010 Mana" Remove TMW compyright on (hopefully all) files added after 0.0.29.1
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-3/+2
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-12Standardize header orderJared Adams1-3/+3
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2009-08-01makes tab colours also configurableMaximilian Philipps1-0/+1
2009-08-01makes the colour for buttons and disabled buttons configurableMaximilian Philipps1-0/+2
2009-04-15Exposed delay values to the user, but made it so that the delay is colorIra Rice1-4/+27
based, instead of global, so that the user can specify different delays for different types of actions. Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15HP Bar Gradual Changes Config (+ bugfixes)Falkreon1-0/+4
* Setup menu now has settings for the HP bar colors. * StatusWindow handles HP bar changes a little more consistently. * Fixed a bug that cut weightedAverage values in half, making the HP bar very dark.
2009-04-06Fix a spelling errorJared Adams1-1/+1
2009-04-06Clean up and expand item equip handling in the GUIJared Adams1-0/+1
2009-03-30Merge item types to remove more #ifdefsJared Adams1-0/+1
2009-03-27Merge branch 'aethyra/master'Bjørn Lindeijer1-0/+1
Conflicts: src/beingmanager.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/label.cpp src/gui/label.h src/gui/popup.cpp src/gui/popup.h src/gui/scrollarea.cpp src/gui/skin.cpp src/gui/skin.h src/gui/speechbubble.cpp src/gui/window.cpp src/gui/window.h src/localplayer.h src/main.cpp src/net/ea/playerhandler.cpp src/resources/ambientoverlay.h src/resources/dye.cpp src/resources/imagewriter.cpp src/resources/itemdb.cpp src/shopitem.cpp
2009-03-26Fix the ColorTypes MacroMajin Sniper1-6/+8
2009-03-27Fix the ColorTypes MacroMajin Sniper1-6/+8
2009-03-25Make sure the correct color for the pulse gradient shows up on theIra Rice1-0/+1
slider as well, rather than just in the preview, on startup. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25A host of code style fixesBjørn Lindeijer1-5/+5
Mostly putting & and * in the right place and making some getters const.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-1/+43
Conflicts: Many files.
2009-03-22Fixed some compiler warningsBjørn Lindeijer1-1/+1
Superfluous semicolons, initialization order and signed/unsigned mismatches.
2009-03-22Fixed some compiler warningsBjørn Lindeijer1-1/+1
Superfluous semicolons, initialization order and signed/unsigned mismatches.
2009-03-14Made the slider editable when pulse gradient is selected.Ira Rice1-0/+20
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Added a pulse effect into the palette class, which uses the set colorIra Rice1-15/+7
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-13Added item types to the palette class.Ira Rice1-0/+13
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Extend color config gui to support the new colorsMajin Sniper1-7/+19
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-0/+297
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-7/+19
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-0/+296
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.