Patch level :2.0 nopatch

Files correlati     :in0.exe
Ricompilazione Demo : [ ]
Commento            :sostituite chiamate metodi os_ con xvt_fsys_


git-svn-id: svn://10.65.10.50/trunk@10974 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-04-04 08:53:19 +00:00
parent 115ef5ca7e
commit d729251443
2 changed files with 11 additions and 1 deletions

View File

@ -515,7 +515,7 @@ void TDischetto_mask::genera_dischetto(char tip, int mode)
(const char*)name);
return;
}
ic._disksize = os_get_disk_size(name) - (64L*1024L);
ic._disksize = xvt_fsys_get_disk_size(name, 'b') - (64L*1024L);
ic._written = 0;
const long total = ic._righe_riep + ic._righe_rett;

View File

@ -28,6 +28,7 @@ protected:
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
bool on_sheet_event(TSheet_field& s, TField_event e, int row);
bool on_sheet_field_event(TOperable_field& o, TField_event e, long jolly);
virtual bool on_key(KEY k);
void enable_valuta();
@ -69,6 +70,15 @@ void TImmissione_mask::enable_valuta()
enable(F_CAMBIO, gestval);
}
bool TImmissione_mask::on_key(KEY k)
{
if (k == K_CTRL + '+')
{
TSheet_field& s = sfield(F_RIGHE);
}
return TMask::on_key(k);
}
bool TImmissione_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
{
const short id = o.dlg();