
This commit changes which variables are static: the Mac (and presumably the Linux) debug data tells you what variables are static, by prefixing their names with double_underscores. The variable names themselves also hint at this: global variables are prefixed with 'g', and use upper-camelcase, while static variables use whatever_you_call_this.
24 lines
398 B
C
24 lines
398 B
C
#pragma once
|
|
|
|
#include "WindowsWrapper.h"
|
|
|
|
#define VALUEVIEW_MAX 0x10
|
|
|
|
typedef struct VALUEVIEW
|
|
{
|
|
BOOL flag;
|
|
int *px;
|
|
int *py;
|
|
int offset_y;
|
|
int value;
|
|
int count;
|
|
RECT rect;
|
|
} VALUEVIEW;
|
|
|
|
extern VALUEVIEW gVV[VALUEVIEW_MAX];
|
|
extern int gVVIndex;
|
|
|
|
void ClearValueView(void);
|
|
void SetValueView(int *px, int *py, int value);
|
|
void ActValueView(void);
|
|
void PutValueView(int flx, int fly);
|