summaryrefslogtreecommitdiff
path: root/src/gui/storagewindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
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-14Auto-store featureBlue Sans Douze1-0/+13
Autostore is a feature that allow you a fast store-retreive by pressing emote key and clicking on the object you want to move. All the stack will be moved that way.
2010-01-11Cleanup GUI classesJared Adams1-6/+6
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2009-11-07More eAthena guild stuffJared Adams1-1/+1
Also some related chenges elsewhere
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-1/+1
2009-07-23Clear some more support ifdefsJared Adams1-0/+2
2009-05-21Fixed a few strings for better translationKess Vargavind1-1/+1
Just a few notes that would help us translators immensly: * Please do not split one sentence into several strings * Please try to refrain from inserting extra spaces into the strings
2009-05-11Start out all progress bars at 0, so that they progress upwards.Tametomo1-1/+1
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-10Swapped the buttons on the storage windowBjørn Lindeijer1-3/+3
Looks a bit more consistent like this to me.
2009-05-10Client - Close button storage WindowBlue1-0/+7
Adds a close button to the storage Window
2009-05-08Fixed one pixel missing from progress barsBjørn Lindeijer1-1/+1
Also fixed the progress bar during connecting to reset again when full, by disabling the smooth updating there. The ProgressBar now uses gcn::Color instead of three separate color attributes.
2009-05-06Clean up the bypass code for the ItemAmountWindowJared Adams1-18/+3
2009-05-05Fix the context menu for the storage windowJared Adams1-1/+1
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer1-1/+1
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-1/+2
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-19Min-width fixed for storage windowBlue1121-1/+1
2009-04-19Made ItemContainer wrap items depending on its width againBjørn Lindeijer1-5/+4
This is instead of taking a fixed number of rows and columns. The inventory and trade window are now resizable again. Other smaller changes: * Don't use bold font for the labels in the item container * Changed "(Eq)" back to "Eq." * Removed the ugly grid lines
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-22/+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-06Fixed bar progress on the storage window when initially opened.Ira Rice1-1/+3
Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-06Clean up and expand item equip handling in the GUIJared Adams1-1/+1
2009-04-06Use a namespace to keep apart implementations of network handlersBjørn Lindeijer1-10/+7
Since we'll have three "InventoryHandler" classes, etc. this shows an example of how we can compile with all of them at the same time using namespaces. We'll have: Net::InventoryHandler - the interface EAthena::InventoryHandler - the eAthena implementation TmwServ::InventoryHandler - the tmwserv implementation Maybe we'll find a better way later, but for now this works. I'm not convinced yet that using namespaces is better than just using longer class names like EAthenaInventoryHandler.
2009-04-02Some cleanup and renamingBjørn Lindeijer1-11/+11
* Removed superfluous 'virtual' keyword in *Handler implementations * Renamed NPCHandler to NpcHandler * Renamed InvyHandler to InventoryHandler * Made all *Handler interface methods pure virtual * Used forward declarations in net.h * Renamed {start,end}Shoping to {start,end}Shopping
2009-04-01Make eAthena's inventory handlerJared Adams1-13/+14
Also cleanup some related #ifdefs in LocalPlayer.
2009-03-27Moved the inventory and storage offset handling into netcodeBjørn Lindeijer1-4/+4
No need to complicate the item containers and inventory classes with a silly offset used by the eAthena server. Also fixed the logToStandardOut option by reading it from the config after the configuration has been initialized.
2009-03-27Clean up of most of the Network pointersBjørn Lindeijer1-2/+1
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.
2009-03-27Made eAthena's Network class statically accessibleBjørn Lindeijer1-6/+3
Now the instance doesn't need to be passed into the MessageOut class anymore. Expect a lot of cleanup in the next commit.
2009-03-27Fixed inventory window. Not resizable though.Bjørn Lindeijer1-3/+3
Resizing of the inventory window may come back later. Also did some more code cleanups, moving defines to enums, getting rid of eAthena-specific offset handling (to be done in the network layer), etc. Mantis-issue: 666
2009-03-27Merge branch 'aethyra/master'Bjørn Lindeijer1-8/+9
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/+9
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-0/+210
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-13/+6
Conflicts: Many files.
2009-03-19Make sure positionable dialogs start out centeredJared Adams1-0/+1
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-3/+2
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-11Don't move stuff from inventory when not visibleJared Adams1-0/+2
2009-03-11Don't move stuff from inventory when not visibleJared Adams1-0/+2
2009-03-10Extended window layout to take relative positions, as well as offsets toIra Rice1-2/+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-10Don't center the NPC interraction dialogsJared Adams1-1/+0
Use the last location the user gave instead. Also, do the same for the inventory dialog.
2009-03-09Got rid of an ugly and unified interface breaking cancel button in favorIra Rice1-7/+2
of adding overridable close functionality to the Window class. Now, if you need a close button, but need to do something different, or in addition to the Window close functionality, you can override it and do that action. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-09Add an interface for eAthena's storage systemJared Adams1-0/+213
2009-03-08Forgot the actual storage windowJared Adams1-0/+213