-
Notifications
You must be signed in to change notification settings - Fork 1
/
Application.h
39 lines (34 loc) · 1.67 KB
/
Application.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*------------------------------------------------------------------------------
-- FILE: Application.h
-- PROGRAM: Dean and the Rockets' Wireless Protocol Testing and Evaluation
-- DATE: Dec 03, 2010
-- DESIGNER: Dean Morin, Ian Lee, Daniel Wright, Marcel Vangrootheest
------------------------------------------------------------------------------*/
#ifndef APPLICATION_H
#define APPLICATION_H
#include "osi.h"
#include "WndExtra.h"
#include <tchar.h>
#include "Debug.h"
//#pragma warning(disable:4996)
/*--------------------------------Macros--------------------------------------*/
static const COLORREF TXT_COLOURS[16] = {RGB(0,0,0), RGB(128,0,0),
RGB(0,128,0), RGB(128,128,0),
RGB(0,0,128), RGB(128,0,128),
RGB(0,128,128), RGB(192,192,192),
RGB(128,128,128), RGB(255,0,0),
RGB(0,255,0), RGB(255,255,0),
RGB(0,0,255), RGB(255,0,255),
RGB(0,255,255), RGB(255,255,255)};
#define TIME_LENGTH 5
/*---------------------------Function Prototypes------------------------------*/
VOID InitTerminal(HWND hWnd);
VOID MakeColumns(HWND hWnd);
VOID Paint(HWND hWnd);
VOID PerformMenuAction(HWND hWnd, WPARAM wParam);
VOID PrintStats(HWND hWnd);
VOID SetBell(HWND hWnd, INT iSelected);
BOOL CALLBACK Stats (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
VOID UpdateStats(HWND hWnd);
VOID UpdateStatStruct(HWND hWnd, WPARAM stat, LPARAM attribute);
#endif