summaryrefslogtreecommitdiff
path: root/src/gui/scrollarea.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-02-10Removed many pointless comparisons with NULLBjørn Lindeijer1-1/+1
Sometimes it's nice for clarity, but most of the time this is just clutter. C++ != Java. :)
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-09Mostly whitespace fixesBjørn Lindeijer1-6/+6
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-07Added a text color preview to the setup color tab.Ira Rice1-6/+9
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-2/+0
include anything not needed by that specific widget or window. This appears to have cleaned up system performance a bit on my current setup, where it went from idling on 45% in game with opengl down to 30% now. Also moved iptostring to the tostring header, as importing all of network.h is a little overkill to use that function, and it goes along with the basic functions that are in that header file anyways. TODO: find out a way to get rid of warnings when a class doesn't use this function. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-30Exposed most gui elements to take alpha values. There are still a fewIra Rice1-0/+11
spots that could also be fixed up as well, but require other methods to fix them (the filled color rectangles on the progress bars, as well as the text on them as well, as an example). 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-15A little bit of code cleanup/simplification.Ira Rice1-6/+12
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-10Made a few more window components use a transparency under OpenGL, asIra Rice1-0/+3
well as some code style cleanups in the skill dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-2/+0
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-07-18Import of client treeLloyd Bryant1-1/+1
2008-04-28Properly fix problems with ItemContainer in InventoryWindow not resizingBjørn Lindeijer1-12/+0
properly since upgrade to Guichan 0.8.0.
2008-04-27Add methods to get width and height adjusted for any visible scrollbars.Dennis Friis1-0/+12
2008-04-12Fixed display of item shortcut container. gcn::Widget::setWidth is no longerBjørn Lindeijer1-31/+1
virtual.
2008-04-07Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except forBjørn Lindeijer1-12/+12
gcn::TabbedArea usage)
2008-03-27Applied patch by peavey and added his name to the ChangeLog some more.Bjørn Lindeijer1-2/+2
2007-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer1-0/+2
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3692 | gmelquio | 2007-10-27 11:03:13 +0200 (Sat, 27 Oct 2007) | 1 line Made it compile with GCC 4.3 ........
2007-09-27Merged another bunch of changes from trunk to 0.0 to reduce the difference.Bjørn Lindeijer1-8/+8
2006-12-12Merged r2829 from trunk (Merged the definition of ImageRect into graphics.h)Bjørn Lindeijer1-2/+0
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-17/+20
from the 0.1.0 branch.
2006-03-08Added a 'dtor' helper functor to delete objects in arrays and containers ↵Björn Steinbrink1-4/+4
using STL algorithms.
2006-01-31Various small cleanups.Björn Steinbrink1-2/+1
2005-10-20Added garbage collection to the ScrollArea class. Fixed slider not being ↵Björn Steinbrink1-4/+11
updated in the item amount box when the buttons are used.
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-13/+8
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-08-25Made our drawImage() method respect the clip area from the guichan graphics ↵Björn Steinbrink1-15/+6
part. Removed some (now) obsolete code. Fixed compilation errors.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-1/+6
2005-08-10Moved knowledge about whether we use OpenGL into the Graphics class. Added ↵Björn Steinbrink1-69/+9
helper function for being creation to reduce code duplication. Some code simplifications.
2005-07-27Committing merging opengl and sdl part 3 by AndrejBjørn Lindeijer1-0/+16
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-12/+57
nicer approach after the release.
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-1/+2
2005-07-16Added generic Scrollarea::drawButton function that is called by the specific ↵Björn Steinbrink1-59/+54
ones
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-2/+0
2005-05-22Picking up now possible with Z, and fixed width of a few scroll area contents.Bjørn Lindeijer1-0/+21
2005-05-21Numerous things:Bjørn Lindeijer1-10/+2
* Fixed two non-virtual destructor warnings showing up with GCC 4. * Fixed OpenGL inventory text drawing that broke in last commit * Removed glClear cause screen is redrawn completely anyway * Fixed updating of buttons in inventory window * Made items.xml be loaded through resource manager.
2005-05-21Only load resources once for player box, scroll area and text field. AlsoBjørn Lindeijer1-53/+101
tweaked the look a little, needs to be checked for opaque problem.
2005-04-26Corrections to scrolling chat modifications by Usiu.Bjørn Lindeijer1-7/+28
2005-04-11Adding button pressed animation to scrollbar buttonsEugenio Favalli1-8/+24
(and fixing graphic names)
2005-04-10adding romulo's buttons to scrollbarsEugenio Favalli1-4/+24
2005-04-10Added inventory transparencyMateusz Kaduk1-0/+7
2005-04-04Just a fast fix for the scollbars lookEugenio Favalli1-2/+12
2005-03-25Moved datafiles in unified structure.Bjørn Lindeijer1-2/+2
2005-03-21A few small fixes.Bjørn Lindeijer1-0/+2
2005-03-03Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.Bjørn Lindeijer1-1/+1
2005-02-21Removed some old GUI graphics and introduced new vertical scrollbar.Bjørn Lindeijer1-5/+5
2005-01-17Converted all GUI images to PNGBjørn Lindeijer1-2/+2
2005-01-16Removed datafile and configfile and any leftover old GUI drawing code.Bjørn Lindeijer1-6/+44
2005-01-15Cleaned up includes, separated engine from graphics and single buffer nowBjørn Lindeijer1-3/+3
used throughout application, cleaned up shop functions.
2004-12-30Marker area of vertical scrollbar now skinned. Graphics seem lacking forBjørn Lindeijer1-0/+50
other parts.
2004-12-27Skinned background/border of scrollarea, not the scrollbars yet.Bjørn Lindeijer1-0/+108