Joost Peters
ac1b601429
override some widget settings for launcher on 480x272
...
svn-id: r22778
2006-05-30 18:27:04 +00:00
Eugene Sandulenko
9852a3b808
Fix game options in PSP theme
...
svn-id: r22777
2006-05-30 18:05:13 +00:00
Eugene Sandulenko
7e656e7274
Fix global options on PSP theme
...
svn-id: r22776
2006-05-30 17:57:44 +00:00
Eugene Sandulenko
b13e157c16
Put volume controls conditionally into separate tab. Used by PSP theme.
...
svn-id: r22775
2006-05-30 17:49:53 +00:00
Eugene Sandulenko
b6a56e0795
- Split global audio tab into audio and volume
...
- More logical order in game options tab
svn-id: r22774
2006-05-30 17:35:57 +00:00
Johannes Schickel
94272b6ba8
Should fix drawing on systems with alpha mask.
...
svn-id: r22773
2006-05-30 16:48:15 +00:00
Eugene Sandulenko
411264238a
Narrow buttons for PSP resolution for better look.
...
svn-id: r22771
2006-05-30 12:42:51 +00:00
Eugene Sandulenko
a46fe65378
A quick hack to let PSP gui use bigger fonts. Proper solution is to add
...
possibility to specify font for each widget class
svn-id: r22770
2006-05-30 12:29:32 +00:00
Eugene Sandulenko
0284becc9d
GUI theme for PSP-specific resolution
...
svn-id: r22768
2006-05-30 12:07:47 +00:00
Max Horn
865b48e095
Added sections for infrastructure and GUI to the credits file. These are badly incomplete; folks, please add yourself as appropriate
...
svn-id: r22766
2006-05-30 10:08:02 +00:00
Eugene Sandulenko
5bbe44cd50
Fix bug #1496582 "GUI: Default graphics mode not committing".
...
svn-id: r22763
2006-05-30 01:41:49 +00:00
Johannes Schickel
1d72b954c7
Introduces special switch for GraphicsWidget for use of theme transparency again.
...
svn-id: r22746
2006-05-29 14:55:43 +00:00
Johannes Schickel
975dd5f1fa
- updates new theme config
...
svn-id: r22744
2006-05-29 14:39:31 +00:00
Johannes Schickel
0165c98e00
- adds option to fill GraphicsWidgets with a special color
...
- updates builtin theme config for my next commit
- bumps theme config
svn-id: r22743
2006-05-29 14:38:56 +00:00
Johannes Schickel
2dd94dd247
Oops this reverts my last commit. :/
...
svn-id: r22742
2006-05-29 14:30:21 +00:00
Johannes Schickel
c37d69df56
- comments out getColorAlphaImp2
...
- adds note in getColorAlpha about we handle negative alpha values currently (could be removed when getColorAlphaImp2 get's fixed)
svn-id: r22741
2006-05-29 14:21:07 +00:00
Johannes Schickel
bdceb581fd
- cleanup
...
- uses working getColorAlphaImpl for alpha == 0 in getColorAlpha
svn-id: r22740
2006-05-29 14:16:52 +00:00
Johannes Schickel
0a557cf2a4
- changes transparency parameter of Theme::drawSurface to alpha parameter.
...
- adds possibility to draw GraphicsWidgets with alpha values.
svn-id: r22738
2006-05-29 14:00:00 +00:00
Johannes Schickel
af25e65c31
Removes leftover comment.
...
svn-id: r22737
2006-05-29 13:24:49 +00:00
Johannes Schickel
fbc55218f1
- Fixes list position after screen change.
...
svn-id: r22736
2006-05-29 13:21:56 +00:00
Johannes Schickel
f3e74f88de
- Fixes disabled transparency for classic theme.
...
- Introduces check for define 'CT_NO_TRANSPARENCY' to disable transparency support.
svn-id: r22735
2006-05-29 13:12:04 +00:00
Johannes Schickel
ba82b4a235
Fixes widget drawing for classic theme.
...
svn-id: r22734
2006-05-29 13:06:28 +00:00
Torbjörn Andersson
7f1eafea96
Don't "tickle" a dialog until after it has had a chance to redraw itself,
...
otherwise it may be in an inconsistent state since the modern theme uses
openDialog() to allocate a surface as large as he dialog itself.
This fixes a crash when changing to a bigger scaler when the About dialog is
running.
svn-id: r22688
2006-05-27 22:57:00 +00:00
Willem Jan Palenstijn
dfce3faabd
add fixme about scrolling in about dialog
...
svn-id: r22685
2006-05-27 14:41:15 +00:00
Willem Jan Palenstijn
72403d1336
fix missing saveload thumbnail variables in classic theme config
...
svn-id: r22684
2006-05-27 13:52:30 +00:00
Willem Jan Palenstijn
0993c6a712
make EditableWidget's caret visible when it moves
...
svn-id: r22682
2006-05-27 13:17:19 +00:00
Johannes Schickel
1b2485f4af
Don't draw the shadow outside the scrollbar (should fix 'garbage' when moving the scrollbar)
...
svn-id: r22680
2006-05-27 12:48:31 +00:00
Johannes Schickel
ae191feb21
Fixes caret drawing in EditTextWidgets.
...
svn-id: r22678
2006-05-27 12:37:00 +00:00
Eugene Sandulenko
60e288fe87
More vertical space in game options 'game' tab for consistency and better
...
visuals
svn-id: r22677
2006-05-27 12:05:16 +00:00
Torbjörn Andersson
923101abcb
Override the list widget's FindWidget() function, to allow it to return the
...
scrollbar widget.
svn-id: r22672
2006-05-27 06:38:45 +00:00
Eugene Sandulenko
9943084227
Oops. More advanced warning recovered a mechanic mistake. Fixing.
...
svn-id: r22671
2006-05-27 06:08:44 +00:00
Eugene Sandulenko
b56c7b88d7
Major GUI update:
...
- Implemented padding in console
- Update only current line in console instead of whole screen
- Fixed caret positioning in edit text widget
- Improved buttons drawing, now they look more realistic
- Added label spacing in popup widget
- Correct shadow in popup widget
- Fixed up with selected popup widget being drawn on wrong tab
- Added shading to list dialog
- Adjusted shading of inactive widgets
- Proper coloring of browset (add game) dialog
- Introduced Container widget
- Used Container widget in scumm save/load dialog. Now it looks properly
- Adjusted button colors even more. Now they match almost perfectly albeit with banding
- Made scrollbar appear only when it is really needed
svn-id: r22670
2006-05-27 05:46:04 +00:00
Eugene Sandulenko
9477029a44
remove unused variable
...
svn-id: r22647
2006-05-26 01:51:03 +00:00
Eugene Sandulenko
5fee4afc32
- Put scrollbar inside of list widget
...
- Use resize() instead of setPos() and setSize() where applicable
svn-id: r22646
2006-05-26 01:49:56 +00:00
Eugene Sandulenko
12461c3ca0
Do not create scrollbar copy on each resolution switch
...
svn-id: r22645
2006-05-26 01:16:21 +00:00
Eugene Sandulenko
7f8b79d5d0
Use Courier 12pt (free one) for 2x and 3x console. Looks much more useable now.
...
svn-id: r22644
2006-05-26 01:05:19 +00:00
Eugene Sandulenko
9828eb7a0b
Properly process screen change event in console
...
svn-id: r22643
2006-05-26 00:17:55 +00:00
Torbjörn Andersson
79819da301
The GUI never asked for the cursor to be visible. I'm not sure why that used to
...
work before the cursor manager. Oh well, the launcher should have a visible
cursor again, knock on wood.
svn-id: r22641
2006-05-25 23:20:35 +00:00
Torbjörn Andersson
8062eb6ec3
Set and show/hide mouse cursors through a "cursor manager" (analogous to the
...
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.
If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?
svn-id: r22639
2006-05-25 22:51:42 +00:00
Paweł Kołodziejski
107073537e
imported AGI engine
...
svn-id: r22588
2006-05-23 23:43:52 +00:00
Torbjörn Andersson
6cdd98b617
After the GUI has finished, restore the old cursor palette (if any). For this
...
to work, cursor palette now has to be set using the new "palette manager". See
graphics/paletteman.cpp
svn-id: r22543
2006-05-20 10:59:25 +00:00
Torbjörn Andersson
22fb1e48ef
Set a cursor palette for the classic theme, as well. Otherwise we'll get the
...
wrong colours in many games.
svn-id: r22540
2006-05-20 08:29:50 +00:00
Torbjörn Andersson
71d07416cd
Call the inherited handleScreenChanged() method, so that the widget can resize
...
itself on scaler changes.
svn-id: r22537
2006-05-19 22:49:23 +00:00
Torbjörn Andersson
ce749cd44c
Call handleScreenChanged() *before* calling setEditString(). Otherwise
...
_leftPadding may be wrong, or even undefined, when getEditRect() is called,
which may cause ScummVM to trigger an "invalid rect" assertion.
svn-id: r22536
2006-05-19 22:41:51 +00:00
Eugene Sandulenko
23498c5974
Minor GUI tweaks
...
svn-id: r22534
2006-05-19 22:25:14 +00:00
Eugene Sandulenko
fac7a13cf5
Proper rendering of slider widget.
...
svn-id: r22527
2006-05-18 21:48:47 +00:00
Eugene Sandulenko
4ead8dff26
- Fix spelling in theme config
...
- Introduce embossing shadow
- Less round corners in popup widget
- Custom border in editable text widget
- Matched color in popup widget and editable text widget with mock-ups
- Less round corners in editable text widget
- Text padding in editable text widget
svn-id: r22525
2006-05-18 20:53:28 +00:00
Eugene Sandulenko
63d7895500
Oops. Break indefinite loop.
...
svn-id: r22524
2006-05-18 19:38:54 +00:00
Eugene Sandulenko
e982782281
Fix bug #1483272 : "GUI: SCUMM pause dialog breaks upon scaler switch". Also
...
fix same problem in scumm help dialog.
svn-id: r22522
2006-05-18 16:44:44 +00:00
Eugene Sandulenko
e950d171f5
Properly set GFX mode selected in GUI. Fixes selection of 1x scaler.
...
svn-id: r22521
2006-05-18 15:40:44 +00:00
Eugene Sandulenko
bbb5f6813d
More GUI fixes:
...
- Center dialog title in scumm save/load dialog
- more space in add game dialog between dialog header and selected path
svn-id: r22517
2006-05-18 13:40:35 +00:00
Eugene Sandulenko
57e90daf1c
Fix several GUI layout problems:
...
- Correct button widths in scumm help dialog
- Fix button widths on path tabs in options dialogs
- Fix scumm options dialog in 320xY mode
- Added space after volume controls in options dialog
svn-id: r22516
2006-05-18 13:22:48 +00:00
Eugene Sandulenko
4dfbfe7eca
- Revert additional setUpCursor() call as it broke in-game cursor palette
...
- Disable scaling for cursors which have target scale defined
svn-id: r22509
2006-05-18 02:03:43 +00:00
Eugene Sandulenko
3f62ce3069
Improve new cursor image a bit for better visibility.
...
svn-id: r22508
2006-05-18 01:44:13 +00:00
Eugene Sandulenko
71e341ba39
Better cursor image
...
svn-id: r22507
2006-05-18 01:36:06 +00:00
Max Horn
5b5b0bd2d6
Added salty-horse to the credits
...
svn-id: r22458
2006-05-13 17:33:21 +00:00
Max Horn
0d6362ea48
Patch #1091170 : ALL, SCUMM: Subtitle speed control
...
svn-id: r22456
2006-05-13 17:30:04 +00:00
Torbjörn Andersson
d6e39db09d
If there is no "browser_lastpath" setting, create a FilesystemNode to "."
...
instead of a completely blank one. This should fix the failed assertion when
trying to add a new game that was reported on the forum.
svn-id: r22426
2006-05-13 06:08:39 +00:00
Sven Hesse
6add5edcee
Crediting Patrick Combet (aka Dorian Gray) for the Gobliiins ADL player
...
svn-id: r22414
2006-05-12 13:04:00 +00:00
Max Horn
dad44b45d3
Removed Base::setTarget, and some minor cleanup & tweaks
...
svn-id: r22356
2006-05-05 00:26:03 +00:00
Max Horn
5d5c02d66c
Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
...
svn-id: r22346
2006-05-04 23:24:09 +00:00
Max Horn
6321cfc874
Turned the last remaining few GameDetector methods into static methods
...
svn-id: r22344
2006-05-04 22:52:18 +00:00
Torbjörn Andersson
24a46d5da8
Checking if the node isValid() is no longer an option, but isDirectory() should
...
serve the same purpose, I believe.
svn-id: r22324
2006-05-04 03:44:50 +00:00
Max Horn
9f7b98617d
Fix listDir call in BrowserDialog
...
svn-id: r22318
2006-05-03 20:51:06 +00:00
Max Horn
d016c353c5
Changed FilesystemNode::listDir to return a bool indicating its success (or failure)
...
svn-id: r22315
2006-05-03 20:43:26 +00:00
Torbjörn Andersson
2ab62d8b02
I don't know if this is correct, but at least browser.cpp compiles again now.
...
svn-id: r22299
2006-05-03 10:48:18 +00:00
Max Horn
36e3e5ee78
Memorize the directory that was last visited with the browser across ScummVM runs (see also FR #1460734 )
...
svn-id: r22197
2006-04-28 23:15:43 +00:00
Johannes Schickel
6b225b40fa
Uses the special cursor color palette for the cursor now (this fixes problems with creation of thumbnails of the scumm engine)
...
svn-id: r22152
2006-04-25 15:20:46 +00:00
Eugene Sandulenko
58462fa682
- minor cleanup in modern.ini
...
- implement skipFor theme section keyword
svn-id: r22151
2006-04-25 14:59:42 +00:00
Eugene Sandulenko
869622cf00
- Resize chooser dialog
...
- Swap About and Help buttons in main SCUMM menu for consistency with launcher
svn-id: r22150
2006-04-25 14:27:41 +00:00
Travis Howell
91831974a8
Update all credits
...
svn-id: r22123
2006-04-23 22:55:31 +00:00
Lars Persson
7b80324c6d
Use SetInt to set the Keymapping version, instead of Set.
...
svn-id: r22073
2006-04-21 20:51:29 +00:00
Travis Howell
d474595629
Fix valgrind warning
...
svn-id: r22065
2006-04-21 04:06:44 +00:00
Won Star
95c134c9a8
Fix compile with DISABLE_FANCY_THEME.
...
svn-id: r22060
2006-04-20 12:25:25 +00:00
Torbjörn Andersson
b6783677b5
If I understand things correctly, this should fix the caret drawing in list
...
widgets. (The glitch was most noticeable in the modern theme.)
svn-id: r22052
2006-04-20 08:14:55 +00:00
Johannes Schickel
9e734b0851
Adds handleScreenChanged() to NewGui, so (scumm) engine can call it when it recives a EVENT_SCREEN_CHANGED.
...
svn-id: r22025
2006-04-19 06:22:15 +00:00
Johannes Schickel
1c65f3417a
Fixes problems with wrong colors on the overlay in scumm engine.
...
svn-id: r22024
2006-04-19 06:00:34 +00:00
Johannes Schickel
af8b2d83f7
Oops again. removed unneeded entry.
...
svn-id: r22023
2006-04-19 05:50:03 +00:00
Johannes Schickel
87c6abdd68
Oops forgot to commit changes here with last commit.
...
svn-id: r22022
2006-04-19 05:48:08 +00:00
Johannes Schickel
ff421d5adc
Prepairs merge of SaveLoadChooser and SaveLoadChooserEx of the scumm engine.
...
svn-id: r22020
2006-04-19 05:46:21 +00:00
Johannes Schickel
0a767b6467
Implements custom cursor support for the new theme and includes a standard cursor (it should be replaced though).
...
svn-id: r22019
2006-04-19 03:17:00 +00:00
Johannes Schickel
30787714d3
Started to prepare the gui for runtime resolution switches.
...
(some little things could be missing yet though)
svn-id: r22017
2006-04-19 01:05:28 +00:00
Johannes Schickel
58af73b344
Restores background before drawing a popupwidget.
...
svn-id: r22015
2006-04-18 19:52:12 +00:00
Johannes Schickel
1e15027885
Fixes "aspect ratio" text in the options with --force-1x-overlay.
...
svn-id: r22014
2006-04-18 19:04:15 +00:00
Johannes Schickel
96d23871b6
Oops forgot to use shadows for the PopUpWidget.
...
svn-id: r22013
2006-04-18 18:57:43 +00:00
Johannes Schickel
a9431edca2
- Fixed popup widget for --force-1x-overlay with new theme
...
- adds support for highlightened popupwidgets
svn-id: r22012
2006-04-18 18:50:07 +00:00
Johannes Schickel
1ae205a241
- adds own drawing function for (not expanded) popup widgets
...
- adds pixmaps, colorfades, and gradient factor for the (not expanded) popup widget in new theme
- bumps themeconfig version
svn-id: r22011
2006-04-18 18:40:33 +00:00
Eugene Sandulenko
5daa835cc7
- PopUpWidget (drop down list) does not shadow underlying dialog anymore
...
- Remove reduntant code in drawing pipeline. Topmost dialog was drawn
up to 4 times
svn-id: r21998
2006-04-18 00:37:04 +00:00
Eugene Sandulenko
1c9c14011b
Tame colors a bit to match GUI mock-ups
...
svn-id: r21997
2006-04-18 00:34:57 +00:00
Johannes Schickel
955b53fb88
Fixes bug with wrong colors in the logo after a screen change. (this time it works!)
...
svn-id: r21984
2006-04-17 18:50:33 +00:00
Max Horn
ea85e8c986
Moved ColorMasks to their own new header graphics/colormasks.h, so that both the scalers and the GUI code can access them. Also added (untested) entries for 1555, 444, 888 and 8888 modes
...
svn-id: r21966
2006-04-17 10:22:05 +00:00
Johannes Schickel
b99632831f
This should fix wrong colors of the scummvm logo in the new theme after screen change.
...
svn-id: r21953
2006-04-16 20:33:52 +00:00
Johannes Schickel
e9cbf5fcbd
- Moves Graphics::loadFont to Graphics::NewFont::loadFont
...
- adds code for caching of fonts (just for Graphics::NewFont)
- implements cache using in the modern theme for custom fonts
- adds cache file for current normal font in the theme zip file
svn-id: r21952
2006-04-16 19:54:39 +00:00
Max Horn
74edd90aba
Fix for bug #1471383 : Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
...
svn-id: r21951
2006-04-16 19:23:14 +00:00
Eugene Sandulenko
08b9cd7922
Remove redundant code. soundfont is taken care in OptionsDialog::open() now.
...
svn-id: r21950
2006-04-16 18:32:28 +00:00
Eugene Sandulenko
9de4b02b5c
Patch #1469722 : "Game-specific SoundFont configuration broken"
...
svn-id: r21949
2006-04-16 18:17:53 +00:00
Max Horn
555a568e59
Fixed some breakage in the 'Add Game' code I recently introduced; added a FIXME comment regarding the 'description' config file key
...
svn-id: r21943
2006-04-16 13:58:11 +00:00
Max Horn
206fdf0528
Fixed broken svn:keywords values
...
svn-id: r21939
2006-04-16 13:01:41 +00:00
Eugene Sandulenko
924ec172ff
- Implemented text padding in ListWidget and PopUpWidget. Right padding does not work yet.
...
- Implemented highlisght padding in ListWidget
- Eval::getVar() method with default value
- Removed unused constructors for ListWidget and PoUpWidget
- cleanup
- bumped theme version
svn-id: r21934
2006-04-16 10:23:36 +00:00
Max Horn
ad45318328
Removed GameDetector::_gameid in favor of using a config manager entry
...
svn-id: r21915
2006-04-15 17:39:14 +00:00