Exemplo n.º 1
0
void SG_TextArea::RangerChanged() {
  for (int tx = 0; tx < int(texture.size()); ++tx) {
    //    texture[tx].SetTextVisibleSize(YSpan(), XSpan());
    // FIXME: Need to tranmit these changes somehow!

    texture[tx].SetTextPosition(YValue(), XValue());
  }
}
Exemplo n.º 2
0
XArchiver& XArchiver::binary(char* const bin, std::size_t const& len)
{
	if(decode_now_){
		if(!bin){
			CINAMO_EXCEPTION(Exception, "[BUG] Oops. Binary Area is not allocated.");
		}
		XBinary const& b(array_->get<XBinary>(this->array_index_++));
		if(len != b.size()){
			CINAMO_EXCEPTION(Exception, "[BUG] Binary size does not match. requested: %d archived: %d", len, b.size());
		}
		std::copy(b.begin(), b.end(), bin);
	}else{
		array_->append( XValue(bin, len) );
	}
	return *this;
}
Exemplo n.º 3
0
XValue WorldObject::saveImpl(const Handler<Heap>& heap)
{
	//XXX
	return XValue();
}
Exemplo n.º 4
0
/******************************************************************************
 * default implementation
 ******************************************************************************/
XValue Provider::saveImpl() {
	return XValue();
}
Exemplo n.º 5
0
double QxrdIntegrator::XValue(QPointF pt) const
{
  return XValue(pt.x(), pt.y());
}