Commit Graph
58 Commits
Author SHA1 Message Date
Nicola Mettifogo 258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
David Corrales 3b96c7fad5 Renamed methods in the FilesystemNode class to match the AbstractFSNode implementations.
Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode.

svn-id: r27113
2007-06-05 21:02:35 +00:00
David Corrales 0cab5b7791 Merged the fs branch with trunk. r26949:27031
svn-id: r27032
2007-05-31 23:44:43 +00:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
David Corrales 3646c968c9 Merged the fs branch with trunk. r26472:26948
svn-id: r26949
2007-05-26 20:23:24 +00:00
Johannes Schickel ad03c72bdb Commit of patch #1715313 ("CORE: STL like algorithm implementation").
svn-id: r26929
2007-05-23 12:02:31 +00:00
Oystein Eftevaag 9686d2cf40 ShowCursor() and HideCursor() are deprecated in Mac OS X, replacing the calls.
svn-id: r25041
2007-01-06 19:22:05 +00:00
Travis Howell 175c951e8e Add cyx's patch for #1497725 - GUI: trying to enter empty CD drive
svn-id: r23475
2006-07-10 11:12:11 +00:00
Max Horn d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +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
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
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
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
Max Horn bec09d3094 Turned FSList::sort into a generic function which can be applied to anything which implements comparable iterators (like Array, List, or plain C arrays)
svn-id: r21617
2006-04-04 23:55:47 +00:00
Max Horn 77555809b6 Use iterator API to iterate over all entries in the file list
svn-id: r21601
2006-04-04 21:16:53 +00:00
Eugene Sandulenko 819033b649 o Move built-in evaluator constants to AssocArray to speed it up
o Introduced .align text widget property
o Moved all text widgets to use it and populated theme config file

svn-id: r21420
2006-03-24 01:24:26 +00:00
Eugene Sandulenko 8a5f44d797 Converted last dialogs to new scheme. Now it seems to be everything. Please,
test throghoutly.

svn-id: r21157
2006-03-09 05:18:00 +00:00
Eugene Sandulenko c3f91ca288 Converted all scumm dialogs to new scheme
svn-id: r21147
2006-03-09 01:08:25 +00:00
Max Horn b34e207dbb Change CVS keywords to SVN keywords
svn-id: r20518
2006-02-11 10:08:56 +00:00
Eugene Sandulenko ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko 6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson 1d39f986c9 Whitespace changes.
svn-id: r18449
2005-06-24 16:08:31 +00:00
Max Horn 8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Torbjörn Andersson 6ee65dafb9 Cleanup. (I think you can see the pattern here. :-)
svn-id: r18322
2005-06-03 12:18:30 +00:00
Torbjörn Andersson 801db4a515 Added big editable text widget, and removed some cruft. I think this means
that all our widgets are able to scale themselves now, but I could be
mistaken.

svn-id: r18192
2005-05-20 15:03:26 +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
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 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 cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn 47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn 0894f83804 Ensure that the file list in the browser is always sorted
svn-id: r16108
2004-12-18 02:33:37 +00:00
Max Horn 879431e76b Fixed behaviour of return key in the file browser
svn-id: r15852
2004-11-21 13:39:54 +00:00
Max Horn 5d9b35510d Changed the FilesystemNode implementation to make it easier to use (client code doesn't have to worry about the memory managment anymore, it's all 'automatic' now). May have introduced a mem leak or two, please check :-)
svn-id: r15848
2004-11-20 21:35:49 +00:00
Max Horn 93ef5161a5 Fix (workaround?) for bugs #917700 and #917697
svn-id: r13323
2004-03-17 00:18:07 +00:00
Max Horn 76fb3ba5c7 fix OSX nav dialog in fullscreen mode
svn-id: r12823
2004-02-11 13:31:16 +00:00
James Brown deb1d40cc0 This is not a test, I repeat, this is not a test!
svn-id: r12822
2004-02-11 08:16:08 +00:00
Max Horn 51733fbe3e native directory browser on Mac OS X
svn-id: r12694
2004-02-01 02:03:01 +00:00
Max Horn 033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn 22c22d1e81 added namespace GUI
svn-id: r11255
2003-11-10 23:40:48 +00:00
Paweł Kołodziejski 14b7d027a2 cleanup whitespaces
svn-id: r11223
2003-11-08 23:22:16 +00:00
Max Horn b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn 0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Marcus Comstedt 8f88764ef0 stdafx.h needs to be included before scummsys.h because of the #define of free.
svn-id: r9628
2003-08-10 20:57:41 +00:00
Max Horn dab0e4308e memory init
svn-id: r7743
2003-05-20 16:43:28 +00:00
Max Horn 59bff559d1 PalmOS changes: allow 8 bit GUI mode
svn-id: r7226
2003-04-30 13:57:57 +00:00
Max Horn ddb1173bf8 grow default buttons size & browser dialog to accomodate for spanish games
svn-id: r6871
2003-03-26 22:41:12 +00:00