-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPresentation.h
More file actions
37 lines (32 loc) · 1.43 KB
/
Presentation.h
File metadata and controls
37 lines (32 loc) · 1.43 KB
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
/*------------------------------------------------------------------------------
-- FILE: Presentation.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 PRESENTATION_H
#define PRESENTATION_H
#include <stdio.h>
#include "WndExtra.h"
#pragma warning(disable:4996)
/*--------------------------------Macros--------------------------------------*/
#define TAB_LENGTH 8
#define CLR_UP -1
#define CLR_DOWN 1
#define CLR_LEFT -1
#define CLR_RIGHT 1
/*---------------------------Function Prototypes------------------------------*/
VOID ClearLine(HWND hWnd, UINT cxCoord, UINT cyCoord, INT iDirection);
VOID ClearScreen(HWND hWnd, UINT cxCoord, UINT cyCoord, INT iDirection);
VOID DisplayFrameInfo(HWND hWnd, FRAME frame);
VOID EchoTag(HWND hWnd, CHAR* pcToken, DWORD dwTokenLength, CHAR* pcData,
DWORD dwDataLength);
VOID FormFeed(HWND hWnd);
VOID HorizontalTab(HWND hWnd);
VOID MoveCursor(HWND hWnd, INT cxCoord, INT cyCoord, BOOL bScroll);
VOID ProcessPacket(HWND hWnd, CHAR* pcPacket, DWORD dwLength);
VOID ScrollDown(HWND hWnd);
VOID ScrollUp(HWND hWnd);
VOID SetScrollRegion(HWND hWnd, INT cyTop, INT cyBottom);
VOID UpdateDisplayBuf(HWND hWnd, CHAR cCharacter);
#endif