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:
parent
c117959193
commit
6b6d0103c5
@ -214,6 +214,9 @@ public:
|
|||||||
// @cmember Trasforma un reale in stringa (chiama <mf real::string>), ma
|
// @cmember Trasforma un reale in stringa (chiama <mf real::string>), ma
|
||||||
// ritorna il formato italiano
|
// ritorna il formato italiano
|
||||||
const char* stringa(int len = 0, int dec = UNDEFINED, char pad = ' ') const;
|
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
|
// @cmember Ritorna la stringa con il formato passato
|
||||||
const char* string(const char* picture) const;
|
const char* string(const char* picture) const;
|
||||||
// @cmember Ritorna la stringa con il formato passato
|
// @cmember Ritorna la stringa con il formato passato
|
||||||
|
@ -335,7 +335,7 @@ void TPrint_preview_window::update()
|
|||||||
for (int i = 1; lpi > 0; i++)
|
for (int i = 1; lpi > 0; i++)
|
||||||
{
|
{
|
||||||
set_pen(i%lpi ? XVT_MAKE_COLOR(232,232,255) : XVT_MAKE_COLOR(255,192,255));
|
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)
|
if (y > size.y)
|
||||||
break;
|
break;
|
||||||
line(0, y, (short)size.x, y);
|
line(0, y, (short)size.x, y);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user