summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-05-04Fix link colors and item links for pickup messagesJared Adams1-1/+1
2009-05-04Fix char-server default selection to be firstJared Adams1-14/+11
Also send a different version to the login-server to tell it to send the main char-server first.
2009-05-03Fixed compile warnings and other tweaksBjørn Lindeijer4-23/+25
Warnings were about initialization order and signed variables compared to unsigned variables. Please pay attention to these things. Also made some getters const and turned some std::string parameters into const std::string &.
2009-05-03NPC Integer input plus and minusBlue2-10/+26
Added plus and minus buttons on NPC Integer input. No server side modifications.
2009-05-03Fix some layout issues with the NPC dialogJared Adams2-6/+45
Also add a reset button for the string and integer input modes.
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer26-36/+21
2009-05-03Made the new present player count translatableBjørn Lindeijer2-6/+7
2009-05-03Moved mIsGM from Being to Player and made isGM() constBjørn Lindeijer1-2/+2
2009-05-03De-hardcoded the color values for the minimap, and set them to theirTametomo1-10/+20
equivalent Palette color type. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-02Fix up some things in the NPC dialogJared Adams2-5/+26
2009-05-02Make sure messages on most tabs are handled rightJared Adams2-3/+2
2009-05-02Extend the /present command.Freeyorp1-4/+6
/present will now output the number of players present in addition to the names of players that are present.
2009-05-02Changed chat window to allow downwards arrow to create a empty lineChuck Miller1-9/+16
Minor: removed some debugging output no longer needed
2009-05-01Changed the way beings are handled when clicked on with a TMWServ buildChuck Miller1-8/+16
(mainly talking to NPCs, and attacking Monsters / Players. Though combat is still broken.)
2009-05-01Forgot the new dialogJared Adams2-0/+462
2009-05-01Merge the NPC dialogs into oneJared Adams11-935/+31
Also add support for the new TMWServ NPC packets
2009-05-01Fixed reference to selection.png not being clearedBjørn Lindeijer1-1/+1
2009-04-29Some random cleanupsBjørn Lindeijer2-4/+4
2009-04-29Fixed the name of the buy button member of BuySellDialogBjørn Lindeijer2-8/+9
Missed the m prefix.
2009-04-29Set default focuses on the BuySell dialog, the Buy dialog, and the SellTametomo4-4/+7
dialog to reduce the amount of needed tabbing by the user when using the keyboard to use these dialogs. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-29Fixed const-ness of TableModel related methodsBjørn Lindeijer7-51/+49
2009-04-29Allow item popups to run off of the top of the screen, as requested, asTametomo1-4/+5
well as fixing the item weight field not showing. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl> (partial cherry-pick)
2009-04-29Fixed a Table segfault which would occur by doing division by 0 whenTametomo1-1/+4
there are no rows present. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-29Made sure the right overloads are usedBjørn Lindeijer1-2/+3
2009-04-29Changed palette colors to be once again stored in a human readableTametomo1-2/+14
format once again. This was originally reverted because it caused a regression on Windows, but not Linux, which was later found out to be because there's a Linux kernel function which will convert hex strings into an integer format, while Windows doesn't share the same luxury. So, to avoid any issues, this commit adds an atox (ascii to hex) string utility, and uses it when parsing hex strings for colors from the configuration file. Also ensured that people who have colors saved in the old, raw integer format can get their colors converted to hex values. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-29Removed the button to toggle the Chat windowBjørn Lindeijer1-7/+1
Personally I consider this button rather useless. I think most people that often toggle the chat window will do that with the shortcut anyway.
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer34-37/+40
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-28Remove some more support #ifdefsJared Adams1-9/+1
2009-04-28Made map non-resizable. Stopped emote spamming.David Athay1-3/+6
2009-04-27Fixed first item in inventory showing up in arrow slotBjørn Lindeijer1-3/+3
Index 0 is now a valid index, namely the first item in the inventory. I forgot to change this line to use -1.
2009-04-26Moved minimap title setting into the Minimap classBjørn Lindeijer5-32/+33
Also cleaned up some debug log statements, fixed initialization order, removed an unused member variable and added some documentation.
2009-04-26Remove a debugging statementJared Adams1-1/+0
2009-04-26Minimap ratio adaptBlue2-17/+34
Now the minimap can adapt every image ratio, not only 0.5 (even images with differents width and height)
2009-04-25Font size change in the guiBlue2-5/+68
Added support for change font size in the setup menu (video tab). You can select small (11), normal (12), large (13), very large (14). You need to restart the client for it takes effect.
2009-04-25Fix chat actionsJared Adams1-1/+2
2009-04-22FIx trading under eAthenaJared Adams1-5/+3
2009-04-22No need to remove item selection when droppingJared Adams1-1/+0
2009-04-22Some string fixesKess Vargavind3-13/+13
2009-04-21Trade system - Removing debug informationsblue1121-2/+2
Remove forgotten debug information on the GUI
2009-04-21Trade systemblue1122-20/+51
Handler & GUI modification, to make the three steps systems working. Protocol changes for the same reason Player.cpp changes because it uses the cancel method which signature has changed
2009-04-20Fix up window visibility saving/restoringJared Adams20-7/+52
2009-04-20Removed the unused itemshortcutwindow.{h,cpp}Bjørn Lindeijer5-135/+5
2009-04-20Fixed key handling in dropdowns when the dropdown portion isn't visible.Tametomo2-0/+56
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-20Removed the unused setSelected overrideBjørn Lindeijer2-39/+0
It wasn't actually used because it is no longer virtual in the base Guichan class.
2009-04-20Repaired table and listbox scrolling when using the keyboard.Ira Rice4-33/+38
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-20Fixed a fairly obscure text wrapping bug.Ira Rice2-3/+10
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-20Fixed speech bubbles not respecting the set palette text color.Ira Rice2-4/+2
Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-20Reduced the weight of a few gui windows and popups which wrapped theirIra Rice9-92/+28
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-20Drop current target on deathBjørn Lindeijer1-1/+1
2009-04-20Fixed displaying of the modes available under SDL so that it doesn't cutIra Rice1-4/+7
off the highest available resolution, as well as removing the warning about changing your resolution if it is your current resolution. TODO: Find out why scrolling is broken for the modes dialog and fix it. Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>