home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. CD ROM (Annual Premium Edition)
/
premium.zip
/
premium
/
IBMOS2_2
/
ACLOCK2.ZIP
/
clock2.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-08-14
|
835b
|
50 lines
/*--------------------
CLOCK.H header file
--------------------*/
#define ID_CLOCK 1
#define ID_BITMAP 2
#define IDM_OPTIONS 100
#define IDM_BCOLOR 101
#define IDM_FCOLOR 102
#define IDM_ALARMS 200
#define IDM_ALARM_ON 201
#define IDM_ALARM_OFF 202
#define IDM_ALARM_SET 203
#include "clokdlg.h"
#define IDM_STOP 999
typedef struct
{
SHORT cxClient;
SHORT cyClient;
SHORT cxPixelDiam;
SHORT cyPixelDiam;
}
WINDOWINFO;
typedef struct
{
unsigned hours : 5;
unsigned mins : 6;
unsigned secs : 5;
}
TIMEINFO;
typedef WINDOWINFO *PWINDOWINFO ;
typedef struct _INITDATA
{
COLOR background;
COLOR text_color;
SWP wp;
char on_off;
TIMEINFO alarm_time;
}
INITDATA;