summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-01-20Reflowed emote window using the layout code.Ira Rice2-35/+7
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Reflowed help dialog to use layout code.Ira Rice1-1/+10
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Reflowed inventory window to use layout code, as well as fixed the npcIra Rice5-119/+62
list dialog to be more consistant with other windows. Also revised the skill window to default to being only as big as the number of skills listed. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Fixed y positioning so that popups don't run off of the screen (oldIra Rice1-2/+2
behavior overprotected the bottom of the window, but didn't protect the top at all. Forgot to fix for that earlier) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Added the ability to parse multiple item links, as well as removingIra Rice1-6/+13
extra spaces before or after the [] tags. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Made link searching case insensitive.Ira Rice1-0/+8
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Reflowed skill dialog, as well as started to work on revising the tableIra Rice3-16/+94
model (none of the changes yet make visible improvements yet, unfortunately). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Fixed window transparency in NPC text (because the browser box was toldIra Rice1-1/+1
to be opaque, the text area in the NPC window wasn't transparent, and was rather noticeable using Aethyra's color scheme, cause it shows up as white) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Removed the now uneeded add calls, which I accidently left in twoIra Rice1-3/+0
commits ago. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Reflowed the NPC list dialog to use the layout code.Ira Rice1-14/+8
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Got rid of the useless [ and ] in debug windowBjørn Lindeijer1-18/+12
2009-01-20Reflowed NPC text dialog to use the layout code, so that window resizingIra Rice2-7/+12
isn't broken. Also added a string which should be translated in the Buy class for substitution by gettext. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Switch the NPC text dialog over to a BrowserBoxJared Adams2-45/+20
2009-01-20Changed item popup drawing to be based on the mouse position, not windowIra Rice5-25/+36
position. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Trim displayed speech to not show links.Ira Rice1-5/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Fix bug with item links.David Athay1-1/+1
2009-01-20Added linking to item's just using [Item Name] in chatDavid Athay1-0/+21
2009-01-20Added WoW style item adding to chat window. Right click, then leftDavid Athay10-18/+144
clicking on add to chat to put the item in the chat input. Left click the item link to show a popup description, and click the link again to remove the popup.
2009-01-20Modified the item shortcut bar to show item popups based on a suggestionIra Rice2-15/+74
made by Jarvellis. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Got rid of the useless [ and ] in debug windowBjørn Lindeijer1-18/+12
2009-01-20Fixed overlaps in the last commit by converting the debug window code toIra Rice1-16/+13
use the layout engine. Signed-off-by: Ira Rice <irarice@gmail.com> (cherry picked from Aethyra commit fa007dafa2c499425e7112095cbda9c2ff5ea20c) Conflicts: src/gui/debugwindow.cpp
2009-01-20Added current map filename to debug window.Philipp Sehmisch2-14/+23
(cherry picked from mainline commit 2a7c63f6070606e6623a9730aa1ca9d52c942055)
2009-01-20Switch the NPC text dialog over to a BrowserBoxJared Adams2-16/+21
2009-01-19Reverse the order of slider and label againBjørn Lindeijer1-4/+4
In order to stay consistent with the video setup page.
2009-01-19Fixes to the NPC Integer input fieldIra Rice7-77/+79
Also don't set "The Mana World" to start with. Signed-off-by: Ira Rice <irarice@gmail.com> (cherry picked from Aethyra commit d2b804c1a817ccdd85b4b1220bf929e9d370d774) Conflicts: src/game.cpp src/gui/inttextfield.cpp src/gui/item_amount.cpp src/gui/textfield.h
2009-01-19Made the party class use gettext.Ira Rice1-3/+3
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-19Reverse the order of slider and label againBjørn Lindeijer1-4/+4
In order to stay consistent with the video setup page.
2009-01-19Reflowed Audio setup tab using layout code.Ira Rice1-10/+16
Signed-off-by: Ira Rice <irarice@gmail.com> (cherry picked from Aethyra commit adfa6fa21b1ef5c8169538ca5c4896bf86e59d6a) Conflicts: src/gui/setup_audio.cpp
2009-01-19Reflowed Joystick tab using layout engine.Ira Rice1-8/+14
Signed-off-by: Ira Rice <irarice@gmail.com> (cherry picked from commit e3f05299f81cd2e567531df6729de0f34970a9e9) Conflicts: src/gui/setup_joystick.cpp
2009-01-19Reflowed Player tab in setup to use layout codeIra Rice2-25/+31
Signed-off-by: Ira Rice <irarice@gmail.com> (cherry picked from commit 18c00fedebda79d4ebfbe15401c3e5bc8869fda2) Conflicts: src/gui/setup_players.cpp
2009-01-19Reflowed the setup keyboard tab with the layout code.Ira Rice1-7/+12
Signed-off-by: Ira Rice <irarice@gmail.com> (cherry picked from commit 8f28b18a31fc8415fbf6aedc5106b8b8525f4caf) Conflicts: src/gui/setup_keyboard.cpp src/gui/setup_video.cpp
2009-01-19Fixed overlaps in the last commit by converting the debug window code toIra Rice1-13/+11
use the layout engine. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Added current map filename to debug window.Philipp Sehmisch2-14/+23
2009-01-18Reflowed Audio setup tab using layout code.Ira Rice1-10/+16
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Some style fixes that were forgotten in the previous commit.Ira Rice1-3/+7
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reflowed Joystick tab using layout engine.Ira Rice1-8/+13
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reflowed Player tab in setup to use layout code. TODO: Fix up tableIra Rice2-24/+30
model, cause it's a mess. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reflowed the setup keyboard tab with the layout code.Ira Rice2-8/+13
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reset the input fields so that they're reset when they're brought upIra Rice2-0/+2
again. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Fixed ok/cancel position in the string dialog to conform to a moreIra Rice1-2/+2
uniform GUI style. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Fixed the NPC Integer input field, as well as cut some bull from theIra Rice9-79/+79
NPC String class. The Integer input field was rather horribly broken to the point where it could send invalid data, the increment and decrement buttons didn't work, and overall it was tripping over itself. As for the NPC String, "The Mana World" as a string is not needed to set the field to that length, but instead fills the text field with that text for starting. This is completely inappropriate for a text entry field, and a more sensible default would be to leave it empty, so that people can type in what they want without having to delete it. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Reflowed Color setup dialog to use layout code.Ira Rice2-99/+110
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18While the last commit might look good in English, it wasn't veryIra Rice1-23/+23
translation friendly. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Fixed layout of video setup page when translatedBjørn Lindeijer7-74/+202
Introduced a LayoutHelper class which can be used for any non-Window container where you want to use a layout to place child widgets.
2009-01-18Fixed layout of video setup page when translatedBjørn Lindeijer8-78/+205
Introduced a LayoutHelper class which can be used for any non-Window container where you want to use a layout to place child widgets.
2009-01-18Used dynamic layout for registration windowBjørn Lindeijer2-75/+39
The dialog looks nicer now and the layout problems when the dialog is translated have been fixed. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-01-18Updated some apple specific codeDavid Athay1-0/+4
2009-01-18Add dialogs to input text and numbers for scriptsJared Adams4-0/+362
2009-01-18Used dynamic layout for registration windowBjørn Lindeijer3-78/+44
The dialog looks nicer now and the layout problems when the dialog is translated have been fixed. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-01-18Updated some apple specific codeDavid Athay1-0/+4