Patch level : 10.0

Files correlati     : ba0 ba0200a.msk
Ricompilazione Demo : [ ]
Commento            :
Supporto per interlinea variabile


git-svn-id: svn://10.65.10.50/trunk@19739 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2009-12-09 11:39:36 +00:00
parent 036bd58ee3
commit 94dd8c8234
2 changed files with 32 additions and 11 deletions

View File

@ -689,8 +689,8 @@ TColor_mask::TColor_mask()
set(215, ADVANCED_GRAPHICS ? "X" : "");
set(216, color.get_int("TreeView"));
_preview = new TPreview_panel(1, 10, -1, 8, this);
_icons = new TPreview_icons(1, 10, -2, -2, this);
_preview = new TPreview_panel(1, 12, -1, -1, this);
_icons = new TPreview_icons(1, 13, -2, -1, this);
const int sz = color.get_int("ToolSize");
set(217, (sz-16)/8);
@ -699,6 +699,7 @@ TColor_mask::TColor_mask()
set(219, TOOL_TEXT ? "X" : "");
set(220, ENTER_AS_TAB ? "X" : "");
set(221, TMenuitem::always_run_fullscreen() ? "X" : "");
set(222, INTERLINE);
}
void TColor_mask::save_colors(TConfig& colors)
@ -716,6 +717,7 @@ void TColor_mask::save_colors(TConfig& colors)
colors.set("ToolText", get_bool(219) ? "X" : "");
colors.set("EnterAsTab", get_bool(220) ? "X" : "");
colors.set("RunModal", get_bool(221) ? "X" : "");
colors.set("InterLine", get_int(222));
}
void TColor_mask::save_colors()

View File

@ -1,6 +1,6 @@
PAGE "Colori" -1 -1 54 20
PAGE "Colori" -1 -1 58 20
LISTBOX 211 1 25
LISTBOX 211 1 30
BEGIN
PROMPT 1 0 "Temi predefiniti "
ITEM "0|"
@ -8,7 +8,7 @@ BEGIN
ITEM "2|Sistema"
END
PROPERTIES 212 -1 9
PROPERTIES 212 -1 10
BEGIN
PROMPT 1 1 "Colori"
ITEM "Maschera"
@ -77,10 +77,19 @@ BEGIN
FIELD AlwaysFullScreen
END
LIST 222 2 10
BEGIN
PROMPT 1 8 "Interlinea "
ITEM "-1|Automatica"
ITEM "0|Minima"
ITEM "4|Normale"
ITEM "8|Massima"
FIELD InterLine
END
RADIOBUTTON 216 1 16
BEGIN
PROMPT 36 0 "Tipo di Menu"
PROMPT 38 0 "Tipo di Menu"
ITEM "0|Classico"
MESSAGE CLEAR,221
//ITEM "1|Albero" **ATTENZIONE!!**Dalla 10.0 in avanti lasciare commentato!!!
@ -93,12 +102,12 @@ END
TEXT DLG_NULL
BEGIN
PROMPT -11 8 "Dimensione barra degli strumenti"
PROMPT -11 10 "Dimensione barra degli strumenti"
END
SLIDER 217 50 1
SLIDER 217 -1 1
BEGIN
PROMPT 1 9 "Dimensione icone"
PROMPT 1 11 "Dimensione icone"
RANGE 0 14
END
@ -117,18 +126,28 @@ BEGIN
PROMPT -26 -1 "Applica"
END
BUTTON DLG_NULL
BEGIN
PROMPT 1 1 ""
END
BUTTON DLG_NEWREC 10 2
BEGIN
PROMPT -36 -1 "Nuovo tema"
PROMPT -36 -1 "Nuovo"
PICTURE TOOL_NEWREC
END
BUTTON DLG_DELREC 10 2
BEGIN
PROMPT -46 -1 "Elimina tema"
PROMPT -46 -1 "Elimina"
PICTURE TOOL_DELREC
END
BUTTON DLG_NULL
BEGIN
PROMPT 1 1 ""
END
BUTTON DLG_USER 10 2
BEGIN
PROMPT -56 -1 "Font"