summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-02-13Make NPC dialogs instance instead of globalJared Adams1-3/+1
This change allows players to talk to multiple NPCs at a time (if the server agrees). Manaserv's netcode allows multiple commerce instances too. eAthena's is limited to one commerce instance, due to protocol limitations.
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-31Unify eAthena and manaserv support in to one build.Daniel Bradshaw1-1/+1
Finish support for server types in the server dialog. Using the new server type function, strip out ifdefs, replacing them with if blocks for later merging in smaller atomic commits. Remove any remaining references to the support defs, including in build system.
2010-01-13Adds a follow manager for usersBlueSansDouze1-4/+5
Right click contextual menu on player "follow" entry Cancel the following by moving with mouse or keys Adds a special behavior for map changes
2010-01-11Cleanup GUI classesJared Adams1-7/+7
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2010-01-10Change code styleAndrei Karas1-1/+2
2009-12-27Add right click whisperdweems000@gmail.com1-0/+8
2009-11-26Merge a little more and remove the BuddyWindowJared Adams1-19/+1
The BuddyWindow was only half implemented and would have been made redundant with the planned social window.
2009-10-24REplace instances of TMW with ManaJared Adams1-2/+2
2009-09-23Fixes party inviteChuck Miller1-1/+1
2009-09-13Add ellipsis (...) to some options requiring further inputKess Vargavind1-3/+6
2009-08-31Fixes NPC names on the popup menu.Freeyorp1-6/+2
Mantis-issue: 861
2009-08-07Gettext fixesKess Vargavind1-3/+4
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
2009-07-24Prevent translations from leaving popups uselessJared Adams1-35/+63
2009-07-23Clear some more support ifdefsJared Adams1-2/+0
2009-07-17Various gettext fixesKess Vargavind1-1/+2
* Merged a few split strings * Fixed some spellings and wordings * Turned a couple of std::cout and std::cerr into logger messages
2009-05-12Fix up handling of GM statusJared Adams1-9/+12
2009-05-12Adjust the context menu's invite optionsJared Adams1-1/+4
Guild will no longer show for eAthena builds and party will only show if you are in a party.
2009-05-12Remove methods from LocalPlayer that just call NetJared Adams1-5/+7
And make a few others like that, and remove them too.
2009-05-06Clean up the bypass code for the ItemAmountWindowJared Adams1-4/+4
2009-05-06Remove more inventory handling support #ifdefsJared Adams1-7/+2
This also fixes some minor bugs and centralizes some logic.
2009-05-05Fix the context menu for the storage windowJared Adams1-15/+41
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer1-1/+1
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-3/+3
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-22Some string fixesKess Vargavind1-3/+3
2009-04-20Reduced the weight of a few gui windows and popups which wrapped theirIra Rice1-4/+0
TextBoxes in ScrollAreas, but never needed to scroll (and disabled both the horizontal and vertical scrollbars, which makes using a scrollarea kind of pointless to begin with). Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Made the PopupMenu a Popup subclassBjørn Lindeijer1-8/+1
It's a natural better fit. The SkinLoader was changed into a singleton, since it's used by both Window and Popup classes.
2009-04-15Fix some memory problemsJared Adams1-0/+1
2009-04-15Trim out (npc) tag from NPC names in PopupMenuTametomo1-2/+8
Generally, it's good to tack on this tag onto nearly everything, but for popup options, it looks a tad tacky. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Some PopupMenu cleanups/fixes and additions.Tametomo1-17/+25
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-10Fix popup to prevent an item from showing on warpsJared Adams1-1/+2
2009-04-09Remove a segfault when exiting the clientJared Adams1-3/+1
2009-04-09Add a popup menu item to add Being name to chatJared Adams1-11/+10
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-1/+2
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-05Implement TMWServ's Admin-, Chat-, and MapHandlersJared Adams1-1/+1
2009-04-02Partially fixed compilation for TMWServ. src/gui/buysell.cpp still needs to ↵Philipp Sehmisch1-1/+1
be fixed.
2009-04-02Add some missing handler for eAthenaJared Adams1-0/+17
Also expand aAthena's AdminHandler
2009-04-01Some cleanupJared Adams1-7/+1
2009-04-01Make eAthena's inventory handlerJared Adams1-4/+0
Also cleanup some related #ifdefs in LocalPlayer.
2009-03-29Fix up eAthena party handling some moreJared Adams1-3/+2
2009-03-27Made eAthena's Network class statically accessibleBjørn Lindeijer1-2/+1
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-2/+4
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-2/+4
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-27Fixed include structure in resource/ directoryBjørn Lindeijer1-21/+23
There is also a new rule that trivial constructors and destructors should no longer be trivially "documented", since this just takes up space with no gain.
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-25Merge branch 'eathena/master'Bjørn Lindeijer1-6/+6
Conflicts: A lot of files.
2009-03-25Relaxed collision and fringe naming slightly so that they just need toIra Rice1-1/+1
start with collision or fringe, instead of being required to be the same case throughout the beginning of the layer name. Also made a default name for popup menus so that their skins can also be changed by users. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25Modified skin loading to save and load a skin's XML path, as well asIra Rice1-1/+3
modified the skin loading method to take a default value, in case the value in the configuration file fails to load for one reason or another. While this doesn't directly expose skinning on a per window basis to the user at the moment, it does allow people to change what skins get loaded with which windows now without needing to modify the code. TODO: Determine a decent approach to allowing the user to change their window skins in game, as well as moving all widget skin loading to the skin class (for instance, the button skins, progressbar skins, etc.) so that different skin configurations can use different widget skins. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-5/+5
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-3/+43
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!