summaryrefslogtreecommitdiff
path: root/src/gui/progressbar.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-175/+0
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-03-27Removed all the static initializations of mAlphaBjørn Lindeijer1-1/+1
They happened before the configuration was initialized, so that didn't make any sense. It never showed up as a problem since the value is constantly set in the draw methods anyway.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-17/+9
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-10/+8
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-10/+31
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-19Port Progressbar to TextRendererMajin Sniper1-23/+8
2009-03-19Port Progressbar to TextRendererMajin Sniper1-14/+8
2009-03-14Exposed the progress bar colors to the color management tab.Ira Rice1-3/+10
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-22Make progressbars more readableJared Adams1-2/+2
2009-02-17Merge branch 'aethyra/master'Bjørn Lindeijer1-6/+5
Conflicts: src/gui/npc_text.cpp src/gui/npc_text.h src/gui/npcintegerdialog.cpp src/gui/npclistdialog.cpp src/gui/npcstringdialog.cpp src/net/npchandler.cpp src/npc.cpp
2009-02-16Fixed GUI opacity in SDL modeBjørn Lindeijer1-6/+5
By using indexed instead of alpha-layered images, the GUI opacity can also be supported in software mode.
2009-02-11Shut up some compiler warnings.Philipp Sehmisch1-1/+1
2009-02-11Shut up some compiler warnings.Philipp Sehmisch1-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-04Went through the gui folder and revised the include statements to notIra Rice1-2/+2
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-02-03Disable alpha values affecting two widgets which would otherwise takeIra Rice1-1/+4
alpha values under SDL. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-30Applied alphas to the progress bar fill and text overlays as well.Ira Rice1-3/+8
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/+17
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-2/+22
2009-01-24Code reformattingBjørn Lindeijer1-1/+1
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>
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-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-07-18Import of client treeLloyd Bryant1-1/+1
2008-04-26Made smooth color changing and smooth progress optional.Yohann Ferreira1-11/+27
2008-04-17Added smooth progress changes into progressbars.Yohann Ferreira1-3/+8
2008-03-27Applied patch by peavey and added his name to the ChangeLog some more.Bjørn Lindeijer1-1/+2
2008-03-25Initialized some uninitialized variables (patch by peavey).Philipp Sehmisch1-2/+1
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-3/+2
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2007-07-27Removed useless yet costly dynamic casts.Guillaume Melquiond1-3/+2
2006-12-12Merged r2829 from trunk (Merged the definition of ImageRect into graphics.h)Bjørn Lindeijer1-2/+0
2006-11-05Merged the definition of ImageRect into graphics.h.Bjørn Lindeijer1-2/+0
2006-03-09Removed coordinate arguments from ProgressBar ctor.Björn Steinbrink1-7/+5
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-45/+28
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-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-1/+5
2005-08-10Moved knowledge about whether we use OpenGL into the Graphics class. Added ↵Björn Steinbrink1-9/+1
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/+2
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-2/+9
nicer approach after the release.
2005-07-23New login wallpaper by Momotaro and shortened update window a bit to notBjørn Lindeijer1-2/+5
overlap the logo.
2005-07-14Small optimizations to the progress bars code.Yohann Ferreira1-6/+6
2005-07-14Code duplication reduction by Doener, instance counting by me, and a smallBjørn Lindeijer1-41/+57
improvement to the s character in the font.
2005-07-14Make sure progress bar color fading happens framerate independent.Bjørn Lindeijer1-8/+11
2005-07-13Adding smooth color changing on progress bars.Yohann Ferreira1-4/+16
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+1
2005-05-10Fixed progress bars in OpenGL mode, now uses Guichan's fillRectangle.Bjørn Lindeijer1-27/+13
2005-05-08Updated progressbar.cpp to check for NULL colorBar (causing seg fault).Aaron Marks1-2/+4
2005-05-07Committed radical modifications to desert map by Bertram.Bjørn Lindeijer1-1/+1
2005-05-06Fixed the Progress bar that couldn't change its color anymore.Yohann Ferreira1-1/+1