Defs.h

 #include <windows.h>
#define DEFS_H

typedef struct
{
HWND hWnd;

HWND hTBWnd;

HMENU hMenu;

HINSTANCE hInst;

char statusMessage[100];

int validSampleRangeMin;

int validSampleRangeMax;

int copiedSample1;

int copiedSample2;

int pastingSample;

bool copied;

bool zoomed;

} WaveReaderUI;


//For virtual window.////////////////////////

typedef struct
{
/*static*/ int maxX, maxY;

/*static*/ HDC memdc;

HDC hdcTemp;

/*static*/ HBITMAP hbit;

HBRUSH hbrush;

HBITMAP hBitmap;//For notifying which side is for which channel.

} VirtualWin;
//////////////////////////////////////////////

// For cursor manipulation.///////////////////
typedef struct
{
bool cursor1On;

bool cursor2On;

bool cursorChecked;

int firstCursorX;

int secondCursorX;

int firstCursorSample;

int secondCursorSample;

} CursorInfo;
//////////////////////////////////////////////

Project Homepage: