summaryrefslogtreecommitdiff
path: root/src/gui/widgets
AgeCommit message (Collapse)AuthorFilesLines
2011-05-30Remove some uneeded offsettingJared Adams1-2/+2
Also fix position of being names. Reviewed-by: Bertram
2011-05-25Added more double clickable actionsAngelo Castellani1-1/+7
- double clicking a do_choice item submits it - double clicking the npc chat will hit 'next' - double click to buy/sell a single item - clicking on no item in the inventory now deselects - double click to use/activate items in inventory
2011-05-24Extended Guichan with an empty spacer widgetAngelo Castellani2-0/+81
Useful for making nicer layouts Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-23Fixed listbox selection issueAngelo Castellani2-1/+16
Clicking below the last item of a listbox would select the last item. Made it do nothing instead.
2011-05-13Made the setup keyboard tab prettier.Angelo Castellani1-0/+13
Incidentally I added support for a monospaced font (which may come in handy).
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer22-99/+10
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2011-04-09Removed the Mana namespaceThorbjørn Lindeijer1-6/+6
It's just an annoyance when it's only applied to a few classes. Either we place everything in this namespace or nothing, and at the moment I don't see any rationale for placing everything in a Mana namespace. Acked-by: Jared Adams
2011-04-09Moved Channels to Mana::Event::ChannelThorbjørn Lindeijer1-3/+3
Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer1-3/+3
Acked-by: Jared Adams
2011-03-26Add search bar to storage and inventory windowsBlue Sans Douze2-5/+56
Reviewed-by: thorbjorn
2011-03-08Added a tab scrolling system in tabarea.Yohann Ferreira2-1/+189
Currently working on the chat window. Resolves: Mana-Mantis #308. Reviewed-by: Thorbjorn.
2011-01-03Merge branch '0.5'Thorbjørn Lindeijer1-3/+3
Conflicts: po/es.po po/fr.po src/net/tmwa/adminhandler.cpp update-creator.sh
2011-01-02Fixing compiler warningsStefan Dombrowski1-2/+2
The compiler gave two times the warning: comparison between signed and unsigned integer expressions. Reviewed-by: thorbjorn
2010-12-26Fix crash with corrupted links in chat.Andrei Karas1-2/+2
Reviewed-by: Kage
2010-12-15Small hacking cleanups.Yohann Ferreira1-1/+2
In preparation for resolution of mana-issue: #211. Trivial.
2010-11-11Replace Event names with enums instead of stringsChuck Miller1-3/+3
2010-11-11Have the event system channels use enums instead of stringsChuck Miller1-3/+3
Reviewed-by: Freeyorp
2010-11-07Convert the emote system to use particlesChuck Miller2-6/+5
Reviewed-by: Jared Adams
2010-11-01Merge branch '0.5' of gitorious.org:mana/manaYohann Ferreira7-242/+132
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-22Turned the OpenGL and disable transparency options as static members.Yohann Ferreira1-2/+2
- Now OpenGL and the transparency disabling are set at startup and not read again for displaying graphics, preventing graphic errors before startup. - We also agreed long time ago that SDL specific functions should have a SDL prefix. The header has been rearranged a bit to do so. - Also fixed a possible discrepancy in the hasAlphaChannel() function. Reviewed-by: CodyMartin. Resolves: Mana-Mantis: #260.
2010-10-01Fix possible invisible chat.Andrei Karas1-5/+2
Reviewed-by: Thorbjorn
2010-09-30Setting alpha for items in ItemShortcutContainerStefan Dombrowski1-0/+1
Reviewed-by: Thorbjorn
2010-09-29Improve chat speed.Andrei Karas3-193/+128
Parse chat lines in BrowserBox once after changes. Reviewed-by: Thorbjorn
2010-09-28Removing click-countStefan Dombrowski2-45/+4
Click-count is not double-click, because it does neither check if the clicks happen on the same object nor if the clicks happen in rapid succession. * In the server dialog it can happen that you can get connected by just selecting a server. * In the social window it can happen that you open a chat by just clicking once on a name. * In the inventory window you better only select useable items if you want to use them, because they might get used by just selecting them. * And in case you actually want to use double-click, it often does not work, because click-count is already larger than 2. This reverts the commits: 8b4d9f9b5eaf175baf0c4209c312133bb457742c b1aef06ac85b1ed7db7725e50b2dbfcdfd1a0925 4c27bfbf6ca84546e5b914b7909df14dd2966081 Reviewed-by: Thorbjorn
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer7-21/+227
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-09-02Avoiding empty lines in historyStefan Dombrowski1-1/+2
2010-08-31Fixing auto complete and chat historyStefan Dombrowski2-14/+8
Reviewed-by: Jaxad0127
2010-08-29Move handling of autocomplete and input history into TextFieldJared Adams4-21/+197
Reviewed-by: Freeyorp
2010-08-26Merged testing branch into master.Yohann Ferreira3-5/+8
2010-08-25Adding autoComplete for inviteStefan Dombrowski3-2/+27
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-22Fixing segmentation fault when tab gets removedStefan Dombrowski1-17/+3
How to reproduce the bug: Leave a party, while the party tab in the chat window is not selected. Then click with the mouse on the chat window. Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-08-19Fixing some bugs in NPC-shop guiStefan Dombrowski2-0/+24
* Price and total money is now shown from the beginning in sell dialog. * Item popup is set invisible when mouse has moved away from items. * Item popup gets deleted when shop closes. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-16Move more to the event systemJared Adams1-13/+25
Most of Net::InventoryHandler is now done through events. The ActorSpriteManager was also replaced by events. A few odds and ends were taken care of too. Reviewed-by: Bertram
2010-08-12Forgot a Label constructorJared Adams1-0/+1
2010-08-12Fix Label color handlingJared Adams1-1/+1
2010-08-03Move Theme and UserPalette to the resources folderJared Adams25-33/+29
Reviewed-by: Yohann Ferreira
2010-08-03Merge remote branch 'origin/1.0'Jared Adams1-4/+36
Conflicts: src/net/tmwa/chathandler.cpp
2010-08-03Added double click to equip unequip and use itemsdweems1-4/+36
-Double-click items in invetory to equip/unequip -Double-click items in inventory to use Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira19-45/+45
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-07-19Merge branch '1.0'Yohann Ferreira1-2/+3
Conflicts: src/gui/itempopup.cpp src/item.cpp src/monster.cpp src/net/manaserv/playerhandler.cpp src/net/tmwa/partyhandler.cpp src/npc.cpp src/player.cpp src/resources/itemdb.cpp src/resources/monsterdb.cpp src/resources/monsterinfo.cpp src/resources/npcdb.cpp src/resources/spritedef.cpp
2010-07-18Move more from LocalPlayer to PlayerInfoJared Adams1-5/+5
Also cleanup PlayerInfo a bit. Reviewed-by: Chuck Miller
2010-07-16Fix memory corruption in chat on exit.Andrei Karas1-1/+2
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-29Make whisper responses from tmwAthena show up in correct tabsJared Adams2-14/+3
Reviewed-by: Bertram
2010-05-21Merge branch '1.0'Thorbjørn Lindeijer5-13/+23
Conflicts: src/beingmanager.cpp src/beingmanager.h src/client.cpp src/localplayer.cpp
2010-05-17Remove Monster, Player, and NPC classesJared Adams2-10/+10
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-05-13Draw item image in item popups.Andrei Karas2-7/+8
Now draw image only in chat item popup. Reviewed-by: Bertram
2010-05-06Add support for floor item spritesJared Adams1-2/+2
This commit adds a sprite hierarchy (Sprite->ImageSprite,AnimatedSprite,CompundSprite; CompoundSprite,Actor->ActorSprite;ActorSprite->Being,FloorItem) to collect common functionailty into new base classes which will make other Mantis tickets easier to do. Also allows monsters to use particle effects. Reviewed-by: Bertram
2010-05-06Fix reading arrays at index -1.Andrei Karas2-3/+12
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-05-06Fixed some copy/pasted documentationThorbjørn Lindeijer1-3/+3
2010-05-01Add chat logging.Andrei Karas4-0/+21
Add option in players setup page. Add command line option. Signed-off-by: Jared Adams <jaxad0127@gmail.com>