Commit Graph

1630 Commits

Author SHA1 Message Date
Johannes Schickel
1f9af83259 Made fix for empty game list on starting MassAdd a bit more robust.
svn-id: r41301
2009-06-06 20:22:16 +00:00
Eugene Sandulenko
e8463ff1d2 Bring old 'quick search' behavior of games list back.
svn-id: r41296
2009-06-06 19:20:39 +00:00
Filippos Karapetis
6c44c7764c Fixed assertion when starting mass add and there are no games currently in the game list
svn-id: r41293
2009-06-06 19:04:09 +00:00
Eugene Sandulenko
6cff94e7c2 Restore search.bmp which was lost
svn-id: r41288
2009-06-06 18:32:33 +00:00
Eugene Sandulenko
fe75d083b7 Bump theme version to 0.5 due to number of recent changes.
svn-id: r41287
2009-06-06 18:27:25 +00:00
Eugene Sandulenko
986a0b83b6 Disable MIDI controls if GUIO_NOMIDI is set
svn-id: r41281
2009-06-06 18:21:07 +00:00
Eugene Sandulenko
c8aa63e553 Disable load from the launcher button for AGOS and Gob games with use of GUI options
svn-id: r41277
2009-06-06 17:59:04 +00:00
Eugene Sandulenko
472e5906ca Do not change list content if filter was not changed
svn-id: r41276
2009-06-06 17:58:29 +00:00
Eugene Sandulenko
bbac0f1eea Implement FR#862150: "GUI: Show subtitles/speech options only for speech games"
Add generic per-game GUI options support along the way ;)

svn-id: r41275
2009-06-06 17:58:08 +00:00
Eugene Sandulenko
f6d06085d5 Fix item selection on filtered out list in launcher
svn-id: r41271
2009-06-06 17:54:59 +00:00
Eugene Sandulenko
020450465d Fix font size in EditTextWidget on screen resolution change.
svn-id: r41270
2009-06-06 17:54:43 +00:00
Eugene Sandulenko
f66da82f03 Improvements to laucher dialog
- Made quicksearch turned off in the launcher game list
- Turn ListWidget into CommandSender
- Turn quicksearch off in launcher game list
- Connect laucher list widget with search box so search is initiated by typing

svn-id: r41269
2009-06-06 17:54:28 +00:00
Eugene Sandulenko
5fc047dddf Implement FR#1970293: "LAUNCHER: Add "quick search" input field like in iTunes"
svn-id: r41268
2009-06-06 17:54:08 +00:00
Eugene Sandulenko
dcc90445f6 Add to launcher not yet functional search widget.
Make EditableWidget CommandSender

svn-id: r41267
2009-06-06 17:53:25 +00:00
Eugene Sandulenko
b0db1b5ed0 Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".
- Split out label from PopUp widget
- Aligned every widget on all layouts so GUI becomes to look nice again
- Moved textHAlign to layout properties

svn-id: r41266
2009-06-06 17:52:44 +00:00
Eugene Sandulenko
b0f7f2e8d4 Implement widget property "textalign". Added it to all theme layouts
svn-id: r41265
2009-06-06 17:51:41 +00:00
Eugene Sandulenko
b49d23b898 Sync all themes with improvements of mass dialog. Fixed list positioning
svn-id: r41264
2009-06-06 17:50:30 +00:00
Eugene Sandulenko
f2547eb62c Implement FR#2707442: "GUI: Improve Mass Add dialog"
svn-id: r41263
2009-06-06 17:49:59 +00:00
Eugene Sandulenko
41505a00d0 Improved look of popup widget, buttons, checkbox and tab widget
svn-id: r41262
2009-06-06 17:49:09 +00:00
Eugene Sandulenko
a3b6b0efb5 Make PopUp widget look more balanced
svn-id: r41261
2009-06-06 17:48:46 +00:00
Eugene Sandulenko
974f47bbba Implement FR#1522626: "GUI: Friendlier "Add Game" session"
svn-id: r41236
2009-06-06 17:37:15 +00:00
Eugene Sandulenko
74c16b0072 Add Mute control to all themes
svn-id: r41235
2009-06-06 17:36:58 +00:00
Eugene Sandulenko
c295f524b2 Implement feature request #1180217: "GUI: Mute option"
svn-id: r41233
2009-06-06 17:36:06 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Eugene Sandulenko
eb92554db9 Fix bug #2791868: "GUI: Glitch when closing menu after hovering on option"
svn-id: r40702
2009-05-18 21:02:52 +00:00
Johannes Schickel
049618ce15 Fix all occurrences of AdLib spelling:
- credits
- options dialog

svn-id: r40538
2009-05-13 21:15:12 +00:00
Eugene Sandulenko
923d26d9fb Enable Audio options for a game when OPL driver is overridden.
svn-id: r40532
2009-05-13 21:02:03 +00:00
Johannes Schickel
68c7aa7ff1 Fix invalid pop up widget selection, when no "opl_driver" setting is present.
svn-id: r40506
2009-05-12 19:36:09 +00:00
Johannes Schickel
4f0768b909 - Add support for selecting the OPL emulator being used (config entry: "opl_driver")
- Make MAME FM OPL the default emulator again
- Add GUI support for selecting the active OPL emulator
- Update themes

svn-id: r40496
2009-05-12 18:42:44 +00:00
Eugene Sandulenko
938db170f3 Sync with STXes
svn-id: r40494
2009-05-12 17:48:58 +00:00
Willem Jan Palenstijn
3b9f21be80 Use lowercase form for quickselect in ListWidget.
This matches POSIX strcasecmp and MSVC stricmp behaviour.

svn-id: r40467
2009-05-11 20:53:28 +00:00
Max Horn
95a4b26efe Turned fixed-size lists of debugger/console commands and variables into more flexible data structures
svn-id: r40458
2009-05-11 18:02:27 +00:00
Eugene Sandulenko
665e472ef0 Keymapper:
- Introduced new OSystem method getHardwareKeySet() with default implementation
- Moved global keymap creation to base/main.cpp
- Moved GUI keymap creation to gui/GuiManager.cpp
- Added various safeguard checks to various keymapper methods

Now it is really possible to add keymapper to all backends.

svn-id: r40439
2009-05-10 22:05:04 +00:00
Eugene Sandulenko
87fdc5d544 Original GSoC'08 keymapper now works.
Plans:
  - Make remap dialog less ugly
  - Port dialog to other resolutions and classic theme
  - Stop polluting config namespaces with keymap
  - Improve automapper
  - Add support to the engines and backends

svn-id: r40404
2009-05-09 22:36:57 +00:00
Eugene Sandulenko
bb03043b16 More debug info in the error messages when GUI layout is wrong.
svn-id: r40371
2009-05-07 20:56:33 +00:00
Eugene Sandulenko
8c60930aaa Part of patch #2738575: "GSOC09: Upd copyright add about line, fix MSVC warnings"
svn-id: r39995
2009-04-18 21:18:23 +00:00
Eugene Sandulenko
e246c0d94f Patch #2761396: "Typo fixes to README and comments"
svn-id: r39993
2009-04-18 21:12:32 +00:00
Vicent Marti
8fe3735f69 Fixed bug #2706939 (Enabled button not drawn correctly) and other similar cases.
Fixed background shading weirdness when opening many dialogs on top of each other.
Fixed some modal dialogs not redrawing properly when closed.

svn-id: r39938
2009-04-11 17:12:17 +00:00
Max Horn
0c8ffc80fd GUI: Fixed nasty typo
svn-id: r39913
2009-04-10 14:06:21 +00:00
Max Horn
9d4c917f59 GUI: Rewrote the dirty rect handling code. Previously it was possible that the dirty rect list got clobbered by many rects containg other rects in the list. Also got rid of some obsolete params to addDirtyRect as well as the obsolete return value
svn-id: r39909
2009-04-09 17:07:38 +00:00
Max Horn
21ebc88b00 GUI: Commited fix for bug in ThemeParser::parserCallback_defaults (at least I think this is the correct fix, somebody should review this)
svn-id: r39812
2009-04-03 15:12:46 +00:00
Vicent Marti
95a8c28dd5 Fixed bug where screen wasn't automatically updated when changing theme, unless you moved the mouse.
svn-id: r39706
2009-03-27 12:04:43 +00:00
Vicent Marti
053b7b8a9b Theme selection dialog now automatically selects the currently active theme. Fixes bug #2706967.
svn-id: r39703
2009-03-26 20:24:16 +00:00
Max Horn
e5e1615280 MidiDriver cleanup: findMusicDriver now returns a pointer (makes it possible to distinguish 'no match found' from other results); updated parseMusicDriver accordingly; some methods now return MidiDriverType instead of int
svn-id: r39702
2009-03-26 13:52:43 +00:00
Filippos Karapetis
bd240eb60a Added myself to the MADE engine credits
svn-id: r39684
2009-03-25 10:49:52 +00:00
Henry Bush
5681531bbd Sync
svn-id: r39458
2009-03-16 21:45:21 +00:00
Johannes Schickel
77d5d3093a Fix small cursor for modern theme.
svn-id: r39426
2009-03-15 18:29:47 +00:00
Vicent Marti
9e54b1c963 Fixed bug #2619802 (Game name overwrites scroll bar).
svn-id: r39335
2009-03-11 20:39:31 +00:00
Max Horn
5181546c63 Rewrote Common::List iterator code to ensure const correctness is preserved.
We tried to implement the list iterators in a clever way, to reduce code
duplication. But this is essentially impossible to do properly, sadly --
this is one of the places where the ugly drawbacks of C++ really show.
As a consequence, our implementation had a bug which allowed one to
convert any const_iterator to an iterator, thus allowing modifying
elements of const lists.

This rewrite reintroduces code duplication but at least ensures that no
const list is written to accidentally.

Also fix some places which incorrectly used iterator instead of const_iterator
or (in the kyra code) accidentally wrote into a const list.

svn-id: r39279
2009-03-09 22:26:02 +00:00
Willem Jan Palenstijn
68490c5c1e Move Greg Frieger from Tinsel to SCI in credits as intended by r39179
svn-id: r39220
2009-03-08 12:13:10 +00:00