summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
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
2009-01-18Merge branch 'master' of git://gitorious.org/tmw/eathenaDavid Athay16-157/+781
2009-01-18Added current map filename to debug window.Philipp Sehmisch2-14/+23
2009-01-18Add dialogs to input text and numbers for scriptsJared Adams4-0/+362
2009-01-17Cleaned up chat code a bit.Ira Rice2-134/+211
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-17Added a few XML files for "translation". Idea obtained from IchigoBlack,Ira Rice1-1/+1
where these "translation" strings can be used to tell the client to use a separate XML file than the English one, so that item descriptions, monster names, etc. which are obtained from updates can be translated as well. Ex. instead of pointing to items.xml for Spanish, tell the client to translate that string to items.es.xml, or for monsters.xml, tell it to point to monsters.zh.xml for Chinese. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Candidate release for 0.0.27.1 (Windows needs to get colors fixed, andIra Rice2-5/+1
then this build might be official) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Some small layout tweaks, as well as making a few dialogs moreIra Rice3-32/+38
consistent UI-wise (continue-like functionality is always in the bottom right corner, with canceling to the left of it). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Adjusted character selection screen to be a bit more translationIra Rice1-46/+38
friendly, as well as modified the character creation screen to use the layout code. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Revised trade window to use the window layout code. Loosely based on theIra Rice2-96/+67
trade window in TMW's mainline client. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Fixed a potential crash when the emotes aren't loaded, or there are lessIra Rice1-1/+1
than 12 emotes. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Trimmed out some now unneeded fields in the inventory window.Ira Rice2-63/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Made emotes load in only one location, as well as fixing the code on theIra Rice2-16/+3
being so that the last emote draws (which got broken). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Fixed Item Popup window transparency (double setting of the skin)Ira Rice5-9/+12
Signed-off-by: Ira Rice <irarice@gmail.com>