*** empty log message ***

git-svn-id: svn://10.65.10.50/trunk@18 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1994-08-17 09:15:44 +00:00
parent 65d9f0ec14
commit 3f5ce20380
5 changed files with 4219 additions and 4002 deletions

View File

@ -77,25 +77,30 @@ class TSpreadsheet:public TWindow
{ {
return _mask; return _mask;
} }
int items () const int items () const
{ {
return _str.items (); return _str.items ();
} }
int columns () const int columns () const
{ {
return _columns; return _columns;
} }
bool dirty () const bool dirty () const
{ {
return _dirty; return _dirty;
} }
void set_notify (SPREADSHEET_NOTIFY n) void set_notify (SPREADSHEET_NOTIFY n)
{ {
_notify = n; _notify = n;
} }
void set_dirty (bool spork = TRUE) void set_dirty (bool spork = TRUE)
{_dirty = spork; {
_dirty = spork;
} }
TSpreadsheet (short x, short y, short dx, short dy, const char *maskname, int maskno, TSpreadsheet (short x, short y, short dx, short dy, const char *maskname, int maskno,
@ -209,7 +214,8 @@ TSpreadsheet ::TSpreadsheet (short x, short y, short dx, short dy,
{ {
const int cid = FIRST_FIELD + i; // Column & Field ID const int cid = FIRST_FIELD + i; // Column & Field ID
const TMask_field * f = field (cid); // Field on mask const TMask_field * f = field (cid); // Field on mask
const int w = width[i] + (f->has_query ()? 2 : 0); // Column width const int w = width[i] + (f->has_query ()? 2 : 0); // Column
// width
long flags = XI_ATR_EDITMENU | XI_ATR_AUTOSCROLL; long flags = XI_ATR_EDITMENU | XI_ATR_AUTOSCROLL;
if (f->class_id () == CLASS_REAL_FIELD) flags |= XI_ATR_RJUST; if (f->class_id () == CLASS_REAL_FIELD) flags |= XI_ATR_RJUST;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff