GridCtrl: Added SetAny and SetIndicator, added displaying text for indicator

git-svn-id: svn://ultimatepp.org/upp/trunk@5617 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
unodgs 2012-12-02 15:45:33 +00:00
commit 6015a00ab8
3 changed files with 40 additions and 7 deletions

View file

@ -2748,11 +2748,21 @@ void GridCtrl::Set(const Vector<Value> &v, int data_offset /* = 0*/, int column_
Set(r, v, data_offset, column_offset);
}
void GridCtrl::SetAny(int r, int c, const Value &val)
{
Set0(r, c, val);
}
void GridCtrl::SetRaw(int r, int c, const Value &val)
{
items[r][c].val = val;
}
void GridCtrl::SetIndicator(int r, const Value &val)
{
Set0(r, 0, val);
}
void GridCtrl::SetCtrl(int r, int c, Ctrl& ctrl)
{
r += fixed_rows;