
unit NumberBox
{
	link memory linka {} = #.linker.linka;
	
	//[i] linksysconst_uint8 ID;
	public const uint8 ID = 0;
	
	//[i] var_int32 X;
	public linka int32 X = #addr ID * 0x0100 + 0x01;
	//[i] var_int32 Y;
	public linka int32 Y = #addr ID * 0x0100 + 0x02;
	//[i] var_int32 Width;
	public linka int32 Width = #addr ID * 0x0100 + 0x03;
	//[i] var_int32 Height;
	public linka int32 Height = #addr ID * 0x0100 + 0x04;
	
	//[i] var_int32 OS_RolX;
	public linka int32 OS_RolX = #addr ID * 0x0100 + 0x09;
	//[i] var_int32 OS_RolY;
	public linka int32 OS_RolY = #addr ID * 0x0100 + 0x0A;

	//[i] var_int32 Scale;
	public linka int32 Scale = #addr ID * 0x0100 + 0x20;
	//[i] var_int32 Angle;
	public linka int32 Angle = #addr ID * 0x0100 + 0x21;
	
	//---------------------------------------------------
	//[i] function_void OS_init;
	void OS_init()
	{
		//...
	}
}








