summaryrefslogtreecommitdiff
path: root/src/gui/browserbox.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-28Removed a lot of useless isVisible() checksBjørn Lindeijer1-3/+0
The draw() method of a widget isn't called when a widget is not visible.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-11/+14
Conflicts: A lot of files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-1/+0
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-12Extending the internal handling of colorssniper1-11/+10
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.
2009-03-10Allow null link handlers for browser boxJared Adams1-0/+1
2009-03-06Merge branch 'aethyra/master'Bjørn Lindeijer1-0/+3
Conflicts: src/being.cpp src/being.h src/floor_item.cpp src/floor_item.h src/flooritemmanager.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/popupmenu.cpp src/net/beinghandler.cpp src/npc.cpp
2009-03-05Made some optimizations based on some profiling done by Octalot, as wellIra Rice1-0/+3
as some other optimizations that I could see that cut down on some unneeded redraws, which in turn improved frame rates slightly. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-11Changed spelling from colour to color.Philipp Sehmisch1-4/+4
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer1-1/+1
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer1-1/+1
2009-02-10Fixed some accidental capitalization errorsPhilipp Sehmisch1-3/+3
2009-02-10fixed capitalization of color member functions.Philipp Sehmisch1-3/+3
2009-02-10Changed spelling from colour to color.Philipp Sehmisch1-4/+4
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-1/+1
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-5/+25
Conflicts: A lot of files...
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-1/+1
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-09Mostly whitespace and formatting changesBjørn Lindeijer1-1/+1
(merged from eAthena client)
2009-02-07Added a text color preview to the setup color tab.Ira Rice1-2/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-06While this is not the ideal solution to the link problem, this commit atIra Rice1-0/+7
least ensures that the link will be in the correct location. Should work to fix things until a proper rewrite is figured out. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Few more unneeded headers that weren't noticed originally in the lastIra Rice1-0/+2
commit. Also, while the overall performance improved a little, it doesn't appear to be as drastic as the last commit was suggesting. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-03Made highlights configurable through the color dialog.Ira Rice1-3/+14
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-6/+3
the function names should no longer be around. 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-06Fix wrapping of UTF-8 multi-byte characters.Björn Steinbrink1-1/+4
(cherry picked from commit 82182aeb9eacb3a6e10e34b34b46ef63222ecd7d)
2009-01-05Modified the Aethyra client to use the TMW TrueType class, rather thanEugenio Favalli1-5/+3
the inbuilt GUIChan TrueType class. (Didn't use it originally because I didn't see the difference, when there's a considerable speedup, and that originally the import for TMW was broken code at the time, which has been fixed since.)
2009-01-05Fixed browser box so that it'd work again.Ira Rice1-50/+25
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-05Refactor the way in which browser box text is drawn and wrapped.Björn Steinbrink1-88/+127
(cherry picked from mainline commit ecabe82d8720689905a6d035b0597d97037287c7) Conflicts: src/gui/browserbox.cpp
2008-12-29Added support for True Type Fonts using GUIChan's inbuilt SDLTrueTypeIra Rice1-42/+14
class. NOTE: This commit adds a brand new dependency (SDL_TTF). Make sure to install it, regenerate your config files, reconfigure, and then install before attempting to compile. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-3/+1
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-09-04Added code to change text colouringDouglas Boffey1-51/+21
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-06-14Fixed compilation errors and trade bug.David Athay1-1/+1
2008-05-04Merged revisions ↵Bjørn Lindeijer1-1/+1
4031-4044,4046-4058,4061-4062,4064,4066-4067,4069-4070,4072-4079,4082-4092,4094-4097,4099,4101-4109,4112-4115,4117-4129,4131-4150 via svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4031 | the_enemy | 2008-04-03 14:53:00 +0200 (Thu, 03 Apr 2008) | 1 line Tweaked disconnect dialog to fix crash bug id=250 ........ r4050 | b_lindeijer | 2008-04-07 19:37:23 +0200 (Mon, 07 Apr 2008) | 2 lines Merged changes made for the 0.0.24.1 release (4046:4048 from 0.0.24 branch). ........ r4066 | b_lindeijer | 2008-04-10 23:48:36 +0200 (Thu, 10 Apr 2008) | 2 lines Fixed compile warning. ........ r4076 | b_lindeijer | 2008-04-12 20:36:15 +0200 (Sat, 12 Apr 2008) | 3 lines Fixed display of item shortcut container. gcn::Widget::setWidth is no longer virtual. ........ r4079 | crush_tmw | 2008-04-14 09:50:25 +0200 (Mon, 14 Apr 2008) | 1 line Fixed multi-channel image dyeing (patch by fate) ........ r4096 | b_lindeijer | 2008-04-16 10:39:59 +0200 (Wed, 16 Apr 2008) | 3 lines Restored the text wrapping in TextBox, since it was based on overriding a method that is no longer virtual in Guichan 0.8.0 (gcn::TextBox::setText()). ........ r4097 | peaveydk | 2008-04-16 13:27:31 +0200 (Wed, 16 Apr 2008) | 1 line Fix a basic_string::at sometimes being out of range in BrowserBox::draw when checking for line separators. ........ r4099 | peaveydk | 2008-04-16 13:50:12 +0200 (Wed, 16 Apr 2008) | 1 line Also fix potential out of range in BrowserBox::draw when checking for color codes. ........ r4150 | b_lindeijer | 2008-04-20 21:24:33 +0200 (Sun, 20 Apr 2008) | 2 lines Forgot to remove the sound effects apparently, removed now. ........
2008-04-16Also fix potential out of range in BrowserBox::draw when checking for color ↵Dennis Friis1-1/+2
codes.
2008-04-16Fix a basic_string::at sometimes being out of range in BrowserBox::draw when ↵Dennis Friis1-2/+1
checking for line separators.
2008-02-12Merged revisions 3687-3688,3690 via svnmerge from Bjørn Lindeijer1-8/+16
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r3687 | crush_tmw | 2007-10-26 02:22:12 +0200 (Fri, 26 Oct 2007) | 1 line Added possibility of length limitation to browserbox and used it for the chatlog (length set by the config option "ChatLogLength"). ........ r3688 | crush_tmw | 2007-10-26 02:38:00 +0200 (Fri, 26 Oct 2007) | 1 line Removed some completely useless code from the chat class. ........ r3690 | crush_tmw | 2007-10-26 14:50:49 +0200 (Fri, 26 Oct 2007) | 1 line Implemented monster hurt sounds and added new sound effects by Cosmostrator. ........
2007-10-26Added possibility of length limitation to browserbox and used it for the ↵Philipp Sehmisch1-7/+16
chatlog (length set by the config option "ChatLogLength").
2007-10-19Commented a DoS weakness of the browser box.Guillaume Melquiond1-0/+4
2007-10-18Fixed two forgotten main.h includes which caused OpenGL option in the setupBjørn Lindeijer1-2/+1
dialog and the font used in OpenGL mode in the BrowserBox not to function.
2007-09-25Fix wrapping of UTF-8 multi-byte characters.Björn Steinbrink1-1/+4
2007-09-22Cleaned a bit.Guillaume Melquiond1-7/+2
2007-09-21Refactor the way in which browser box text is drawn and wrapped.Björn Steinbrink1-65/+73
2007-09-20Added support for unicode charset in textfields and chat.Guillaume Melquiond1-1/+7
2007-09-20Fixed some compilation warning.Guillaume Melquiond1-2/+2
2007-09-10Added support for True Type Fonts.Eugenio Favalli1-43/+13
2007-07-27Removed useless yet costly dynamic casts.Guillaume Melquiond1-2/+2
2007-01-14Merged 0.0 changes from revision 2988 to 3035 to trunk.Bjørn Lindeijer1-6/+9