Commit Graph

1644 Commits

Author SHA1 Message Date
Johannes Schickel
4956052ca4 Got rid of HACK, which was used to setup new cursor on theme change.
svn-id: r42137
2009-07-05 14:11:54 +00:00
Max Horn
cbea1a1193 Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
svn-id: r42054
2009-07-03 10:40:49 +00:00
Max Horn
8aa667e342 Enhanced the quicksearch box in the launcher to match words in the search string individually
svn-id: r42038
2009-07-02 21:16:36 +00:00
Max Horn
a6b57dc3a9 - Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings

svn-id: r42009
2009-07-01 20:51:04 +00:00
Max Horn
a882a6f467 GUI: Replaced ThemeParser::_drawFunction hashmap by a static function getDrawingFunctionCallback which maps strings to draw funcs
svn-id: r41931
2009-06-28 19:57:27 +00:00
Paul Gilbert
66c4b02109 Added myself to the CRUISE engine credits
svn-id: r41665
2009-06-19 09:44:33 +00:00
Eugene Sandulenko
b9017519fa Rename KeyRemapper dialog to KeyMapper
svn-id: r41462
2009-06-12 08:00:26 +00:00
Eugene Sandulenko
eb4f887ec3 Added Clear button for search box. Looks a bit off, but we do not yet have
skinned buttons.

svn-id: r41355
2009-06-07 22:19:48 +00:00
Eugene Sandulenko
28a114c702 Added current keymapper dialog to all themes so it could be tested by other
devs.

svn-id: r41352
2009-06-07 22:05:57 +00:00
Max Horn
de88db5f36 Fix for bug #2802492 (GUI: search query causes game list scrollbar glitches)
svn-id: r41334
2009-06-07 13:04:16 +00:00
Max Horn
f906c4e80f GUI: Tweaked the launcher so that TAB switches focus between the list and the quick search field
svn-id: r41311
2009-06-06 23:22:48 +00:00
Max Horn
34d097be20 GUI: Pressing 'ESC' in the Launcher's quick search field now resets the search filter
svn-id: r41310
2009-06-06 23:22:35 +00:00
Max Horn
8a0c5753f3 GUI: Simplified ThemeEngine::getImageSurface (this way it's easier to add more graphics in the future ;)
svn-id: r41309
2009-06-06 23:22:22 +00:00
Eugene Sandulenko
fd94eeead0 Make script executable
svn-id: r41304
2009-06-06 20:58:36 +00:00
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