summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-03-12Split Palette into Theme and UserPaletteJared Adams1-3/+3
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-24Move StorageWindow to instancing intead of globalJared Adams1-1/+1
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
2010-02-22Cleanup some popup-related code and make sure BeingPopup is includedJared Adams1-1/+1
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
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-11Cleanup GUI classesJared Adams1-6/+7
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2009-09-23Fixed some glitches in Equipment and Inventory window, and made the code ↵Bertram1-0/+1
more logical... Now, the setAlpha() function is called with less changing numbers which can help increasing FPS a bit...
2009-09-14Fix context menu for items in the EquipmentWindowJared Adams1-1/+1
2009-07-23Clear some more support ifdefsJared Adams1-0/+2
2009-07-21Merge equipment handling and fix some bugsJared Adams1-50/+13
2009-05-12Remove methods from LocalPlayer that just call NetJared Adams1-1/+4
And make a few others like that, and remove them too.
2009-05-10Make sure Unequip button is disabled when appropriateBjørn Lindeijer1-8/+15
2009-05-08Keep a little spacing above the tabs in the chat windowBjørn Lindeijer1-3/+3
2009-05-08Fixed positioning of the item icons in the equipment windowBjørn Lindeijer1-1/+3
Noticed by QOAL.
2009-04-20Fix up window visibility saving/restoringJared Adams1-0/+1
2009-04-12Cleaned up the ItemPopup class a bitBjørn1-3/+1
Removed methods updateColors, getItemName and getNumRows. The last one was also removed from some other classes.
2009-04-10Some cleanup of the equipment window codeBjørn Lindeijer1-56/+35
Also removed some unnecessary delete statements, since the Popup class already deletes its children and the ScrollArea already deletes its content.
2009-04-09Actually use ItemType instead of shortBjørn Lindeijer1-1/+0
Plus some random cleanups.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-21/+22
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-04-06Moved many MessageOut constructions aroundBjørn Lindeijer1-3/+3
No real point in having these abstracted away twice. We're using network interfaces now instead of functions structured in namespaces.
2009-04-02Start TMWServ's PlayerHandler and InventoryHandlerJared Adams1-1/+1
2009-03-31Remove unused backgroundJared Adams1-7/+0
2009-03-30fix segfault if the background image is missingBernd Wachter1-1/+2
2009-03-30Fix a segfault in the equipment windowJared Adams1-1/+1
2009-03-28Removed a lot of useless isVisible() checksBjørn Lindeijer1-3/+0
The draw() method of a widget isn't called when a widget is not visible.
2009-03-27Merge branch 'aethyra/master'Bjørn Lindeijer1-8/+3
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-26Some code cleanups (mostly reducing how many calculations need to beIra Rice1-8/+3
done in certain statements, rearranging arguements to make them look cleaner, or overall making the code slightly more flexible) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-19/+26
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-19/+23
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-4/+53
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-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-10Extended window layout to take relative positions, as well as offsets toIra Rice1-1/+1
that position. This makes it so that when resolutions are changed, the default locations stay relative to the window's position, and not the 800x600 screen resolution. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-06Merge branch 'aethyra/master'Bjørn Lindeijer1-0/+3
Conflicts: src/being.cpp src/being.h src/floor_item.cpp src/floor_item.h src/flooritemmanager.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/popupmenu.cpp src/net/beinghandler.cpp src/npc.cpp
2009-03-05Made some optimizations based on some profiling done by Octalot, as wellIra Rice1-0/+3
as some other optimizations that I could see that cut down on some unneeded redraws, which in turn improved frame rates slightly. Signed-off-by: Ira Rice <irarice@gmail.com>
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-17Got rid of const where it does not make much senseBjørn Lindeijer1-1/+1
It's not that useful to make variables that are passed by value const. In the declaration it is even completely ignored.
2009-02-15Merge branch 'aethyra/master'Bjørn Lindeijer1-2/+0
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-1/+1
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Deleted some unneeded delete statements.Ira Rice1-2/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-1/+1
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-13/+81
Conflicts: A lot of files...
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-1/+1
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-07Some more include cleanups.Ira Rice1-1/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Simplified equipment window initialization, since only the local playerIra Rice1-2/+2
has an inventory or an equipment. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Got rid of a few dangling pointers.Ira Rice1-0/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Forgot to check left clicking, as I assumed that it wouldn't break usingIra Rice1-4/+10
the same lookup code. This fixes left clicking on the last commit. Signed-off-by: Ira Rice <irarice@gmail.com>