Commit Graph

1807 Commits

Author SHA1 Message Date
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