Commit Graph
3228 Commits
Author SHA1 Message Date
Torbjörn Andersson c64467af1a Fixed drawing of the caret. (It was drawn using the GUI font, rather than
the widget's font.)

svn-id: r18130
2005-05-16 13:43:31 +00:00
Torbjörn Andersson 9a17302f57 Use the same offset - string width for the item number - for every line in
the list. There's a slight hack here: I've assumed that all digits have the
same width.

svn-id: r18129
2005-05-16 13:28:34 +00:00
Torbjörn Andersson 469319aa70 Made the buttons scale themselves too.
svn-id: r18127
2005-05-16 10:26:20 +00:00
Torbjörn Andersson 6a0ba15b0d Made the file/directory browser dialog scale itself.
svn-id: r18126
2005-05-16 09:24:28 +00:00
Torbjörn Andersson 6bcfb6ed97 Fixed the SoundFont button's behaviour in the Edit Game dialog.
svn-id: r18125
2005-05-16 06:33:33 +00:00
Max Horn 2935434504 Enlarge the option dialogs; note that the widgets should be rearranged / enlarged, too; they aren't yet
svn-id: r18123
2005-05-16 00:38:30 +00:00
Max Horn c9290b68ff Made the launcher dialog scale itself
svn-id: r18122
2005-05-16 00:26:23 +00:00
Max Horn 06cc657f0d Use big font in ListWidget if it is in kBigScrollBarWidth mode
svn-id: r18118
2005-05-15 18:22:44 +00:00
Max Horn 8c3085eb2b Center button label vertically, too (possible now that the GUI scaling is off)
svn-id: r18117
2005-05-15 18:22:17 +00:00
Max Horn 841c600fef Draw scrollbar arrows using drawLine, instead of hard coding bitmaps; add a param to the ListWidget constructor to choose a 'big' variant
svn-id: r18115
2005-05-15 18:02:10 +00:00
Max Horn f2646d3e53 Turn off auto scaling for now
svn-id: r18114
2005-05-15 17:59:27 +00:00
Max Horn 2425e657a2 Add a switch which allows turning off the automatic GUI scaling easily
svn-id: r18112
2005-05-15 17:08:44 +00:00
Max Horn 2d40452a11 Unified rules that determine when a dialog shall use its 'big' mode and when its 'normal' mode; MessageDialog uses Font::wordWrapText now; MessageDialog scales itself now
svn-id: r18111
2005-05-15 17:01:32 +00:00
Max Horn 1043554591 Word wrap the 'features' string
svn-id: r18110
2005-05-15 16:19:43 +00:00
Eugene Sandulenko 5c228fc028 Forgot to credit Ivan for his gob engine. Now fix that.
svn-id: r18075
2005-05-12 21:12:46 +00:00
Torbjörn Andersson 8e7c4ffa37 Quick fix to make button texts etc. draw at the correct position. (They
were being drawn at unscaled coordinates.) I don't know if this is the
correct fix, but the change is small and easy to revert, if need be.

svn-id: r18072
2005-05-12 15:46:03 +00:00
Max Horn cccbb52e1e Do not autoscale about dialog, rather let it scale itself properly
svn-id: r18061
2005-05-11 19:31:23 +00:00
Max Horn 79241d323f Start work on support for 'big' widgets
svn-id: r18060
2005-05-11 19:30:30 +00:00
Max Horn 1a615346ab Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn 52bbc86797 Patch #1181544 (AmigaOS 4 changes)
svn-id: r18011
2005-05-09 21:21:21 +00:00
Max Horn 2801693db5 Added LordHoto to credits
svn-id: r17984
2005-05-09 00:11:08 +00:00
Max Horn 74aed6382b cleanup
svn-id: r17980
2005-05-08 23:39:37 +00:00
Max Horn 3279513b64 A simple widget which renders any 16 bit graphics surface given to it (part of patch #1163026)
svn-id: r17977
2005-05-08 22:38:29 +00:00
Max Horn cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00
Max Horn 2eb868d2a3 Fix doxygen warning
svn-id: r17969
2005-05-08 17:05:19 +00:00
Max Horn 1f3ce23da8 GameDetector isn't actually used here
svn-id: r17757
2005-04-22 21:20:22 +00:00
Max Horn 25d56525c8 Replace OSystem::hasAlpha with a feature flag
svn-id: r17695
2005-04-19 20:35:48 +00:00
Max Horn 2141a2648c Use variable width scrollbar in the console dialog
svn-id: r17652
2005-04-17 12:03:03 +00:00
Max Horn a9f700b0a3 Allow usage of ScrollBarWidget with a non-standard width
svn-id: r17650
2005-04-17 11:47:44 +00:00
Max Horn f4a5d245b5 Updated TODO list
svn-id: r17649
2005-04-17 11:26:13 +00:00
Max Horn 919af98314 Added Dialog::wantsScaling(), to allow dialogs to turn off automatic scaling
svn-id: r17646
2005-04-17 11:20:59 +00:00
Max Horn aea451f092 Reunify DirBrowserDialog and FileBrowserDialog; implemented file browser mode for OSX, too; fixed some memory leaks in the launcher
svn-id: r17639
2005-04-16 17:55:09 +00:00
Max Horn caf142657d setLabel should probably cause an automatic redraw...
svn-id: r17638
2005-04-16 17:53:18 +00:00
Torbjörn Andersson 8ef991fe4a Clarified the second comment, and removed the overlap between the two.
svn-id: r17636
2005-04-16 16:56:16 +00:00
Torbjörn Andersson 7b9a3b1fa7 Clarified/corrected my own comment, otherwise I'll probably forget exactly
why this was necessary.

svn-id: r17634
2005-04-16 16:29:11 +00:00
Max Horn 8b73e6a7da _screenHasChanged == true implies _canvas.pixels == null; so replace it (after all, we don't want to draw text when the canvas is not yet ready, no matter whether this is due to a screen change or for any other reason)
svn-id: r17624
2005-04-16 13:09:34 +00:00
Torbjörn Andersson ff7c1086af When recreating the canvas, do a full redraw so that all the dialogs
behind the credits show. Until we have a new canvas, don't draw any credits
text, or it too will show up on the canvas.

The latter, at the very least, was a bug in my original patch.

svn-id: r17621
2005-04-16 12:41:43 +00:00
Max Horn 7aebedcc14 Patch #1183808 (GUI: Less CPU-intensive credits scroll), with some tweaks by me
svn-id: r17620
2005-04-16 11:40:15 +00:00
James Brown df3bc8bb37 spelling
svn-id: r17609
2005-04-16 01:39:51 +00:00
Eugene Sandulenko bdbd56406c Patches #1164217 "Updated GS Support + Percussion Remapping Patch" and
#1181750 "Updated Native MIDI documentation". Thanks _tom a lot.

svn-id: r17571
2005-04-13 00:11:49 +00:00
Max Horn a3a8cb65c9 Fix compilation on OS X
svn-id: r17515
2005-04-10 14:49:57 +00:00
Torbjörn Andersson 13dc149ded Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
changes. There are a few things that could use a bit more work, and I've
only tested it on my Linux box. I have verified that ScummVM still compiles
when it's disabled, though, so it shouldn't break anything too badly.

svn-id: r17512
2005-04-10 14:33:44 +00:00
Max Horn 909aab0693 Added Stefan Parviainen to credits, credited Quietust for his MM NES work
svn-id: r17487
2005-04-09 19:49:01 +00:00
Max Horn 0b5a407567 Init _editMode
svn-id: r17482
2005-04-09 17:51:40 +00:00
Torbjörn Andersson d0615eb956 Removed unnecessary semi-colons.
svn-id: r17418
2005-04-06 15:21:32 +00:00
Max Horn adf9bcf5d1 Fix for bug #1166231 (GUI: Caret not removed when switching tabs)
svn-id: r17379
2005-04-04 17:57:40 +00:00
Max Horn d2cdbefc5c Cleanup
svn-id: r17378
2005-04-04 17:57:15 +00:00
Marcus Comstedt d2214dca99 Use alpha channel if available.
svn-id: r17354
2005-04-03 19:41:20 +00:00
Robert Göffringmann bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +00:00
Max Horn 0385473761 Credit Robert Kelsen as Slackware packager
svn-id: r17263
2005-03-27 18:14:37 +00:00