Patch level : 10.0 gamma

Files correlati     : ba2.exe
Ricompilazione Demo : [ ]
Commento            :
Eliminato simbolo obsoleto BASEY


git-svn-id: svn://10.65.10.50/trunk@19690 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2009-12-01 10:45:49 +00:00
parent c9bd17945a
commit ddf58865d2

View File

@ -55,7 +55,7 @@ RCT& TEditMask_window::resize_rect(short x, short y, short dx, short dy,
r.left = (x+1)*CHARX;
r.top = y*ROWY;
r.right = dx*CHARX;
r.bottom = (CHARY << 1) - BASEY;
r.bottom = (CHARY << 1) - (CHARY-2);
if (y >= 0 && _tool && intool)
r.top += ROWY*_y_tool;
@ -630,7 +630,7 @@ void TEditMask_string::update()const
int lenght=prompt_len()*CHARX;
int off=_offset*CHARX;
RCT ret={r.top,r.left+lenght+off,r.bottom-BASEY/8,r.right};
RCT ret={r.top,r.left+lenght+off,r.bottom-(CHARY-2)/8,r.right};
padre().set_pen(COLOR_BLACK);
if(flag_crt()==2) padre().set_brush(MASK_BACK_COLOR);
@ -1072,7 +1072,7 @@ void TEditMask_boolean::update()const
{
RCT r=rectangle();
int lato=(r.bottom - r.top)/2;
r.bottom=r.top+BASEY;
r.bottom=r.top+(CHARY-2);
int top = r.top;
r.top = r.bottom - lato;
@ -1267,7 +1267,7 @@ void TEditMask_button::type_button(const TString& id,const TString& pr)
void TEditMask_button::update()const
{
RCT rt=rectangle();
RCT r={rt.top,rt.left,rt.bottom-BASEY/2,rt.right};
RCT r={rt.top,rt.left,rt.bottom-(CHARY-2)/2,rt.right};
int lenght=prompt_len()*CHARX;
int latol=(r.right-r.left);
int posfx=(latol-lenght)/2;
@ -1509,7 +1509,7 @@ void TEditMask_list::image()const
void TEditMask_list::update()const
{
RCT r=rectangle();
r.bottom=r.bottom-BASEY/8;
r.bottom=r.bottom-(CHARY-2)/8;
int lato=(r.bottom-r.top);
RCT rt={r.top, r.right-lato,r.bottom,r.right};