summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer121-1675/+4522
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer83-880/+1974
Conflicts: Many files.
2009-03-23Move all TMWServ-specific code to net/tmwservJared Adams9-11/+13
Also fix several instances where the same net handler was being used for both servers, and a few other related oddities.
2009-03-23Make some getters constJared Adams2-3/+3
2009-03-23Merge eA's command handling into CommandHandlerJared Adams4-493/+76
Also drop Aethyra's custom magic code
2009-03-22Move handling of eA skill messages to SkillHandlerJared Adams2-150/+3
2009-03-22Fix chat under eAthenaJared Adams2-75/+69
2009-03-22Fixed some compiler warningsBjørn Lindeijer3-10/+13
Superfluous semicolons, initialization order and signed/unsigned mismatches.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer94-534/+6131
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-19Throttle framerates down to save CPU cycles. Now that we're getting highIra Rice1-14/+18
framerates in OpenGL even on older hardware, this should be done to conserve on CPU usage, rather than stressing it with more frames than the monitor can render. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Reduced down label code.Ira Rice1-29/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Forgot to remove some now unneeded includes.Ira Rice4-4/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Made the plus and minus buttons in the last commit look moreIra Rice5-10/+12
aesthetically pleasing. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Reformatted the item amount window and the buy/sell windows so thatIra Rice10-62/+156
their guis are similarly laid out. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Simplified trading dialog controls.Ira Rice3-36/+22
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Some minor cleanups in a few windows and build scripts, as well asIra Rice5-298/+13
fixing tables to correct the highlights to draw where they're supposed to, as well as at the opacity they're supposed to. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Make sure positionable dialogs start out centeredJared Adams23-20/+57
2009-03-19Port Progressbar to TextRendererMajin Sniper1-23/+8
2009-03-19Port Progressbar to TextRendererMajin Sniper2-14/+10
2009-03-19Fixed SDL_ttf include againBjørn Lindeijer1-1/+1
Please set up your include path if this include doesn't work for you.
2009-03-18Fix up the NPC interraction widnows a bitJared Adams12-36/+78
2009-03-18A few more fixes in the ItemAmount dialogJared Adams1-1/+5
2009-03-18Clean up TtemAmount dialog and add an All buttonJared Adams2-27/+33
2009-03-18Clean up TtemAmount dialog and add an All buttonJared Adams2-27/+33
2009-03-18Fix up the NPC interraction widnows a bitJared Adams10-12/+41
2009-03-18Windows compilation fixesPhilipp Sehmisch2-2/+2
2009-03-18Fixed a broken Mac include for SDL_ttfBjørn Lindeijer1-2/+2
Reviewed-by: trapdoor
2009-03-15Fixed BuySell dialog to remember its position. For proper configurationIra Rice1-0/+1
saving, this needed a window name set. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-15Overrode the reset window function in the chat window to also reset theIra Rice7-9/+27
position of the recorder, as well as fixed resetting the help window, and exposing the buy/sell window to being resettable, as well as remembering its previous position. All windows should now be covered by the reset button on the setup pane. Signed-off-by: Ira Rice <irarice@gmail.com>
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 Adams6-4/+10
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-14Fixed default size for the debug window.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Removed a redundant widget resize function in the shortcut window.Ira Rice2-16/+7
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Exposed a few more windows to the reset button on the setup window.Ira Rice5-21/+33
These windows required an external declaration to reset. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Exposed a few more windows to the reset window button under the setupIra Rice2-1/+6
dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made the slider editable when pulse gradient is selected.Ira Rice3-13/+56
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Added a pulse effect into the palette class, which uses the set colorIra Rice3-41/+39
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-14Modified the equipment window to use the highlight color for selections.Ira Rice1-16/+18
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Fixed item popups in the equipment window to display the proper itemIra Rice1-2/+4
type colors. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Fixed a label in the status window to use the label widget inside theIra Rice1-1/+1
gui folder. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Added the label classes that were accidently left out in commitIra Rice2-0/+123
3575c7a606c2d24c0d444e9999892c0390fa5ae8 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Exposed the progress bar colors to the color management tab.Ira Rice9-17/+64
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice26-172/+164
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-14Fixed sliders to initialize their alpha values on loading, instead ofIra Rice1-0/+10
only using alpha values after the first change. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Got rid of two direct references to the color black. These now alwaysIra Rice2-2/+4
pull from the stored text color. This should help in situations in which the user has their own custom skin in the future, and needs to adjust text colors to be more friendly to a darker skin. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Code cleanup in the color/palette codeMajin Sniper2-12/+9
2009-03-14Commented up item popups, speech bubbles, as well as only update itemIra Rice7-9/+80
info on item change. Also fixed color updating for item shortcuts and item links, as the displayed colors wouldn't update on change on color change in the setup color dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Code cleanup in the color/palette codeMajin Sniper3-44/+16
2009-03-14Fix a spelling error in paletteJared Adams1-1/+1