Patch level :10.0 / 4.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :gestione anteprima/stampa migliorata


git-svn-id: svn://10.65.10.50/trunk@16276 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2008-03-10 11:09:04 +00:00
parent 07bbb09403
commit 49e3cb3b9b

View File

@ -1990,12 +1990,19 @@ bool TBook::preview()
split_file_if_needed(); split_file_if_needed();
TPreview_mask msk(this); TPreview_mask msk(this);
const KEY k = msk.run();
switch (k) //gestino anteprima di stampa;se si ha l'anteprima,una volta lanciata la maschera di stampa, si torna..
//..all'anteprima e non alla maschera del programma (decisivo per stampe con elaborazione lunga)
bool go_on = true;
while (go_on)
{ {
case K_QUIT: break; const KEY k = msk.run();
case K_SAVE: esporta(); break; switch (k)
default : print(); break; {
case K_QUIT: go_on = false; break;
case K_SAVE: esporta(); break;
default : print(); break;
}
} }
return true; return true;
} }