#include "stdafx.h"
#include "test2.h"

#include <windows.h>
#include <stdio.h>

#include "GraphTX\TX_SuperWindow.h"



WPARAM APIENTRY _tWinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst, LPSTR lpszCmdLine, int nCmdShow)
{
	//---- Sample of sinus	
	#define NUM 1000.0
	
	//float *mas = NULL;
	float *mas = new float[int(NUM)];
 
	for (int i = 0; i<NUM; i++)
		mas[i] =  sin(PI * float(i/(NUM/10)));
	//==== Sample of sinus	
	
	//---- TX Super Window
	txSuperWindow *win = new txSuperWindow();
	win->Go(mas, int(NUM) );

	return 0;
};


