diff --git a/include/form.h b/include/form.h index 605d53e22..ff0882f5a 100755 --- a/include/form.h +++ b/include/form.h @@ -43,9 +43,9 @@ class TForm : public TObject friend class TForm_editor; friend class TPrint_section; - TString16 _name; // Profile name - TString16 _code; // Profile code - TString80 _fontname; // Font name + TString _name; // Profile name + TString _code; // Profile code + TString _fontname; // Font name int _fontsize; // Font size int _x, _y; // Offset validi per tutte le sezioni char _char_to_pos; // Carattere utilizzato per il posizionamento dei moduli @@ -143,7 +143,7 @@ public: TForm_item& find_field(char sec, pagetype pag, short id) const; int& offset_x() { return _x; } int& offset_y() { return _y; } - TString80& fontname() { return _fontname; } + TString& fontname() { return _fontname; } int& fontsize() { return _fontsize; } char& char_to_pos(){ return _char_to_pos; } int& ipx() { return _ipx; } @@ -317,9 +317,11 @@ public: virtual int height() const { return _height; } virtual short& ofs() { return _ofs; } virtual int effective_height() const { return _effective_height; } + virtual short& x() { return _x; }; virtual short x() const; virtual short& y() { return _y; } + virtual short y() const { return _y; } bool shown() const { return _flag.shown; } bool hidden() const { return !_flag.shown; }