Patch level : 10.0

Files correlati     : ba8
Ricompilazione Demo : [ ]
Commento            :
Corretto riposizionamento dinamico alberi


git-svn-id: svn://10.65.10.50/trunk@16083 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2008-02-01 16:38:43 +00:00
parent cc70a2d1c7
commit 5dd564822e
2 changed files with 8 additions and 4 deletions

View File

@ -1002,8 +1002,12 @@ void TControl::set_rect(const RCT& r)
{
xi_set_rect(_obj, (XinRect*)&r, false);
if (xi_get_native_controls(_obj)) // Dovevano pensarci quelli di XI, ma sono morti!
xvt_vobj_move((WINDOW)_obj->v.btn->btnctl, &r);
if ( _obj->type == XIT_BTN )
{
// Dovevano pensarci quelli di XI, ma sono morti!
if (xi_get_native_controls(_obj))
xvt_vobj_move((WINDOW)_obj->v.btn->btnctl, &r);
}
}
unsigned long TControl::flags2attr(const char* flags) const

View File

@ -11,7 +11,8 @@
typedef bool (*VAL_FUNC)(TMask_field&, KEY k);
HIDDEN const TArray* _parms;
HIDDEN int get_val_param_count() { return _parms->items(); }
HIDDEN int get_val_param_count()
{ return _parms->items(); }
HIDDEN const char* get_val_param(int i)
{ return i >= 0 && i < _parms->items() ? (const char*)((const TString&)(*_parms)[i]) : ""; }
@ -63,7 +64,6 @@ HIDDEN bool _expr_val(TMask_field& f, KEY)
return bool(e);
}
HIDDEN bool _emptycopy_val(TMask_field& f, KEY)
{
if (f.empty())