summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
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-18Add dialogs to input text and numbers for scriptsJared Adams4-0/+362
2009-01-13Merged Tab and TabbedArea from mainlineBjørn Lindeijer13-197/+459
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-13Merge branch 'master' of git://gitorious.org/tmw/eathenaDavid Athay61-1191/+2231
2009-01-10Merged comment by silene from mainlineBjørn Lindeijer1-0/+4
We should probably look into fixing the thing he's talking about.
2009-01-10Improved item amount dialog box.Guillaume Melquiond2-12/+13
(cherry picked from commit 69c147510bce9aa24be5ddcb3d050a5d52e3abe7) Conflicts: src/gui/item_amount.cpp
2009-01-10Removed the rhombs around the radio buttons.Yohann Ferreira2-0/+25
(cherry picked from commit 2fd5b9e2fea5f95f54e543011e2e8fb70f0b037f)
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-08Made remaining dialogs translatableBjørn Lindeijer9-179/+219
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-08Removed the unused Box, VBox and HBox classesBjørn Lindeijer6-248/+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-07Used layout manager for character selection dialogBjørn Lindeijer1-33/+20
Based on the layout from the mainline client done by Guillaume Melquiond in commits aab0b1724897e186d2d4056da7f0cd34ccc12fcb and 97bbe57e21a28544646da087e2a522390bf2ce5c. Fixes hidden Ok button on many translations.
2009-01-06Fixed up and down arrows in chat box.Guillaume Melquiond1-3/+3
(cherry picked from commit cb04d148c9aed572fe6e66313100e2cd9b66f5d5) Conflicts: src/gui/chat.cpp
2009-01-06Fixed the true type font to render unicode nowBjørn Lindeijer2-5/+5
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 Melquiond8-10/+729
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-06Fixed font colors in inventory and shortcut windowBjørn Lindeijer2-0/+2
They were not explicitly set to black. Because the bitmap font used to be black, these bugs didn't show up earlier. With the introduction of true type fonts, the text can be any color anywhere.
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-103/+754
Also fixed login dialog layout. This is the layout handler by Guillaume Melquiond, which he started in commit 59472ef68fdef3f7e8858a81a46e28c127119c58.
2009-01-06Added support for internationalizationBjørn Lindeijer22-246/+282
Merged from the mainline client. Originally implemented by Guillaume Melquiond, starting with commit 1828eee6a6d91fd385ad1e69d93044516493aa91.
2009-01-05Refactor the way in which browser box text is drawn and wrapped.Björn Steinbrink1-65/+74
(cherry picked from mainline commit ecabe82d8720689905a6d035b0597d97037287c7) Conflicts: src/gui/browserbox.cpp
2009-01-05Handling gender with an enum everywhere.Philipp Sehmisch2-5/+6
(cherry picked from mainline commit d3adc61aa4b4924f82d8cbc23bea26da7257da97) Conflicts: src/net/beinghandler.cpp src/net/charserverhandler.cpp src/player.cpp src/player.h
2009-01-04Fixed 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.
2009-01-04Fixed installing of dejavusans.ttf font.Bjørn Lindeijer1-2/+4
(cherry picked from mainline commit 8d1299338e033e1de539dae36856e365855fabc1) Conflicts: src/gui/gui.cpp
2009-01-04Code reformattingBjørn Lindeijer3-44/+23
Mainly making sure 'const std::string &' is used everywhere instead of 'std::string const &'. The former has always been the preferred order in this project. (cherry picked from mainline)
2009-01-02Removed duplicate TrueTypeFont class declarationBjørn Lindeijer2-77/+7
Noticed by QOAL
2008-12-31Fixed OSX fullscreen hangDavid Athay1-2/+2
2009-01-01Made trade window resizableBjørn Lindeijer4-29/+53
Also fixed overlap between description label and the buttons and added the SDL_ttf library to the Code::Blocks project file.
2008-12-31Synchronized font size with mainlineBjørn Lindeijer1-1/+1
2008-12-29Increased text chunk cache size to improve performance when a lot of text is ↵Philipp Sehmisch1-1/+1
on the screen. (cherry picked from mainline commit 483c76d1b2433bc34f67406a10bf409fb2daafe1)
2008-12-29Image alpha should also be set to 1, in case it was changed before.Bjørn Lindeijer2-8/+8
(cherry picked from mainline commit 0962fc8b567279a6e97e13e4b3f2f9f2ffe304c0)
2008-12-29Added support for alpha blending to true type font drawing.Philipp Sehmisch1-0/+7
(cherry picked from mainline commit 89a1dcb59be3e531cc0761c32d1aa70e141d4a12)
2008-12-29Fixed double-free of true-type resources.Guillaume Melquiond1-2/+5
(cherry-picked from mainline)
2008-12-29Fixed two compiler warnings about deprecated char*Bjørn Lindeijer1-2/+2
2008-12-29Added support for True Type Fonts.Eugenio Favalli6-65/+327
(cherry-picked from mainline)
2008-12-13Code style reformattingBjørn Lindeijer8-178/+142
Got rid of "void" in functions that take no arguments and removed the newline after the return type of a method in many places.
2008-12-09Fixed two issues with the chat message parsingBjørn Lindeijer1-7/+11
Don't treat anything starting with "Welcome" as a server message, for example messages starting with a name that starts with "Welcome" shouldn't belong in that category. Put the nick in the right place for global announcements. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-09Removed the unused NewSkillDialogBjørn Lindeijer2-262/+0
Won't be introduced based on eAthena anyway, I think even with tmwserv we have different plans now. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-08Code reformattingBjørn Lindeijer1-4/+1
I wish I had never fallen for this weird style, and I hope removing it will prevent others from introducing new code like this. :-)
2008-12-08Introduced another template to make deleting all values in a container easier.Bjørn Lindeijer4-10/+4
Inspired by qDeleteAll() from Qt. Conflicts: ChangeLog src/beingmanager.cpp src/channelmanager.cpp src/gui/skill.cpp src/map.cpp src/resources/monsterinfo.cpp (cherry picked from mainline)
2008-12-08Clip the minimap image to within its windowBjørn Lindeijer1-10/+14
The image wasn't clipped so it would draw beneath the map name and on top of the window border.
2008-12-08Don't scroll past the edges of the minimapBjørn Lindeijer1-0/+12
When centering the minimap on the player, it would often happen that the minimap scrolled past its edge. Based on a patch by QOAL.
2008-12-07Some code reformattingBjørn Lindeijer1-1/+1
2008-12-07Added some initialization and removed ChargeDialogBjørn Lindeijer2-105/+0
Many member variables of LocalPlayer were not being initialized properly. In general this shouldn't have caused any problems, but it's bad style. The ChargeDialog was removed. This class was long dead anyway. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-07Fixed inconsistency in default window sizesBjørn Lindeijer9-21/+22
The default window sizes were all too small, since they were specified in content size. On pressing "Reset Windows", the sizes would be interpreted as such and apply alright. The inconsistency is now removed, and the default window sizes are always the size of the whole widget now, not just the contents. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-07Use widgetResized to adjust chat window contentsBjørn Lindeijer2-6/+4
Previously was using the logic() method, adjusting window contents 100 times per second.
2008-12-07Tweaked some configuration defaultsBjørn Lindeijer2-9/+9
Scrolling is now a bit less lazy and the scroll radius is 0. In my opinion this is a better default. Framerate limiter is now off by default, since it makes the game appear a bit choppy. It's basically only useful for laptops anyway, and not too hard to find.
2008-12-07Some small updates and reformattingBjørn Lindeijer1-1/+0