mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
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:
parent
c6d8dbcf51
commit
6015a00ab8
3 changed files with 40 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue