default.url Migliorato supporto per icone alternative
mask.cpp printwin.cpp Corretta stampa su generica/solo testo git-svn-id: svn://10.65.10.50/trunk@3196 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
de0bd3f1c9
commit
bc93bf3827
@ -1,6 +1,9 @@
|
|||||||
#ifndef APPNAME
|
#ifndef APPNAME
|
||||||
#define APPNAME PRASSI
|
#define APPNAME PRASSI
|
||||||
#define QAPPNAME "PRASSI"
|
#define QAPPNAME "PRASSI"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef LIBDIR
|
||||||
#define LIBDIR f:\xvt.403\win_x86\ptk\lib
|
#define LIBDIR f:\xvt.403\win_x86\ptk\lib
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -761,8 +761,13 @@ WINDOW TMask::read_page(
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (_pages == 0) rect = r;
|
if (_pages == 0)
|
||||||
else r = rect;
|
{
|
||||||
|
if (!is_sheetmask())
|
||||||
|
rect = r;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
r = rect;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -208,15 +208,22 @@ void TPrintwin::paint_row(long j)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
set_font(printer().fontname(), XVT_FS_NONE, _char_size);
|
set_font(printer().fontname(), XVT_FS_NONE, _char_size);
|
||||||
TString s(_txt.line(j));
|
|
||||||
#if XVT_OS == XVT_OS_WIN || XVT_OS == XVT_OS_NT
|
#if XVT_OS == XVT_OS_WIN || XVT_OS == XVT_OS_NT
|
||||||
if ((j % _realformlen) == 0 && (j != 0)) // Questo e' il patch per TTY.DRV.
|
// Questa e' la patch per TTY.DRV.
|
||||||
s.insert("\n"); // Quando uscira' un nuovo driver, si dovra' controllare
|
if (j > 0 && (j % _realformlen) == 0)
|
||||||
#endif // se esiste ancora questo piccolo bigol.
|
{
|
||||||
xvt_dwin_draw_text(win(), 0, y, (char*)(const char*)s, -1);
|
TString s(512);
|
||||||
|
s << "\015" << _txt.line(j-1) << '\n';
|
||||||
|
s << _txt.line(j);
|
||||||
|
xvt_dwin_draw_text(win(), 0, y, (char*)(const char*)s, -1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
xvt_dwin_draw_text(win(), 0, y, (char*)(const char*)_txt.line(j), -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user