Exemplo n.º 1
0
void Element::readSerializedElement(ObjectInputStream& in) throw (InputStreamException)
{
	XOJ_CHECK_TYPE(Element);

	in.readObject("Element");

	this->x = in.readDouble();
	this->y = in.readDouble();
	this->color = in.readInt();

	in.endObject();
}
Exemplo n.º 2
0
void DObject::readObject (ObjectInputStream& in)
{
    oid = int32(in.readInt());
}