Patch level :2.2 186
Files correlati : Ricompilazione Demo : [ ] Commento :correzioni pro compilazione nuova 2.2 git-svn-id: svn://10.65.10.50/trunk@13389 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8a5cbd8965
commit
2b6160b15b
@ -639,7 +639,7 @@ void TEdit_mask::protect_page(int page, TToken_string& enabling)
|
||||
bool TEdit_mask::test_ammissibilita_dati()
|
||||
{
|
||||
const char* msg = insert_mode() ? TR("Inserimento") : TR("Modifica");
|
||||
xvt_statbar_set(msg, TRUE);
|
||||
xvtil_statbar_set(msg, TRUE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@ -680,7 +680,7 @@ bool TEdit_mask::test_ammissibilita_saldi()
|
||||
beep(1);
|
||||
else
|
||||
msg = insert_mode() ? TR("Inserimento") : TR("Modifica");
|
||||
xvt_statbar_set(msg, TRUE);
|
||||
xvtil_statbar_set(msg, TRUE);
|
||||
|
||||
return protez;
|
||||
}
|
||||
@ -744,7 +744,7 @@ bool TEdit_mask::test_ammissibilita_fondi()
|
||||
beep(1);
|
||||
else
|
||||
msg = insert_mode() ? TR("Inserimento") : TR("Modifica");
|
||||
xvt_statbar_set(msg, TRUE);
|
||||
xvtil_statbar_set(msg, TRUE);
|
||||
|
||||
return protez;
|
||||
}
|
||||
@ -969,7 +969,7 @@ void TAnacespi::init_modify_mode(TMask& m)
|
||||
_emask->protect_page(2, enabling);
|
||||
|
||||
if (!m.field(F_DTALIEN).empty())
|
||||
xvt_statbar_set(TR("Cespite alienato: non è possibile apportare modifiche"), TRUE);
|
||||
xvtil_statbar_set(TR("Cespite alienato: non è possibile apportare modifiche"), TRUE);
|
||||
}
|
||||
|
||||
const char* TAnacespi::get_next_key()
|
||||
|
@ -1160,7 +1160,7 @@ void TMovicespi::init_modify_mode(TMask& m)
|
||||
m.disable(DLG_DELREC);
|
||||
TString msg = TR("Movimento già stampato sul Bollato dell'esercizio ");
|
||||
msg << esc.date2esc(dtmov);
|
||||
xvt_statbar_set(msg);
|
||||
xvtil_statbar_set(msg);
|
||||
}
|
||||
if (_prima_nota.not_empty())
|
||||
m.disable(DLG_QUIT); // Altrimenti non riesco a controllare il residuo
|
||||
|
@ -168,18 +168,18 @@ bool TRegistro_cespiti::attivita_handler(TMask_field& f, KEY k)
|
||||
{
|
||||
calc_on = reg_on = FALSE;
|
||||
m.reset(F_CALCOLO);
|
||||
xvt_statbar_set(TR("L'esercizio è stato chiuso"));
|
||||
xvtil_statbar_set(TR("L'esercizio è stato chiuso"));
|
||||
}
|
||||
else
|
||||
if (ccb.get_bool("B1"))
|
||||
{
|
||||
calc_on = reg_on = FALSE;
|
||||
m.set(F_CALCOLO,"X");
|
||||
xvt_statbar_set(TR("Il bollato dell'esercizio é stato stampato"));
|
||||
xvtil_statbar_set(TR("Il bollato dell'esercizio é stato stampato"));
|
||||
|
||||
}
|
||||
else
|
||||
xvt_statbar_set("");
|
||||
xvtil_statbar_set("");
|
||||
|
||||
m.enable(F_TIPOREGISTRO, reg_on);
|
||||
m.enable(F_CALCOLO, calc_on);
|
||||
|
@ -464,7 +464,7 @@ void TPR_app::main_loop()
|
||||
}
|
||||
|
||||
printer().close();
|
||||
xvt_statbar_set("");
|
||||
xvtil_statbar_set("");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -290,7 +290,7 @@ void TLC_app::main_loop()
|
||||
}
|
||||
|
||||
printer().close();
|
||||
xvt_statbar_set("");
|
||||
xvtil_statbar_set("");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -179,7 +179,7 @@ void TLM_app::main_loop()
|
||||
}
|
||||
printer().close();
|
||||
}
|
||||
xvt_statbar_set("");
|
||||
xvtil_statbar_set("");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -139,7 +139,7 @@ void TECUP_app::main_loop()
|
||||
|
||||
form.set_testata(m);
|
||||
form.print();
|
||||
xvt_statbar_set("");
|
||||
xvtil_statbar_set("");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -261,7 +261,7 @@ void TECFE_app::main_loop()
|
||||
print_totale(last_group);
|
||||
|
||||
printer().close();
|
||||
xvt_statbar_set("");
|
||||
xvtil_statbar_set("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ void TSaldaconto_app::main_loop()
|
||||
bool ok = TRUE;
|
||||
while (ok)
|
||||
{
|
||||
xvt_statbar_set(TR("Ricerca"), TRUE);
|
||||
xvtil_statbar_set(TR("Ricerca"), TRUE);
|
||||
m.reset();
|
||||
ok = m.run() == K_ENTER;
|
||||
if (ok)
|
||||
|
@ -58,7 +58,7 @@ TFattura_mask::TFattura_mask(TRiga_partite& fattura)
|
||||
{
|
||||
const bool edit = _fattura.rate() > 0;
|
||||
set_mode(edit ? MODE_MOD : MODE_INS);
|
||||
xvt_statbar_set(edit ? TR("Modifica") : TR("Inserimento"), TRUE);
|
||||
xvtil_statbar_set(edit ? TR("Modifica") : TR("Inserimento"), TRUE);
|
||||
|
||||
enable(DLG_DELREC, edit);
|
||||
|
||||
@ -113,7 +113,7 @@ TFattura_mask::TFattura_mask(TRiga_partite& fattura)
|
||||
TFattura_mask::~TFattura_mask()
|
||||
{
|
||||
delete _pag;
|
||||
xvt_statbar_set(TR("Estratto conto"), TRUE);
|
||||
xvtil_statbar_set(TR("Estratto conto"), TRUE);
|
||||
}
|
||||
|
||||
real TFattura_mask::totale_rate(bool val) const
|
||||
|
@ -1649,7 +1649,7 @@ int TStampaEC_application::print_ec(TEC_Game_list* games)
|
||||
|
||||
status.cut(0);
|
||||
status << game.anno() << ' ' << game.numero();
|
||||
xvt_statbar_set(status);
|
||||
xvtil_statbar_set(status);
|
||||
do_events();
|
||||
|
||||
const TDate& dir = f.data_inizio_rischio();
|
||||
@ -1698,7 +1698,7 @@ int TStampaEC_application::print_ec(TEC_Game_list* games)
|
||||
else
|
||||
update_numec(clf, -1);
|
||||
|
||||
xvt_statbar_set(NULL);
|
||||
xvtil_statbar_set(NULL);
|
||||
|
||||
return one_printed ? 1 : 0;
|
||||
}
|
||||
|
@ -661,7 +661,7 @@ bool TStampaScadenzario::preprocess_page(int file, int counter)
|
||||
if (file==LF_CLIFO)
|
||||
{
|
||||
TString80 xxx(current_cursor()->curr(LF_CLIFO).get(CLI_RAGSOC));
|
||||
*_ragsoc = xxx.strip_d_spaces();
|
||||
*_ragsoc = xxx.strip_double_spaces();
|
||||
}
|
||||
if (file ==LF_PCON)
|
||||
*_des_conto = current_cursor()->curr(LF_PCON).get(PCN_DESCR);
|
||||
|
@ -202,7 +202,7 @@ void TConfronta_mask::show_progress(long pos, long tot)
|
||||
if (perc != _last_perc)
|
||||
{
|
||||
TString80 str; str.format(FR("%d%% completato"), perc);
|
||||
xvt_statbar_set(str);
|
||||
xvtil_statbar_set(str);
|
||||
_last_perc = perc;
|
||||
do_events();
|
||||
}
|
||||
@ -240,7 +240,7 @@ void TConfronta_mask::fill_browse()
|
||||
const char tipoc = get(F_TIPOC)[0];
|
||||
_running = TRUE;
|
||||
|
||||
xvt_statbar_set(TR("Inizializzazione..."));
|
||||
xvtil_statbar_set(TR("Inizializzazione..."));
|
||||
_last_perc = -1;
|
||||
do_events();
|
||||
|
||||
|
@ -138,9 +138,9 @@ BOOLEAN wprms (long data)
|
||||
long width_old,width_new;
|
||||
TString spc(100);
|
||||
spc.fill('m');
|
||||
xvt_set_font(prwin,st->name_1, XVT_FS_NONE, st->size_1);
|
||||
xvtil_set_font(prwin,st->name_1, XVT_FS_NONE, st->size_1);
|
||||
width_old = xvt_dwin_get_text_width(prwin,(char*)(const char*)spc, 100);
|
||||
xvt_set_font(prwin,st->name_2, XVT_FS_NONE, st->size_2);
|
||||
xvtil_set_font(prwin,st->name_2, XVT_FS_NONE, st->size_2);
|
||||
width_new = xvt_dwin_get_text_width(prwin,(char*)(const char*)spc, 100);
|
||||
st->ratio = (double)width_old / (double)width_new;
|
||||
xvt_vobj_destroy(prwin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user