summaryrefslogtreecommitdiff
path: root/src/gui/button.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-25A host of code style fixesBjørn Lindeijer1-1/+1
Mostly putting & and * in the right place and making some getters const.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-5/+8
Conflicts: Many files.
2009-03-19Made the plus and minus buttons in the last commit look moreIra Rice1-2/+4
aesthetically pleasing. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Simplified trading dialog controls.Ira Rice1-2/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-1/+2
the palette colors. While technically, this can be accomplished through other means, it's rather clumsy overall, and is prone to introducing in programmer errors. This commit finally catches every case where text is used, and applies the text color from the color dialog to each of them appropriately. Signed-off-by: Ira Rice <irarice@gmail.com>
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-04Few more unneeded headers that weren't noticed originally in the lastIra Rice1-3/+0
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-04Went through the gui folder and revised the include statements to notIra Rice1-6/+6
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-12/+22
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-25Made the labels on the progress bars more readableBjørn Lindeijer1-10/+10
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-2/+1
the function names should no longer be around. 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-07Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except forBjørn Lindeijer1-1/+1
gcn::TabbedArea usage)
2007-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer1-1/+3
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-21/+39
2007-07-16(no commit message)Joshua Langley1-5/+15
2007-02-27Tabbed containers now display the button of the active tab pressed all the time.Philipp Sehmisch1-4/+5
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-4/+5
2006-12-12Merged r2829 from trunk (Merged the definition of ImageRect into graphics.h)Bjørn Lindeijer1-2/+0
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-1/+6
2006-03-08Added a 'dtor' helper functor to delete objects in arrays and containers ↵Björn Steinbrink1-10/+4
using STL algorithms.
2005-10-13Make sure Alt shortcuts don't appear in chatbox.Bjørn Lindeijer1-1/+1
2005-10-05Fixed some resource cleanup and memory leaks. Also changed the way danglingBjørn Lindeijer1-7/+8
references to resources are reported to be more informative.
2005-08-25Made our drawImage() method respect the clip area from the guichan graphics ↵Björn Steinbrink1-4/+1
part. Removed some (now) obsolete code. Fixed compilation errors.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-0/+10
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-2/+2
nicer approach after the release.
2005-06-14Added background to minimap. Only used in Tonori Desert map for now, and itsBjørn Lindeijer1-1/+2
style is up for discussion.
2005-05-16Made button, checkbox and radiobutton count their instances and only load theirBjørn Lindeijer1-21/+52
resources once. Other widgets will follow later.
2005-03-25Moved datafiles in unified structure.Bjørn Lindeijer1-4/+4
2005-03-21Some cleanups and button, radiobutton and checkbox now take into accountBjørn Lindeijer1-1/+1
disabled status.
2005-03-03Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.Bjørn Lindeijer1-0/+1
2005-01-17Converted all GUI images to PNGBjørn Lindeijer1-4/+4
2005-01-16Removed datafile and configfile and any leftover old GUI drawing code.Bjørn Lindeijer1-2/+26
2005-01-15Cleaned up includes, separated engine from graphics and single buffer nowBjørn Lindeijer1-1/+1
used throughout application, cleaned up shop functions.
2004-12-27Added AUTHORS.txt file, $Id$ tags to gui source files and added OkButtonBjørn Lindeijer1-0/+2
modules to file lists.
2004-12-18Added colon to the fixed font and removed some alfont usage.Bjørn Lindeijer1-45/+25
2004-12-17Made some fixes to the window widget and made server selection use it too.Bjørn Lindeijer1-0/+3
WARNING: From now on we need Guichan 0.2.0, the 0.1.0 version will NOT work!
2004-12-16Doxygen improvements.Bjørn Lindeijer1-0/+96