diff options
author | Max Horn | 2003-03-25 15:32:36 +0000 |
---|---|---|
committer | Max Horn | 2003-03-25 15:32:36 +0000 |
commit | 023d84a6a3fdecf97c7bebd754b72c044aa58955 (patch) | |
tree | 0477f9b4ff33d968d76648b5554318f598f2e7a2 /gui/browser.cpp | |
parent | e1851fc07f3d5e71c89a79d1abefca1beb350ea3 (diff) | |
download | scummvm-rg350-023d84a6a3fdecf97c7bebd754b72c044aa58955.tar.gz scummvm-rg350-023d84a6a3fdecf97c7bebd754b72c044aa58955.tar.bz2 scummvm-rg350-023d84a6a3fdecf97c7bebd754b72c044aa58955.zip |
added some meat to the global options dialog (no prefs are stored yet, though)
svn-id: r6862
Diffstat (limited to 'gui/browser.cpp')
-rw-r--r-- | gui/browser.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gui/browser.cpp b/gui/browser.cpp index 1faac20bf9..79d3baaf63 100644 --- a/gui/browser.cpp +++ b/gui/browser.cpp @@ -35,12 +35,11 @@ enum { kGoUpCmd = 'GoUp' }; -BrowserDialog::BrowserDialog(NewGui *gui) +BrowserDialog::BrowserDialog(NewGui *gui, const char *title) : Dialog(gui, 40, 10, 320 -2 * 40, 200 - 2 * 10), _node(0), _nodeContent(0) { // Headline - TODO: should be customizable during creation time - new StaticTextWidget(this, 10, 8, _w-2 * 10, kLineHeight, - "Select directory with game data", kTextAlignCenter); + new StaticTextWidget(this, 10, 8, _w-2 * 10, kLineHeight, title, kTextAlignCenter); // Current path - TODO: handle long paths ? _currentPath = new StaticTextWidget(this, 10, 20, _w - 2 * 10, kLineHeight, |