Thierry Crozat
f58c69e65d
Commit slightly modified version of patch #3018727 : fix subtitle options (thanks fuzzie).
...
svn-id: r50080
2010-06-20 14:46:00 +00:00
David Turner
8f962a8fc3
Fix for Tooltip calls causing valgrind errors.
...
svn-id: r49901
2010-06-16 06:24:21 +00:00
Johannes Schickel
81926f106a
Fix g++ warning "format not a string literal and no format arguments".
...
svn-id: r49896
2010-06-15 23:45:13 +00:00
Max Horn
38fc910353
Yet another WinCE fix
...
svn-id: r49889
2010-06-15 20:01:31 +00:00
Johannes Schickel
49463c2bf9
Use USE_TRANSLATION, USE_DETECTLANG and USE_TERMCONV instead of (ENABLE_)TRANSLATION, DETECTLANG and TERMCONV.
...
svn-id: r49885
2010-06-15 19:20:58 +00:00
Willem Jan Palenstijn
7c7054dbd1
Remove unnecessary svn:executable properties
...
svn-id: r49870
2010-06-15 17:14:38 +00:00
Max Horn
953b1324a3
Another attempt to fix WinCE compilation
...
svn-id: r49864
2010-06-15 16:50:28 +00:00
Max Horn
82b66ffdf8
Fix some warnings about 'format not a string literal'.
...
svn-id: r49847
2010-06-15 12:34:55 +00:00
Max Horn
651e2760a3
Fix spelling, cleanup
...
svn-id: r49843
2010-06-15 12:33:20 +00:00
Eugene Sandulenko
103cb1b3ba
GUI: Fixed warnings
...
svn-id: r49804
2010-06-15 11:38:53 +00:00
Eugene Sandulenko
079713c717
GUI: Fix crash
...
svn-id: r49803
2010-06-15 11:32:08 +00:00
Eugene Sandulenko
01bc5dda94
GUI: Implemented Languages as GUI options.
...
SCUMM and AdvancedDetector support this feature.
svn-id: r49786
2010-06-15 10:57:28 +00:00
Eugene Sandulenko
8dcc49251f
GUI: Disable AdLib controls if game does not support it.
...
svn-id: r49785
2010-06-15 10:56:46 +00:00
Eugene Sandulenko
dc57c68454
GUI: Fix crash.
...
svn-id: r49784
2010-06-15 10:56:30 +00:00
Eugene Sandulenko
67bc711580
GUI: Implement MIDI drivers as GUI options.
...
Proper version of patch #2988641 : "GSoC: Select drivers in GUI
based on output types". So far only SCUMM engine supports this
feature.
svn-id: r49783
2010-06-15 10:56:12 +00:00
Eugene Sandulenko
2b67bcc8e4
GUI: Added tooltips to more widgets.
...
svn-id: r49779
2010-06-15 10:54:22 +00:00
Eugene Sandulenko
5370fc2312
GUI: Widened max tooltip width for bigger screen resolutions
...
svn-id: r49778
2010-06-15 10:53:55 +00:00
Eugene Sandulenko
96b3aa6504
GUI: Added tons of tooltips.
...
svn-id: r49777
2010-06-15 10:53:30 +00:00
Eugene Sandulenko
d19807e983
GUI: Add auto-repeater to scrollbar arrows.
...
svn-id: r49775
2010-06-15 10:52:52 +00:00
Eugene Sandulenko
01f9006ee7
GUI: Implement tooltips. FR #2821513 .
...
FR #2821513 : "GUI: add tooltips".
Added tooltips for Add Game button, clear field buttons and couple
other.
Current problem: Only first call correctly restores text. I could
not find where restore information gets lost.
svn-id: r49774
2010-06-15 10:52:35 +00:00
Eugene Sandulenko
ef36b80dfa
GUI: Implement FR #2821514 .
...
FR #2821514 : "GUI: OK and Cancel buttons in option tabs".
Now tabs are visually separated from the buttons.
svn-id: r49770
2010-06-15 10:50:28 +00:00
Eugene Sandulenko
a295f13152
GUI: Tidied up lowres themes.
...
svn-id: r49769
2010-06-15 10:49:46 +00:00
Eugene Sandulenko
24abc6fb39
GUI: Improved look of GMM options menu.
...
svn-id: r49768
2010-06-15 10:49:16 +00:00
Eugene Sandulenko
dc040aa867
GUI: Implement radiobuttons.
...
Implement radiobuttons in GUI. Also closes FR #2821529 :
"GUI: volume and subtitles speed sliders".
Subtitle toggle button is replaced by three radiobuttons grouped
by a single group.
Updated translations and themes.
svn-id: r49767
2010-06-15 10:48:39 +00:00
Eugene Sandulenko
3fafa07ab0
GUI: Added in-place hotkeys for widgets.
...
Now it is possible to specify hotkeys in place for ButtonWidget
and CheckboxWidget (the only widgets with hotkeys now).
Use de-facto standard with putting hotkey between tildes (~).
Like '~O~pen'. The tildes gets stripped before after hotkey
is extracted.
This is done for giving translators possibility to specify
their own hotkeys.
Old hotkeys defined at widget instance creation are left for
leaving possibility to specify non-printable hotkeys such as
Common::ASCII_ESCAPE.
Translation files were updated respectively.
svn-id: r49766
2010-06-15 10:47:31 +00:00
Eugene Sandulenko
859212df25
Implement translation support for ScummVM GUI.
...
Based on patch #2903830 : "Updated Translation Prototype" by alexbevi
which in turn is based on patch #1739965 by jvprat.
Currently it builds all translations right into ScummVM. Once the
feature will be accepted more widely, i.e. more translations will
pop up, it will be trivial to move translation strings to external
file.
Finished translation: Russian
Unfinished translation: Hungarian
Things which are nice to do:
- Language code -> language mapping for more user friendness
- Specifying fonts to be used with language
- Updating of interface language without restart. It will require
moving of much code to reflowLayout() methods for each dialog
The .po files must be in single byte encodings. I.e. no support
for Unicode.
svn-id: r49759
2010-06-15 10:44:51 +00:00
Max Horn
48cfc94421
Add Gus to credits, update README & NEWS
...
svn-id: r49454
2010-06-06 13:36:55 +00:00
Max Horn
4ba291d4b1
GUI: Fix about dialog regression from my previous commit
...
svn-id: r49268
2010-05-27 20:29:39 +00:00
Max Horn
b99d65e561
Fix for bug #3007656 : "GMM: Crash in 320x200"
...
svn-id: r49267
2010-05-27 19:34:41 +00:00
Max Horn
a03b5a3434
GUI: Reduce code duplication in about dialog
...
svn-id: r49266
2010-05-27 19:34:12 +00:00
Max Horn
947edd08c3
Replace SCUMM F5 dialog by GMM & add help button to GMM
...
The new "Help" button in the GMM is currently only used by SCUMM.
To use it, an engine currently needs to subclass MainMenuDialog.
svn-id: r49249
2010-05-26 19:54:50 +00:00
Eugene Sandulenko
2f4f70f3b0
Patch #2951677 : Text boxes should init with the caret at the beginning
...
svn-id: r49239
2010-05-26 13:26:52 +00:00
Eugene Sandulenko
e0099ef394
Implement FR #2858270 : GUI: List scrollbar actions should focus on list
...
svn-id: r49133
2010-05-21 18:27:13 +00:00
Johannes Schickel
ada03c57b3
Prevent editable widgets from adding various characters when F1-F12 is pressed by the user.
...
Formerly the code just casted the "ascii" value of the key event to "byte"
and thus truncating the character value. Now that would be fine, if we
would not allow values >= 256 in the ascii field, for example 322 for F8
which in turn resulted in a "B" added to the editable field. I just added
a check for the values being in the byte range before doing the cast,
which fixes this.
svn-id: r48967
2010-05-08 18:30:00 +00:00
Max Horn
970745e60c
Move DebugChannel related code to new header
...
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
460d69e885
COMMON: Move DebugChannel stuff into a new DebugMan singleton
...
svn-id: r48821
2010-04-27 21:40:52 +00:00
Max Horn
5ab6a53f87
Update credits: Fredrik retired
...
svn-id: r48766
2010-04-21 21:23:35 +00:00
Ori Avtalion
843a547cf7
Update default theme
...
svn-id: r48650
2010-04-12 23:30:52 +00:00
Ori Avtalion
434b5369f6
Remove trailing whitespace
...
svn-id: r48649
2010-04-12 23:25:09 +00:00
Ori Avtalion
e35133064b
Center labels in mass-add dialog
...
svn-id: r48648
2010-04-12 23:23:23 +00:00
Thierry Crozat
08077db0ea
Update credits for myself to reflect that I am now part of the team.
...
svn-id: r48646
2010-04-12 21:22:03 +00:00
Yotam Barnoy
98d7ba281c
Changed my credits to indicate more extensive contributions
...
svn-id: r48633
2010-04-12 07:20:54 +00:00
Max Horn
f2ff555996
Rest of patch #2982224 : GSoC: Added unit test and unified error message display
...
svn-id: r48627
2010-04-11 19:04:02 +00:00
Max Horn
7d97ee48e6
No Mandriva updates in ages -> mark Mandriva packager as retired
...
svn-id: r48592
2010-04-09 11:18:30 +00:00
Max Horn
77c1e0dfe1
GUI: Remove 'typedef Common::String String' from (Global)OptionsDialog
...
svn-id: r48565
2010-04-06 09:26:59 +00:00
Max Horn
894e2aefe6
GUI: Unify various definitions of kOKCmd and move it to namespace GUI
...
svn-id: r48564
2010-04-06 09:26:43 +00:00
Johannes Schickel
c5c4060719
Commit of patch #2980691 "GSoC: GUI: Caret blink shaves pixels [...] (bug #2951681 )".
...
svn-id: r48551
2010-04-05 12:41:08 +00:00
Johannes Schickel
75b041364b
Mark Chris Gray (former Win64 builder) retired and add myself to the Win64 builder section.
...
svn-id: r48540
2010-04-05 10:38:43 +00:00
Max Horn
4bac9e1b75
COMMON: Cleanup ConfigManager code
...
* get rid of ConfigManager::_emptyString
* get rid of ConfigManager::Domain::get (use getVal instead)
* remove some dead code
svn-id: r48417
2010-03-29 20:31:23 +00:00
Max Horn
92c896d883
Patch #2973290 : Semicolon cleanup
...
svn-id: r48359
2010-03-22 20:28:08 +00:00
Johannes Schickel
38b2b3c04f
Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).
...
svn-id: r48310
2010-03-20 12:56:56 +00:00
Max Horn
c934642bdb
COMMON: Move typedef StringList from str.h to new header str-array.h
...
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.
svn-id: r48282
2010-03-18 15:09:24 +00:00
Max Horn
a17bbf3c2e
GUI: Make GuiObject::_name const, init all members in constructor
...
svn-id: r48275
2010-03-18 15:04:15 +00:00
Johannes Schickel
40562798d6
Fix our DECLARE_SINGLETON macro to conform to the C++ specs.
...
We need to use a namespace Common { } there to make strict C++ compilers
like clang++ and comeau happy. I also added a slight comment about why
that is needed to the macro definition and a note that you need to use
it from the global namespace.
svn-id: r48254
2010-03-13 21:55:49 +00:00
Max Horn
75a3f4a3ec
Fix from LordHoto for bug #2859401 : GUI: GMM crashes when running in 320x200 and 320x240
...
svn-id: r48248
2010-03-12 23:02:24 +00:00
Max Horn
4fc8ebab01
GUI: Remove GuiObject::getMillis()
...
svn-id: r48241
2010-03-11 23:41:28 +00:00
Max Horn
6e78fdc161
cleanup
...
svn-id: r48240
2010-03-11 23:40:40 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Max Horn
8ac5d00d57
Hide ZipArchive implementation, only expose it via factory functions: makeZipArchive()
...
svn-id: r48040
2010-02-13 11:56:30 +00:00
Max Horn
c2c82b22da
Fix Rober Spalek & Hans-Joerg Frieden in the CPP resp. plain text versions of the credits
...
svn-id: r48034
2010-02-10 17:08:07 +00:00
Fabio Battaglia
6938ca072a
Add N64 backend to credits
...
svn-id: r47988
2010-02-08 11:44:29 +00:00
Johannes Schickel
99411b177c
Add the DOSBox Team to our "Special Thanks" section for their awesome OPL2/OPL3 emulator.
...
svn-id: r47983
2010-02-07 22:04:00 +00:00
Johannes Schickel
516d44e65c
Fix behavior of delete key, when the cursor is at the end of the input line.
...
svn-id: r47802
2010-02-01 18:23:23 +00:00
Johannes Schickel
17f198369d
Fix assert after ^W and Delete key events in the debugger, when there's nothing on the line.
...
svn-id: r47801
2010-02-01 18:18:20 +00:00
Martin Kiewitz
bc89883da8
partly reverting r46807 ffs. Regression in numpad handling - ID: 2943361
...
svn-id: r47796
2010-02-01 15:44:24 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Johannes Schickel
69071078b3
Replace some more Adlib uses by AdLib.
...
svn-id: r47530
2010-01-25 00:13:32 +00:00
Arnaud Boutonné
8c9d82715e
Update copyright string to show current year
...
svn-id: r47447
2010-01-22 23:39:28 +00:00
Marcus Comstedt
40f9506163
The default keycolor for mouse pointers used to be 255.
...
This makes sense as a default for CLUT8 modes, but not really
for anything else. As part of the gsoc2009-16bit merge, the
default was changed to "all ones", with extra code in the SDL
backend to truncate this to the depth of the mode. However,
"all ones" (white) still isn't a very useful default for RGB modes.
So rather than jumping through hoops to provide a bad default,
it's better to remove the default altogether. Engines which relied
on the old default of 255 have been updated to specify it explicitly.
svn-id: r47118
2010-01-07 15:07:36 +00:00
Max Horn
df81b68967
Change BS 1 & 2 to I & II (see discussion on -devel)
...
svn-id: r46951
2010-01-03 21:20:05 +00:00
Johannes Schickel
770b2f78d4
Setup the dimensions of GuiObject in the constructor, by using reflowLayout.
...
This properly initializes _x, _y, _w and _h, which might be used
uninitialized otherwise. This probably lead to a creash for _sev,
when drawing the tab widget, before GuiObject::reflowLayout had
been called. FYI GuiObject::reflowLayout is usually only called
on layout changes (i.e. resolution changes etc.), thus it might
not be called before drawing a newly created widget.
svn-id: r46947
2010-01-03 21:07:56 +00:00
Yotam Barnoy
080d6da6e4
Minor additions: added full keypad support to GUI and SCI
...
svn-id: r46808
2009-12-31 23:52:49 +00:00
Matthew Hoops
eb2e457817
Add the Mohawk crew to the credits.
...
svn-id: r46787
2009-12-31 03:17:59 +00:00
Max Horn
b0e02675e7
Get rid of Common::String::emptyString, and also of some port specific hackery (getting rid of certain global C++ objs)
...
svn-id: r46781
2009-12-30 23:01:36 +00:00
Oystein Eftevaag
915c60c629
Using #include instead of #import to include some mac os x headers to avoid silly gcc warnings, that we'd otherwise have to remove -pedantic to get rid of
...
svn-id: r46597
2009-12-26 17:18:18 +00:00
Johannes Schickel
1a1b041d00
Add "End of namespace" comment.
...
svn-id: r46594
2009-12-26 16:57:34 +00:00
Oystein Eftevaag
b21679e56e
Buildbot compile fix for os x cross compile
...
svn-id: r46592
2009-12-26 16:00:41 +00:00
Oystein Eftevaag
925c1744ec
Committing the actual new browser_osx.mm file, oops
...
svn-id: r46583
2009-12-26 13:48:14 +00:00
Oystein Eftevaag
9d70103d9c
The file selection dialog in OS X now uses Cocoa instead of Carbon, and lives in a separate file due to having to be compiled as Objective-C++. ScummVM can now run in x64 natively on OS X
...
svn-id: r46581
2009-12-26 13:35:57 +00:00
Jordi Vilalta Prat
690a410423
Fix a typo
...
svn-id: r46386
2009-12-15 12:56:10 +00:00
Max Horn
f53d23d816
GUI: Re-add ellipsis to various button labels
...
svn-id: r46382
2009-12-15 08:20:19 +00:00
Max Horn
6c98169dc3
GUI: Shorten button labels if too long, and improve the shortening logic
...
svn-id: r46381
2009-12-15 08:19:59 +00:00
Max Horn
605037342b
GUI: Fix some GUI hacks, add some comments, etc.
...
* Rename LauncherDialog::selectGame() to selectTarget()
* Get rid of the 'temp_selection' ConfMan entry hack
* Add some Doxygen comments
* Turn a printf(...) into a debug(1,...)
* Don't scroll around if 'Mass Add' is cancelled
svn-id: r46380
2009-12-15 08:19:34 +00:00
Johannes Schickel
8f34e4b11c
Commit of the 2nd revision of my patch for FR# 2840967 "GUI: Display filenames in "Add games"'s file dialog", since it seems on "Making it easier for users to add games" on -devel the majority of developers, who commented, are for this.
...
svn-id: r46312
2009-12-09 16:48:33 +00:00
Max Horn
d60b5ca516
Include font.h instead of fontman.h in places that don't need fontman :)
...
svn-id: r46311
2009-12-09 16:46:14 +00:00
Oystein Eftevaag
b25afc85a6
Build fix for 64-bit OS X
...
svn-id: r45920
2009-11-15 12:18:13 +00:00
Johannes Schickel
5859a9a892
Enforce alphabetical order in the credits again.
...
svn-id: r45812
2009-11-10 20:29:19 +00:00
Vladimir Menshakov
2bb14776e4
added myself and sanguine to credits as suggested by Max Horn.
...
svn-id: r45807
2009-11-10 19:13:02 +00:00
Johannes Schickel
59eb37a76c
Fix bug in "add_paragraph" in tools/credits.pl, now the "&" should be fine in credits.h again.
...
svn-id: r45547
2009-10-30 20:30:28 +00:00
Johannes Schickel
f55da32ca5
Fix credits.
...
svn-id: r45545
2009-10-30 20:25:12 +00:00
Max Horn
4009f6836b
Fixed Terry Pratchett's name in the credits
...
svn-id: r45528
2009-10-30 09:50:31 +00:00
Robert Špalek
e36798585f
Add Dragon History's authors, now properly
...
svn-id: r45520
2009-10-30 03:27:27 +00:00
Eugene Sandulenko
55da0503f4
Add special thanks for DW.
...
svn-id: r45513
2009-10-30 02:12:55 +00:00
Max Horn
2bbf708dea
Introduced new type Common::DisposeAfterUse::Flag
...
svn-id: r45233
2009-10-18 19:41:59 +00:00
Jordi Vilalta Prat
b6baadff53
Updated the modern theme logo with a darker shadow
...
svn-id: r44952
2009-10-11 22:26:03 +00:00
Johannes Schickel
bd6de4f642
Hopefully avoiding an assert in the MSVC debug CRT library when entering an umlaut in the launcher.
...
It's a bad idea to cast a parameter to the "is*" functions from ctype.h to "char",
since "char" might be signed and the "is*" functions are defined to only accept
input which fits "unsigned char" or equals EOF. In this concrete example the value
of "state.ascii" is > 0x7F, thus becomes negative after the cast to "char", which
violates the parameter rules of "isprint".
Sadly it seems this is not the only place in our code, which does pass a possibly
signed parameter to an "is*" function. We might either want to change all code to
only pass an unsigned char value, change the code to do parameter validation or
fix it in another way.
svn-id: r44920
2009-10-11 13:44:19 +00:00
Max Horn
d0876b06ed
Remove some unused variables
...
svn-id: r44853
2009-10-09 22:21:45 +00:00
Max Horn
3399c3aeb6
Change doxygen inline comments from "//!" to "///" as proposed on -devel
...
svn-id: r44802
2009-10-08 21:28:57 +00:00
Martin Kiewitz
58470866d8
another try to add myself...(this is more complicated than writing for sci itself)
...
svn-id: r44749
2009-10-07 19:56:00 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00