Aggiunto salvataggio dimensioni font e interlinea su prassi.ini
Eliminato size 7 perche' creava scrosci di adrenalina alla Patrizia git-svn-id: svn://10.65.10.50/trunk@870 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
0a93dba34d
commit
8b2cb80657
@ -56,7 +56,7 @@ END
|
|||||||
LIST MSK_1_SIZE 3
|
LIST MSK_1_SIZE 3
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 31 6 "Carattere "
|
PROMPT 31 6 "Carattere "
|
||||||
ITEM "7|7"
|
// ITEM "7|7"
|
||||||
ITEM "8|8"
|
ITEM "8|8"
|
||||||
ITEM "10|10"
|
ITEM "10|10"
|
||||||
ITEM "12|12"
|
ITEM "12|12"
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include <urldefid.h>
|
#include <urldefid.h>
|
||||||
#include <utility.h>
|
#include <utility.h>
|
||||||
#include <viswin.h>
|
#include <viswin.h>
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <bagn001a.h>
|
#include <bagn001a.h>
|
||||||
|
|
||||||
@ -695,7 +696,12 @@ TPrinter::TPrinter()
|
|||||||
_curprn = i;
|
_curprn = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TConfig cnf (CONFIG_GENERAL, "Stampa");
|
||||||
|
|
||||||
|
_ch_size = atoi(cnf.get("Size",NULL,-1,"X"));
|
||||||
|
_lines_per_inch = atoi(cnf.get("Lines",NULL,-1,"X"));
|
||||||
|
|
||||||
#else
|
#else
|
||||||
_isgraphics = FALSE;
|
_isgraphics = FALSE;
|
||||||
@ -1327,7 +1333,10 @@ void TPrinter::set()
|
|||||||
if (k == K_INS)
|
if (k == K_INS)
|
||||||
{
|
{
|
||||||
// tutto resta com'e'
|
// tutto resta com'e'
|
||||||
mask.save ();
|
mask.save ();
|
||||||
|
TConfig cnf (CONFIG_GENERAL, "Stampa");
|
||||||
|
cnf.set("Size", mask.get(MSK_1_SIZE));
|
||||||
|
cnf.set("Lines",mask.get(MSK_1_LINES));
|
||||||
}
|
}
|
||||||
if (k == K_ESC || k == K_ENTER)
|
if (k == K_ESC || k == K_ENTER)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user