summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-35/+33
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-06-13Fix memory leaks in different windows.Andrei Karas1-0/+1
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-04-25Fixed the VideoMode listBox logic in the setup window.Bertram1-0/+34
Reviewed by: Jaxad0127
2010-04-21Add a clear button to the NPC dialogJared Adams1-0/+12
Reviewed-by: Bertram
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-13Changed FPS display from a text field to a labelThorbjørn Lindeijer1-56/+25
Not really useful to be able to edit it by hand.
2010-02-13Fixed the FPS checkbox, field, and slider not updating properly onTametomo1-13/+19
cancel events. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-08Delete models explicitly rather than relying on booleansThorbjørn Lindeijer1-1/+8
It is more clear in the end. Also fixed deleting of the mode list model.
2010-02-07Cleanup some memory issuesJared Adams1-1/+1
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-02-06Merged the Engine class into the Game classThorbjørn Lindeijer1-2/+2
There was little point in keeping the Engine class separate. It wasn't an engine at all, but only kept track of the currently active map, a job more suitable for the Game class anyway.
2010-02-01Small cleanups.Bertram1-2/+2
2010-01-12Standardize header orderJared Adams1-0/+1
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-11Cleanup GUI classesJared Adams1-8/+8
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2010-01-10Show monster inflicted damage.Andrei Karas1-0/+15
Disabled by default.
2009-12-16Stored the cached config value which says if non-crucial particle effects ↵Philipp Sehmisch1-0/+2
are enabled or not in a static member of class Particle instead of an instanced member of Being.
2009-10-14Add more detail to DebugWindowJared Adams1-2/+8
2009-08-07Gettext fixesKess Vargavind1-7/+9
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
2009-07-30Fixed windows loss when changing to a lowered resolution. (Mantis 776)Bertram1-3/+9
2009-07-17Various gettext fixesKess Vargavind1-7/+15
* Merged a few split strings * Fixed some spellings and wordings * Turned a couple of std::cout and std::cerr into logger messages
2009-05-14Fixed the worst layout issues that came up with translationsBjørn Lindeijer1-3/+3
Video and player setup pages now look a bit better when translated or when the font size is increased.
2009-05-12GCC3x does not like static_cast to enum, use old style instead.Dennis Friis1-2/+1
2009-05-11Simplified conversion of font size to index of dropdownBjørn Lindeijer1-21/+1
2009-05-11Removed scroll laziness and scroll radius options. Both of these wereTametomo1-80/+10
partially broken, and my experience has been that players have been frustrated more by accidentally setting them than actually wanting them. They'll still be settable in the configuration file for anyone who needs them, but they seem more like a programmer's debugger than a useful option. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-11Unduplicated the mapping to string representationBjørn Lindeijer1-91/+51
Based on a similar change Tametomo made in Aethyra.
2009-05-10Made overhead text the default instead of the bubblesBjørn Lindeijer1-3/+3
This is most similar to the way 0.0.28.1 was, and the bubbles still have some style and readability issues.
2009-05-05Tweaked the available font sizesBjørn Lindeijer1-11/+14
The "Very Large" option didn't make that much sense, and some people may still prefer a smaller font.
2009-05-05Fixed up the video tab in the setup window.Chuck Miller1-27/+37
We really should considering adding a new tab, the video window is getting pretty full
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-1/+1
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-25Font size change in the guiBlue1-5/+64
Added support for change font size in the setup menu (video tab). You can select small (11), normal (12), large (13), very large (14). You need to restart the client for it takes effect.
2009-04-20Fixed displaying of the modes available under SDL so that it doesn't cutIra Rice1-4/+7
off the highest available resolution, as well as removing the warning about changing your resolution if it is your current resolution. TODO: Find out why scrolling is broken for the modes dialog and fix it. Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Only notify the user that they will need to change maps for changingTametomo1-3/+6
whether or not to display particle effects when in game, since they don't need to see it beforehand. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-13Some cleanup of the Configuration interfaceBjørn Lindeijer1-23/+18
Mainly avoid all the convertions from integer to float and then to string and also back from string to float and then to integer.
2009-04-13Revert forced FPS limitBjørn Lindeijer1-1/+1
Don't force an FPS limit when people don't want it. Just default to limit on 60 fps instead, but do allow it to be disabled. This reverts part of commit 4b7755fcae0de15951c508ec034158007c8b6cf3.
2009-04-08Associated setup tab name with the tab itselfBjørn Lindeijer1-1/+1
Keeps things together in the right place and allowed writing a bit more generic code in the Setup class.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-23/+24
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-25Merge branch 'eathena/master'Bjørn Lindeijer1-33/+67
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-26/+29
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-2/+15
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-19Throttle framerates down to save CPU cycles. Now that we're getting highIra Rice1-14/+18
framerates in OpenGL even on older hardware, this should be done to conserve on CPU usage, rather than stressing it with more frames than the monitor can render. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-12/+11
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-03-10Fix video config cancel button for "show name".Majin Sniper1-0/+2
The cancel button in Video configuration window doesn't switch back the "show name" setting to the original state. This patch fixes that.
2009-03-10Fix video config cancel button for "show name".Majin Sniper1-0/+2
The cancel button in Video configuration window doesn't switch back the "show name" setting to the original state. This patch fixes that.
2009-02-26Merge branch 'aethyra/master'Bjørn Lindeijer1-4/+4
Conflicts: data/graphics/images/login_wallpaper.png src/being.cpp src/beingmanager.cpp src/engine.cpp src/game.cpp src/gui/buysell.cpp src/gui/buysell.h src/gui/gui.h src/gui/npc_text.cpp src/gui/npc_text.h src/gui/npcintegerdialog.cpp src/gui/npclistdialog.cpp src/gui/npclistdialog.h src/gui/npcstringdialog.cpp src/gui/sell.cpp src/gui/shop.cpp src/gui/table.cpp src/net/beinghandler.cpp src/net/npchandler.cpp src/net/playerhandler.cpp src/npc.cpp src/npc.h src/shopitem.cpp src/shopitem.h src/utils/stringutils.cpp src/utils/stringutils.h src/utils/trim.h
2009-02-24Fixed compile warningsBjørn Lindeijer1-5/+5
Order of initialization and suggested parenthesis.
2009-02-20Fixed some lines from cutting off in English (which would carry over toIra Rice1-4/+4
other languages as well). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-20Added a pickup notification as particle effect. Also make a ui option to ↵Majin Sniper1-6/+35
enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
2009-02-19Added a pickup notification as particle effect. Also make a ui option to ↵Majin Sniper1-6/+35
enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-1/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.