added some meat to the global options dialog (no prefs are stored yet, though)
svn-id: r6862
This commit is contained in:
parent
e1851fc07f
commit
023d84a6a3
8 changed files with 140 additions and 68 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue