*** empty log message ***
git-svn-id: svn://10.65.10.50/trunk@18 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
65d9f0ec14
commit
3f5ce20380
@ -77,25 +77,30 @@ class TSpreadsheet:public TWindow
|
||||
{
|
||||
return _mask;
|
||||
}
|
||||
|
||||
int items () const
|
||||
{
|
||||
return _str.items ();
|
||||
}
|
||||
|
||||
int columns () const
|
||||
{
|
||||
return _columns;
|
||||
}
|
||||
|
||||
bool dirty () const
|
||||
{
|
||||
return _dirty;
|
||||
}
|
||||
|
||||
void set_notify (SPREADSHEET_NOTIFY n)
|
||||
{
|
||||
_notify = n;
|
||||
}
|
||||
|
||||
void set_dirty (bool spork = TRUE)
|
||||
{_dirty = spork;
|
||||
{
|
||||
_dirty = spork;
|
||||
}
|
||||
|
||||
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 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;
|
||||
if (f->class_id () == CLASS_REAL_FIELD) flags |= XI_ATR_RJUST;
|
||||
|
1158
include/printer.cpp
1158
include/printer.cpp
File diff suppressed because it is too large
Load Diff
821
include/real.cpp
821
include/real.cpp
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user