Patch level : 10.0 gamma
Files correlati : ba0.exe ba0100a.msk Ricompilazione Demo : [ ] Commento : Gestione terminalini git-svn-id: svn://10.65.10.50/trunk@19689 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3280d61832
commit
c9bd17945a
@ -236,7 +236,17 @@ class TColor_mask : public TAutomask
|
||||
TColor_mask* _owner;
|
||||
protected:
|
||||
COLOR get_color_entry(const char* name) const;
|
||||
virtual void update();
|
||||
virtual void update();
|
||||
virtual PNT log2dev(long x, long y) const { PNT p = { short(ROWY*y), short(CHARX*x) }; return p; }
|
||||
virtual void log2dev(const TRectangle& rctl, RCT& r) const
|
||||
{
|
||||
r.left = short(rctl.x*CHARX);
|
||||
r.top = short(rctl.y*ROWY);
|
||||
r.right = short(r.left + rctl.width()*CHARX);
|
||||
r.bottom = short(r.top + rctl.height()*ROWY);
|
||||
if (rctl.height() > 0)
|
||||
r.bottom -= ROWY-CHARY;
|
||||
}
|
||||
public:
|
||||
TPreview_panel(short x, short y, short dx, short dy, TColor_mask* owner);
|
||||
} *_preview;
|
||||
@ -326,27 +336,27 @@ void TColor_mask::TPreview_panel::update()
|
||||
|
||||
set_pen(p = get_color_entry("Normal")); // Stesso inchiostro del normale
|
||||
set_brush(b = get_color_entry("RequiredBack"));
|
||||
frame(x+3, y+3, x+w-3, y+4, 0);
|
||||
frame(x+3, y+2, x+w-3, y+3, 0);
|
||||
set_color(p, b);
|
||||
stringat(x+4, y+3, "Campo obbligatorio");
|
||||
stringat(x+4, y+2, "Campo obbligatorio");
|
||||
|
||||
set_pen(p = get_color_entry("Focus"));
|
||||
set_brush(b = get_color_entry("FocusBack"));
|
||||
frame(x+3, y+5, x+w-3, y+6, 0);
|
||||
frame(x+3, y+3, x+w-3, y+4, 0);
|
||||
set_color(p, b);
|
||||
stringat(x+4, y+5, "Campo attivo");
|
||||
stringat(x+4, y+3, "Campo attivo");
|
||||
|
||||
set_pen(p = get_color_entry("Disabled"));
|
||||
set_brush(b = get_color_entry("DisabledBack"));
|
||||
frame(x+3, y+7, x+w-3, y+8, 0);
|
||||
frame(x+3, y+4, x+w-3, y+5, 0);
|
||||
set_color(p, b);
|
||||
stringat(x+4, y+7, "Campo disabilitato");
|
||||
stringat(x+4, y+4, "Campo disabilitato");
|
||||
|
||||
set_pen(p = get_color_entry("ButtonLight"));
|
||||
set_brush(b = get_color_entry("ButtonBack"));
|
||||
frame(x+3, y+9, x+w-3, y+10, 0);
|
||||
frame(x+3, y+5, x+w-3, y+6, 0);
|
||||
set_color(get_color_entry("Normal"), b);
|
||||
stringat(x+4, y+9, "Bottone normale");
|
||||
stringat(x+4, y+5, "Bottone normale");
|
||||
}
|
||||
|
||||
void TColor_mask::TPreview_icons::update()
|
||||
|
@ -16,7 +16,7 @@ END
|
||||
|
||||
STRING F_PASSWORD 64 16
|
||||
BEGIN
|
||||
PROMPT 1 3 "Password "
|
||||
PROMPT 1 2 "Password "
|
||||
FLAGS "*"
|
||||
END
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user