mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
make edwin work better for static data display
This commit is contained in:
parent
2db0e4630e
commit
c0662e8c33
1 changed files with 25 additions and 21 deletions
|
@ -226,6 +226,13 @@ RESOURCE TBUF64 r_alert_no_dicts {
|
||||||
buf = "Crosswords requires at least one dictionary.";
|
buf = "Crosswords requires at least one dictionary.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RESOURCE TBUF32 r_alert_feature_pending {
|
||||||
|
buf = "Feature not yet implemented.";
|
||||||
|
}
|
||||||
|
|
||||||
|
#define XW_EFLAGS EEikEdwinNoAutoSelection | EEikEdwinReadOnly | EEikEdwinResizable
|
||||||
|
// EEikEdwinDisplayOnly |
|
||||||
|
|
||||||
RESOURCE DIALOG r_xwords_confirmation_query
|
RESOURCE DIALOG r_xwords_confirmation_query
|
||||||
{
|
{
|
||||||
title = "Query";
|
title = "Query";
|
||||||
|
@ -237,7 +244,10 @@ RESOURCE DIALOG r_xwords_confirmation_query
|
||||||
{
|
{
|
||||||
DLG_LINE
|
DLG_LINE
|
||||||
{
|
{
|
||||||
control = EDWIN;
|
control = EDWIN { flags = XW_EFLAGS;
|
||||||
|
width = 50;
|
||||||
|
lines = 4;
|
||||||
|
};
|
||||||
type = EEikCtEdwin;
|
type = EEikCtEdwin;
|
||||||
id = EAskContents;
|
id = EAskContents;
|
||||||
}
|
}
|
||||||
|
@ -247,7 +257,7 @@ RESOURCE DIALOG r_xwords_confirmation_query
|
||||||
RESOURCE DIALOG r_xwords_info_only
|
RESOURCE DIALOG r_xwords_info_only
|
||||||
{
|
{
|
||||||
title = "Info";
|
title = "Info";
|
||||||
#if defined SERIES_80
|
#if ! defined SERIES_60
|
||||||
buttons = R_EIK_BUTTONS_CONTINUE;
|
buttons = R_EIK_BUTTONS_CONTINUE;
|
||||||
#endif
|
#endif
|
||||||
flags = EEikDialogFlagWait | EEikDialogFlagNotifyEsc;
|
flags = EEikDialogFlagWait | EEikDialogFlagNotifyEsc;
|
||||||
|
@ -255,13 +265,17 @@ RESOURCE DIALOG r_xwords_info_only
|
||||||
{
|
{
|
||||||
DLG_LINE
|
DLG_LINE
|
||||||
{
|
{
|
||||||
control = EDWIN { width = 100; maxlength = 1000; };
|
control = EDWIN { flags = XW_EFLAGS;
|
||||||
|
width = 50;
|
||||||
|
lines = 4;
|
||||||
|
};
|
||||||
type = EEikCtEdwin;
|
type = EEikCtEdwin;
|
||||||
id = EAskContents;
|
id = EAskContents;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef XWFEATURE_STANDALONE_ONLY
|
||||||
RESOURCE ARRAY r_conn_roles
|
RESOURCE ARRAY r_conn_roles
|
||||||
{
|
{
|
||||||
items = {
|
items = {
|
||||||
|
@ -302,6 +316,7 @@ RESOURCE ARRAY r_xwords_newgame_page_conn
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
RESOURCE ARRAY r_four_nums
|
RESOURCE ARRAY r_four_nums
|
||||||
{
|
{
|
||||||
|
@ -313,13 +328,6 @@ RESOURCE ARRAY r_four_nums
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
RESOURCE ARRAY r_dummy_nums
|
|
||||||
{
|
|
||||||
items = {
|
|
||||||
LBUF { txt = "1"; }
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
RESOURCE ARRAY r_xwords_newgame_page_players
|
RESOURCE ARRAY r_xwords_newgame_page_players
|
||||||
{
|
{
|
||||||
items =
|
items =
|
||||||
|
@ -335,7 +343,7 @@ RESOURCE ARRAY r_xwords_newgame_page_players
|
||||||
|
|
||||||
prompt = "Show player";
|
prompt = "Show player";
|
||||||
type = EEikCtChoiceList;
|
type = EEikCtChoiceList;
|
||||||
control = CHOICELIST { array_id = r_dummy_nums; };
|
control = CHOICELIST { maxdisplaychar = 2; };
|
||||||
id = ENPlayersWhichList;
|
id = ENPlayersWhichList;
|
||||||
|
|
||||||
}, DLG_LINE {
|
}, DLG_LINE {
|
||||||
|
@ -369,13 +377,6 @@ RESOURCE ARRAY r_xwords_newgame_page_players
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
RESOURCE ARRAY r_empty_choice
|
|
||||||
{
|
|
||||||
items = {
|
|
||||||
LBUF { txt = ""; }
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
RESOURCE ARRAY r_player_species
|
RESOURCE ARRAY r_player_species
|
||||||
{
|
{
|
||||||
items = {
|
items = {
|
||||||
|
@ -416,7 +417,7 @@ RESOURCE ARRAY r_xwords_newgame_page_dict
|
||||||
DLG_LINE {
|
DLG_LINE {
|
||||||
prompt = "Game dictionary";
|
prompt = "Game dictionary";
|
||||||
type = EEikCtChoiceList;
|
type = EEikCtChoiceList;
|
||||||
control = CHOICELIST { array_id = r_empty_choice; };
|
control = CHOICELIST { flags = EEikChlistArrayOwnedExternally; };
|
||||||
id = ESelDictChoice;
|
id = ESelDictChoice;
|
||||||
}
|
}
|
||||||
#ifdef SERIES_60
|
#ifdef SERIES_60
|
||||||
|
@ -431,8 +432,11 @@ RESOURCE ARRAY r_xwords_newgame_pages
|
||||||
{
|
{
|
||||||
items =
|
items =
|
||||||
{
|
{
|
||||||
|
#ifndef XWFEATURE_STANDALONE_ONLY
|
||||||
PAGE{ text="Connection"; id=EPage1; lines=r_xwords_newgame_page_conn;}
|
PAGE{ text="Connection"; id=EPage1; lines=r_xwords_newgame_page_conn;}
|
||||||
,PAGE{ text="Players"; id=EPage2; lines=r_xwords_newgame_page_players;}
|
,
|
||||||
|
#endif
|
||||||
|
PAGE{ text="Players"; id=EPage2; lines=r_xwords_newgame_page_players;}
|
||||||
,PAGE{ text="Dictionary"; id=EPage3; lines=r_xwords_newgame_page_dict;}
|
,PAGE{ text="Dictionary"; id=EPage3; lines=r_xwords_newgame_page_dict;}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -456,7 +460,7 @@ RESOURCE DIALOG r_xwords_blank_picker
|
||||||
DLG_LINE {
|
DLG_LINE {
|
||||||
prompt = "Choose one";
|
prompt = "Choose one";
|
||||||
type = EEikCtChoiceList;
|
type = EEikCtChoiceList;
|
||||||
control = CHOICELIST { array_id = r_empty_choice; };
|
control = CHOICELIST { flags = EEikChlistArrayOwnedExternally; };
|
||||||
id = ESelBlankChoice;
|
id = ESelBlankChoice;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue