Exemplo n.º 1
0
bool c4_SliceViewer::SetItem(int row_, int col_, const c4_Bytes& buf_)
{
  row_ = _first + _step * (_step > 0 ? row_ : row_ - GetSize() + 1);

  _parent.SetItem(row_, col_, buf_);
  return true;
}
bool c4_RemapWithViewer::SetItem(int row_, int col_, const c4_Bytes &buf_) {
  const c4_Property &map = _argView.NthProperty(0);
  d4_assert(map.Type() == 'I');

  row_ = ((const c4_IntProp &)map)(_argView[row_]);

  _parent.SetItem(row_, col_, buf_);
  return true;
}
Exemplo n.º 3
0
bool c4_RenameViewer::SetItem(int row_, int col_, const c4_Bytes& buf_)
{
  _parent.SetItem(row_, col_, buf_);
  return true;
}