summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
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>
2009-01-15A little bit of code cleanup/simplification.Ira Rice5-19/+23
TODO: Figure out how the itempopup transparency is broken and fix it (broken on code import). Best guess would be that the window is attached to a widget which is then attached to a window, causing a break in updates to the transparency code. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Integrated the ItemPopup class from Legends of Mazzeroth.Ira Rice5-1/+224
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Added emote database, which is loosely based off of the NPC database.Ira Rice6-37/+59
Also changed all emotes to be animated sprites now, and to load from emotes.xml. This gives us a bit more flexibility to not only add more emotes in the future, but allowing them to be animated as well. NOTE: This commit, unlike the previous emote commits, breaks emotes if you don't have the xml file. This will be available on Aethyra soon, but is not rolled into an update at the moment. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Merged Tab and TabbedArea from mainlineBjørn Lindeijer14-213/+463
Changes mostly done by David Athay. Currently these widgets are only used in the setup window, where they replace the previously used TabbedContainer.
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice34-531/+245
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Fixed color spelling for American English.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Updated the po files so that they shouldn't generate errors for us anyIra Rice4-19/+11
more, as well as a few more code style fixes. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Some code style cleanups, as well as uncommented the font setting forIra Rice2-11/+6
the emote shortcut window (which I meant to test before committing. Don't remove this line, as text drawing behavior is rather crazy without it). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Some rather pedantic changes. Unified all naming for emoticons in theIra Rice14-311/+324
code so that only one term is used everywhere (to simplify maintainability), as well as corrected several variable names and comments where there was copy/pasted code, but it wasn't corrected. Also moved emote shortcuts back to where they were originally, to reduce player confusion when the next build comes around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Fixed minimap so that map names don't overflow the minimap's width.Ira Rice1-4/+8
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-10Changed a few emote variable names to be more sensible, as well asIra Rice5-28/+28
removing emotions.png from the client data files (should have never been there to begin with, IMO). TODO: Simplify the emote code so that there is a lot less redundant code, as well as make filling out the possible emotes more flexible. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-10Removed a debug line that was accidently left in.Ira Rice1-2/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-10Made a few more window components use a transparency under OpenGL, asIra Rice6-10/+18
well as some code style cleanups in the skill dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09More code style cleanupsIra Rice2-28/+14
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Fixed a potential crash in the setup window when setting whether a nameIra Rice1-1/+2
is viewable or not, and the player doesn't exist yet. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Added the ability to save GM assert state to the client, as requested.Ira Rice1-0/+5
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Merged comment by silene from mainlineBjørn Lindeijer1-0/+4
We should probably look into fixing the thing he's talking about.
2009-01-09Improved item amount dialog box.Guillaume Melquiond2-13/+13
(cherry picked from commit 69c147510bce9aa24be5ddcb3d050a5d52e3abe7) Conflicts: src/gui/item_amount.cpp
2009-01-09Removed the rhombs around the radio buttons.Yohann Ferreira2-0/+25
(cherry picked from commit 2fd5b9e2fea5f95f54e543011e2e8fb70f0b037f)
2009-01-09Added the ability to see your own name in game.Ira Rice4-3/+44
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Expanded status window slightly so that experience isn't cut off forIra Rice1-1/+1
upper levels. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Changed reset defaults to be dependant upon the screen resolution forIra Rice1-1/+8
the shortcut window. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Fixed the default size for shortcut windows, as well as added both ofIra Rice3-3/+9
the new shortcut windows to the reset shortcut window. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Removed close button from minimap windows. While this was a nice idea atIra Rice1-1/+0
the time (and it might be added back in the future), it requires a bit of a change to the window code to fix (not too hard) and its own custom click handler (again, not that hard). Done for the sake of avoiding too much redundancy. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Made experience percentages report to the newest hundredth (as well asIra Rice1-5/+10
placed in checks for bogus amounts of experience, and correct them). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Fixed minimap state saving.Ira Rice2-1/+22
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Style fix for last commitPhilipp Sehmisch1-1/+1
2009-01-09Fixed nonsensical percent values in update dialog.Philipp Sehmisch1-2/+3
2009-01-08Fixed include order (pedantic change)Ira Rice7-405/+81
Conflicts: src/gui/smileycontainer.cpp Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-08Made remaining dialogs translatableBjørn Lindeijer16-225/+267
Most strings are now translatable. Please do report any missing ones. Strings excluded from translation are anything that gets written to the log file or is otherwise not shown in the GUI. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-01-09Now, the real stage 2.0 of smiley window.Forge7-405/+82
All is done, and all files are now in the tree. (ok, copyright of new files is still opened... do as you want, if you care) Signed-off-by: Forge <jgrimbert@free.fr>
2009-01-08Removed the unused Box, VBox and HBox classesBjørn Lindeijer6-252/+0
They were once meant for doing layout, but never used and the way they're implemented they would be relayouting with every draw, which isn't really nice.
2009-01-06Adapted the update window to use the layout widget.Ira Rice1-17/+14
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Fixed the previous commit to actually use the layout engine.Ira Rice1-43/+24
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Converted the character selection dialog to use the layout widget.Ira Rice1-11/+16
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Fixed up and down arrows in chat box.Guillaume Melquiond1-5/+9
(cherry picked from commit cb04d148c9aed572fe6e66313100e2cd9b66f5d5) Conflicts: src/gui/chat.cpp
2009-01-06Fixed the true type font to render unicode nowBjørn Lindeijer2-11/+7
2009-01-06Fix wrapping of UTF-8 multi-byte characters.Björn Steinbrink1-1/+4
(cherry picked from commit 82182aeb9eacb3a6e10e34b34b46ef63222ecd7d)
2009-01-06Added support for unicode charset in textfields and chat.Guillaume Melquiond7-37/+724
Conflicts: src/Makefile.am src/game.cpp src/gui/browserbox.cpp src/gui/gui.cpp src/gui/textfield.cpp src/main.cpp (cherry picked from mainline commit 7b67e852086ad3ccd98a622f890b245ab6a0a321)
2009-01-06Used layout for buy, sell and item amount dialogsBjørn Lindeijer5-163/+61
(changes by Guillaume Melquiond, merged from the mainline client)
2009-01-06Merged layout handler from mainlineBjørn Lindeijer6-113/+758
Also fixed login dialog layout. This is the layout handler by Guillaume Melquiond, which he started in commit 59472ef68fdef3f7e8858a81a46e28c127119c58.
2009-01-06Added support for internationalizationIra Rice22-282/+320
Merged from the mainline client. Originally implemented by Guillaume Melquiond, starting with commit 1828eee6a6d91fd385ad1e69d93044516493aa91. Conflicts: INSTALL configure.ac src/Makefile.am src/gui/buy.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/login.cpp src/gui/menuwindow.cpp src/gui/minimap.cpp src/gui/ok_dialog.cpp src/gui/popupmenu.cpp src/gui/register.cpp src/gui/sell.cpp src/gui/setup.cpp src/gui/setup_video.cpp Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Fixed the windows cbp file, deleted some files which we don't use, andIra Rice8-795/+6
fixed a few compiler warnings noticed from building in windows. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-05Fixed rendering of special charactersBjørn Lindeijer1-2/+2
The font was interpreting the strings as UTF8, as they are in the mainline client. But in the eAthena client they are regular text.