summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-02-09C++11: Use default member initializersThorbjørn Lindeijer1-7/+4
This patch is not exhaustive.
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-41/+41
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2024-01-25Fixed parent for OkDialog in social windowThorbjørn Lindeijer1-1/+1
2024-01-25Minor includes cleanupThorbjørn Lindeijer1-3/+0
2012-08-05Removed all the hardcoded sizes of the various setup tabsThorbjørn Lindeijer1-1/+0
Instead, support for dynamically adjusting layout was added to the Container class. Various other places were also adapted to use the new layout support in Container. Reviewed-by: Erik Schilling
2012-04-19Client side fix for manaserv guild systemErik Schilling1-2/+3
- kick code untested because no kick button exists yet Reviewed-by: bjorn.
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-10player_node -> local_playerYohann Ferreira1-3/+3
Reviewed-by: Ablu
2011-05-15Starting to fix party inviteStefan Dombrowski1-2/+2
2011-04-11Fixing uninitialized variables in guild inviteStefan Dombrowski1-4/+3
2010-11-01Merge branch '0.5' of gitorious.org:mana/manaYohann Ferreira1-11/+15
Conflicts: src/being.cpp src/client.cpp src/commandhandler.cpp src/gui/setup_video.cpp src/gui/socialwindow.cpp src/gui/viewport.cpp src/gui/widgets/browserbox.cpp src/gui/widgets/itemcontainer.cpp src/imageparticle.cpp src/localplayer.cpp src/localplayer.h src/map.cpp src/net/tmwa/beinghandler.cpp src/particle.cpp src/particle.h src/player.cpp src/player.h
2010-10-13Adding theme colors for party tabsStefan Dombrowski1-1/+1
Following Rotonen's advise to "make anything and everything you can think of recolorable", a theme can now define colors for PARTY_CHAT_TAB and PARTY_SOCIAL_TAB. This was badly needed, because the requirements for a color of a chat tab and of a player name are quite different. TODO: When guild support gets enabled, then have a look at the colors for guilds. Reviewed-by: 4144
2010-10-05Fixing segmentation fault in social windowStefan Dombrowski1-2/+2
How to reproduce the bug: * Press button Leave in social window. * In the confirm dialog press No. * Then switching character makes the client crash. Trivial fix.
2010-10-02Avoiding the creation of a party or guild without a nameStefan Dombrowski1-10/+12
If no name is given, then the player obviously didn't want to create it. Now the empty input is handled just the same way as in the invite dialog. Trivial fix.
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer1-13/+17
Conflicts: src/actorspritemanager.h src/beingmanager.cpp src/game.cpp src/gui/beingpopup.cpp src/gui/chat.cpp src/gui/chat.h src/gui/inventorywindow.h src/gui/itempopup.cpp src/gui/socialwindow.cpp src/gui/statuswindow.cpp src/gui/widgets/chattab.cpp src/gui/widgets/chattab.h src/net/tmwa/inventoryhandler.cpp src/net/tmwa/partyhandler.cpp src/party.cpp src/sound.cpp src/utils/stringutils.cpp src/utils/stringutils.h
2010-08-27Changing findBeingByName so that it searches case insensitiveStefan Dombrowski1-2/+4
Adding error message when trying to create a party with to long name. Removing non-existing files from C::B project. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-25Adding autoComplete for inviteStefan Dombrowski1-5/+12
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-24Giving functionality to invite in socialwindow and allow enter key in textdialogStefan Dombrowski1-3/+0
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-21Fixing segmentation fault and improving gui for partyStefan Dombrowski1-2/+2
* Segmentation fault happened if a player left a party while other party members are offline. * While creating a party the key input is not anymore reused for game play. * The vertical scrollbar is only shown when needed. * The default height was raised, because before much of the functionality was hidden. Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-08-12Simplify working with the event systemJared Adams1-1/+1
EventManager has been merged into Event, with some new convinience methods added. Reviewed-by: Chuck Miller
2010-08-03Move Theme and UserPalette to the resources folderJared Adams1-1/+2
Reviewed-by: Yohann Ferreira
2010-08-01Reduce localChatTab presence replacing it with the event systemChuck Miller1-28/+26
Reviewed-By: Jared Adams
2010-06-13Merge remote branch '1.0/1.0'Jared Adams1-1/+18
Conflicts: data/graphics/CMakeLists.txt data/graphics/Makefile.am src/client.cpp
2010-06-13Fix memory leaks in different windows.Andrei Karas1-0/+1
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-12Fix memory leak in socialwindow.cpp.Andrei Karas1-1/+17
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-05-21Merge branch '1.0'Thorbjørn Lindeijer1-2/+19
Conflicts: src/beingmanager.cpp src/beingmanager.h src/client.cpp src/localplayer.cpp
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-2/+0
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
2010-04-25Fix some button issues in SocialWindowJared Adams1-2/+19
The invite and leave buttons are now only enabled when there are tabs. Also, the code to handle them will do nothing if no tab is selected (backup logic). Reviewed-by: Chuck Miller
2010-03-26Replace most dynamic_casts with static_castsJared Adams1-12/+2
The remaining instances can't easily or safely be changed as the classes involved don't have type information like Being does. Reviewed-by: Freeyorp
2010-03-21Make TextDialog send an appropriate event for cancelJared Adams1-4/+32
Reviewed-by: Chuck Miller
2010-03-17Make sure existing parties get added to SocialWindowJared Adams1-0/+5
2010-03-12Split Palette into Theme and UserPaletteJared Adams1-2/+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-27Disable guilds for eAthena for nowJared Adams1-3/+7
Reviewed-by: Thorbjørn Lindeijer
2010-02-26Color the tabs in the SocialWindowJared Adams1-0/+4
Reviewed-by: Thorbjørn Lindeijer
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-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-08Remove a debugging statement that got left inJared Adams1-3/+0
2010-02-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams1-0/+570