From 02a299a73fa38b5b147cb186c18f447dad542351 Mon Sep 17 00:00:00 2001 From: ehouse Date: Tue, 18 Jan 2005 14:57:39 +0000 Subject: [PATCH] add saved games dialog --- symbian/group/xwords.rss | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/symbian/group/xwords.rss b/symbian/group/xwords.rss index c7360ded0..eae95a672 100644 --- a/symbian/group/xwords.rss +++ b/symbian/group/xwords.rss @@ -465,3 +465,49 @@ RESOURCE DIALOG r_xwords_blank_picker } }; } + +RESOURCE DLG_BUTTONS r_savedgames_buttons +{ + buttons = { + DLG_BUTTON { + id = XW_SGAMES_OPEN_COMMAND; + buttontype = EEikCtCommandButton; + flags = EEikLabeledButtonIsDefault; + button = CMBUT { txt = "Open"; }; + }, DLG_BUTTON { + id = XW_SGAMES_RENAME_COMMAND; + buttontype = EEikCtCommandButton; + button = CMBUT { txt = "Rename"; }; + }, DLG_BUTTON { + id = XW_SGAMES_DELETE_COMMAND; + buttontype = EEikCtCommandButton; + button = CMBUT { txt = "Delete"; }; + }, DLG_BUTTON { + id = EEikBidCancel; + buttontype = EEikCtCommandButton; + button = CMBUT { txt = "Cancel"; }; + } + }; +} + +RESOURCE DIALOG r_xwords_savedgames_dlg +{ + title = "Saved games"; + buttons = r_savedgames_buttons; + flags = EEikDialogFlagWait | EEikDialogFlagNotifyEsc; + items = { + DLG_LINE { + prompt = "Open:"; + id = ESelGameChoice; +#if 0 + type = EEikCtChoiceList; + control = CHOICELIST { flags = EEikChlistArrayOwnedExternally; }; +#else + type = EEikCtListBox; + control = LISTBOX { flags = EEikListBoxMultipleSelection; + width = 20; + }; +#endif + } + }; +}