Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :minima correzione per includere metodo stringe()


git-svn-id: svn://10.65.10.50/trunk@16487 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2008-04-08 15:15:22 +00:00
parent c117959193
commit 6b6d0103c5
2 changed files with 4 additions and 1 deletions

View File

@ -214,6 +214,9 @@ public:
// @cmember Trasforma un reale in stringa (chiama <mf real::string>), ma
// ritorna il formato italiano
const char* stringa(int len = 0, int dec = UNDEFINED, char pad = ' ') const;
// @cmember Trasforma un reale in stringa (chiama <mf real::string>),
//ma ritorna il formato atteso da Excel
const char* stringe(int len = 0, int dec = UNDEFINED, char pad = ' ') const;
// @cmember Ritorna la stringa con il formato passato
const char* string(const char* picture) const;
// @cmember Ritorna la stringa con il formato passato

View File

@ -335,7 +335,7 @@ void TPrint_preview_window::update()
for (int i = 1; lpi > 0; i++)
{
set_pen(i%lpi ? XVT_MAKE_COLOR(232,232,255) : XVT_MAKE_COLOR(255,192,255));
const short y = (short) i * res.y / lpi;
const short y = short(i * res.y / lpi);
if (y > size.y)
break;
line(0, y, (short)size.x, y);