From d72925144333fb53220dbb4b4a8c80cbeece10cb Mon Sep 17 00:00:00 2001 From: luca Date: Fri, 4 Apr 2003 08:53:19 +0000 Subject: [PATCH] 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 --- in/in0200.cpp | 2 +- in/in0500.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/in/in0200.cpp b/in/in0200.cpp index f4fd8eab4..52cd57853 100755 --- a/in/in0200.cpp +++ b/in/in0200.cpp @@ -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; diff --git a/in/in0500.cpp b/in/in0500.cpp index 670333a75..190b3e28d 100755 --- a/in/in0500.cpp +++ b/in/in0500.cpp @@ -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();