Commit Graph
393 Commits
Author SHA1 Message Date
Thierry Crozat 1a874f9c07 GUI: Delay deletion of child widgets when rebuilding launcher and options dialog
This is to avoid writing in deleted memory in the ButtonWidget::sendCommand
when the sent command results in the parent dialog being rebuilt.
2017-03-10 02:05:27 +00:00
Thierry Crozat 8b5317e05d GUI: Add possibility to rebuild the launcher dialog 2016-10-30 18:56:35 +00:00
Eugene Sandulenko e8b70a4686 ALL: Fix compilation with disabled cloud but enabled libcurl 2016-10-17 18:55:22 +02:00
Eugene Sandulenko a65682a828 GUI: Fix warnings 2016-08-24 16:07:55 +06:00
Alexander Tkachev d795c77ef5 GUI: Fix DownloadDialog detection
Now it calls Launcher directly, so it updates games list on success.
2016-08-24 16:07:55 +06:00
Alexander Tkachev d5753a4847 CLOUD: Add auto-detect for downloaded game
If that's the game, that is.

Method is copy-pasted from Launcher, but fixed not to ask the directory
and thus doesn't contain the loop.
2016-08-24 16:07:55 +06:00
Alexander Tkachev 3da38ca60b CLOUD: Replace USE_CLOUD with USE_LIBCURL
In most cases that's the right one to check. USE_CLOUD is defined when
either USE_LIBCURL or USE_SDL_NET are, which means if there is no curl,
USE_CLOUD still could be defined and linking errors would appear.
2016-08-24 16:07:55 +06:00
Alexander Tkachev 052d8bf0ae GUI: Forbid using download directory in "Add Game" 2016-08-24 16:07:55 +06:00
Alexander Tkachev a651a983dd GUI: Add warning message for game's savepath 2016-08-24 16:07:55 +06:00
Torbjörn Andersson 48ea881e2b GUI: Initialize pointers to NULL, not false 2016-06-01 23:25:19 +02:00
Eugene Sandulenko c7ad2155fc GUI: More object initialization cleanup 2016-06-01 13:16:12 +02:00
Eugene Sandulenko 8360d3cd6f GUI: Do not show splash when ran from launcher 2015-11-11 21:36:27 +01:00
Thierry Crozat 22dbf00e33 GUI: Mark "Mass Add..." and "Record..." for translation. 2015-06-25 21:37:09 +01:00
Johannes Schickel 03b8800080 Merge pull request #492 from BenCastricum/misc
GUI: replace "savegame" by "saved game".
2014-09-03 00:01:57 +02:00
Ben Castricum 9d885bce22 GUI: s/savegame/saved game/
Makes it consistant throughout the GUI
2014-08-22 07:11:03 +02:00
Ben Castricum 500af48ef7 GUI: Fix description of game specific extraPath 2014-08-22 06:40:15 +02:00
Johannes Schickel f5dfe6725a GUI: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Eugene Sandulenko f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Johannes Schickel 1115c2b323 GUI: Fix text alignment for the version in the launcher.
Formerly in LauncherDialog::reflowLayout an incorrect way to query the acutal
text alignment was used for the static text widget used for the ScummVM
version.
2013-02-03 00:43:32 +01:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Johannes Schickel 15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02:00
Oleksiy Kurochko e6c317a922 GUI: Implemented pressed state for buttons 2012-05-03 19:32:08 +03:00
Filippos Karapetis 570237ea51 GUI: Remove leftover code for the global dithering checkbox 2012-03-25 22:18:35 +03:00
Filippos Karapetis c84cd8dee8 GUI: Add per-engine and per-game options 2012-03-19 20:32:34 +01:00
Max Horn 215b41b244 COMMON: Move RenderMode and GUIOptions functionality into separate files 2012-02-26 15:19:31 +01:00
Willem Jan Palenstijn 9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn 4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Max Horn 658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Johannes Schickel 19be349a71 GUI: Fix search clear button when switching themes or resolution.
This only fixes the clear button of the launcher's search. For the other clear
buttons this is would be a bit more work since they are embedded in tabs.
2011-10-25 16:20:40 +02:00
Eugene Sandulenko b2a2f76dd9 LAUNCHER: Fix MIDI override setting 2011-10-25 14:56:05 +01:00
Eugene Sandulenko 5a68e40054 GUI: Refactor clear buttons 2011-10-25 14:56:05 +01:00
Eugene Sandulenko 2b6c2da831 GUI: Added clear button to paths 2011-10-25 14:56:05 +01:00
Eugene Sandulenko d99e855606 LAUNCHER: benefit from PicButton being derivative of Button 2011-10-25 14:56:04 +01:00
Eugene Sandulenko 25766500c0 LAUNCHER: Do not show clear image in classic theme 2011-10-25 14:56:03 +01:00
Eugene Sandulenko 5b3b73c523 GUI: Added icon to clear button. Reverted PNG support 2011-10-24 05:18:49 +01:00
Eugene Sandulenko f1165b0b6e LAUNCHER: Do not show MIDI and MT32 tabs if game does not have MIDI 2011-10-23 23:44:14 +01:00
Eugene Sandulenko 77c65648b1 AD: Swtich GUI options to a char array.
This eliminates nasty limitation of caping number of flags to 31.
Current code has limitation of 255 flags, though.

Only SCUMM engine is converted, rest do not even compile.
Detection of fan talkie MI is broken as it has to be implemented
differently.
2011-10-23 17:53:13 +01:00
Eugene Sandulenko ae02860784 GUI: Removed redundant button label 2011-08-06 11:31:01 +01:00
Max Horn 333be9c072 GUI: Replace some s(n)printf uses by Common::String::format 2011-06-02 00:07:18 +02:00
Max Horn a4610df482 Merge branch 'branch-1-3-0' into master
I manually resolved all conflicts, and inspected every single change.
Many were due to the version string mismatch and thus easily resolved.
The MSVC project files add in the 1-3-0 branch were not merged,
neither where the changes to gui/themes/translations.dat.

Conflicts:
	NEWS
	backends/base-backend.cpp
	backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp
	backends/module.mk
	backends/platform/ds/arm9/makefile
	backends/platform/psp/README.PSP
	backends/platform/samsungtv/main.cpp
	backends/platform/samsungtv/samsungtv.cpp
	backends/saves/posix/posix-saves.cpp
	base/commandLine.cpp
	base/internal_version.h
	base/main.cpp
	common/array.h
	configure
	devtools/create_project/create_project.cpp
	dists/android/AndroidManifest.xml
	dists/android/plugin-manifest.xml
	dists/iphone/Info.plist
	dists/irix/scummvm.spec
	dists/macosx/Info.plist
	dists/redhat/scummvm-tools.spec
	dists/redhat/scummvm.spec
	dists/scummvm.rc
	dists/slackware/scummvm.SlackBuild
	dists/wii/meta.xml
	engines/sci/parser/vocabulary.cpp
	engines/tinsel/handle.cpp
	gui/themes/translations.dat
2011-06-01 15:15:31 +02:00
agent-q 92a71f7452 DS: Port of changes from branch-1-2-0 that I should really have moved into the trunk.
"DS: Prevent the command line help string from being included in the binary."
5f3a90a5f6

"GUI: Allow disabling of Mass Add dialog.  Saves a few Kb of binary size on the DS, and is not particularly useful on that platform."
240ff87cf4

"GUI: Don't search for theme zip files on startup when running on the DS.  Themes aren't supported anyway, and the search severely delays startup."
fe3b18ce0d
2011-05-21 15:45:51 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn 41121be4d6 GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget
This avoids hiding an overloaded virtual method, which in turn can
cause weird bugs (see also the next commit).

svn-id: r55815
2011-02-07 22:58:22 +00:00
Johannes Schickel 99f62728a3 GUI: Fix implicit signed to unsigned conversion warnings for some compilers.
svn-id: r55313
2011-01-18 21:03:13 +00:00
Johannes Schickel 2633a70018 GUI: Fix language popup in the game options.
r49786 introduced a regression which made the game options menu set the
game language to "zh-cn" in case "<default>" was selected. Also in case no
language key was present in the game's config domain no text was shown at all,
now it shows "<default>" in that case again.

svn-id: r55267
2011-01-16 20:12:55 +00:00
Yotam Barnoy ee2b1092ab PLUGINS: switched plugin manager to inheritance rather than #defines
The reason for this was that I found issues where the wrong functions were called in EngineManager for single plugin operation. Rather than inserting more messy #defines, I preferred to change the PluginManager to use virtual functions, which also makes EngineManager simpler.

svn-id: r55024
2010-12-23 13:38:37 +00:00
Max Horn 668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00