Aggiunti i metodi (non implementati) per il set_rectangle

git-svn-id: svn://10.65.10.50/trunk@4297 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
augusto 1997-04-29 08:25:18 +00:00
parent bdd6fcc3a3
commit dddad91422
2 changed files with 10 additions and 0 deletions

View File

@ -1173,6 +1173,11 @@ void TField_control::show_button(bool on)
}
}
void TField_control::set_rect(const RCT& r)
{
_obj->v.field->rct = r;
}
bool TField_control::event_handler(XI_OBJ* itf, XI_EVENT* xiev)
{
if (in_create)

View File

@ -151,10 +151,15 @@ public:
// @cmember Forza il focus al controllo
virtual void set_focus() const;
// @cmember Ridimensiona il rettangolo su video
virtual void set_rect(const RCT& r);
// @cmember Costruttore
TField_control(WINDOW win, short cid,
short left, short top,
short width, short maxlen,
const char* flags, const char* text);
// @cmember Distruttore
virtual ~TField_control() {}
};