Patch level : 10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
Aggiunta gestione bottone per impostazione stampante


git-svn-id: svn://10.65.10.50/trunk@16649 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2008-05-22 13:42:14 +00:00
parent ca4435a8db
commit 73bebc2249
2 changed files with 34 additions and 27 deletions

View File

@ -110,6 +110,13 @@ void TButton_tool::create(WINDOW toolbar)
if (_ctl_data._bmp_up <= 0)
_ctl_data._bmp_up = BMP_PRINT;
break;
case DLG_SETPRINT:
if (_ctl_data._prompt.empty())
_ctl_data._prompt = TR("Imposta Stampante");
set_exit_key(M_FILE_PG_SETUP);
if (_ctl_data._bmp_up <= 0)
_ctl_data._bmp_up = BMP_SETPRINT;
break;
case DLG_QUIT:
if (_ctl_data._prompt.empty())
_ctl_data._prompt = TR("Fine");

View File

@ -104,33 +104,33 @@
#define BMP_ARCHIVE 175
#define BMP_PROGRAM 176
#define TOOL_OK 101
#define TOOL_CANCEL 102
#define TOOL_SAVEREC 103
#define TOOL_DELREC 104
#define TOOL_NEWREC 105
#define TOOL_CONFIG 107
#define TOOL_QUIT 114
#define TOOL_SELECT 115
#define TOOL_EDIT 116
#define TOOL_LINK 117
#define TOOL_PRINT 118
#define TOOL_RECALC 119
#define TOOL_ELABORA 120
#define TOOL_FIRSTREC 121
#define TOOL_PREVREC 122
#define TOOL_STOPREC 123
#define TOOL_NEXTREC 124
#define TOOL_LASTREC 125
#define TOOL_FINDREC 126
#define TOOL_EMAIL 139
#define TOOL_CONVERT 156
#define TOOL_INFO 162
#define TOOL_HELP 163
#define TOOL_SETPRINT 165
#define TOOL_LENTE 166
#define TOOL_PREF 204
#define TOOL_ADDPREF 205
#define TOOL_OK 101
#define TOOL_CANCEL 102
#define TOOL_SAVEREC 103
#define TOOL_DELREC 104
#define TOOL_NEWREC 105
#define TOOL_CONFIG 107
#define TOOL_QUIT 114
#define TOOL_SELECT 115
#define TOOL_EDIT 116
#define TOOL_LINK 117
#define TOOL_PRINT 118
#define TOOL_RECALC 119
#define TOOL_ELABORA 120
#define TOOL_FIRSTREC 121
#define TOOL_PREVREC 122
#define TOOL_STOPREC 123
#define TOOL_NEXTREC 124
#define TOOL_LASTREC 125
#define TOOL_FINDREC 126
#define TOOL_EMAIL 139
#define TOOL_CONVERT 156
#define TOOL_INFO 162
#define TOOL_HELP 163
#define TOOL_SETPRINT 165
#define TOOL_LENTE 166
#define TOOL_PREF 204
#define TOOL_ADDPREF 205
#endif