Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
BitchX
GitHub Repository: BitchX/BitchX1.3
Path: blob/master/include/PMbitchx.h
1069 views
1
2
/* PM specific stuff */
3
#ifndef PM_BitchX_h
4
#define PM_BitchX_h
5
6
#define FONTDIALOG 256
7
8
#define LB_FONTLIST 101
9
#define CB_DEFAULT 102
10
#define CB_CHANGEFORALL 103
11
12
#define IDM_LOGO 355
13
#define IDM_MAINMENU 356
14
15
/* Properties book */
16
#define PROPNBK 357
17
#define ID_PROP 359
18
#define PB_DISMISS 360
19
#define NBKP_SETS1 362
20
#define SPB_SETS 363
21
#define SETS1 364
22
#define EF_ENTRY1 365
23
#define CB_ONOFF1 366
24
#define NBKP_OSSETTINGS 367
25
#define NBKP_SETS2 368
26
#define SETS2 369
27
#define EF_ENTRY2 370
28
#define CB_ONOFF2 371
29
#define NBKP_SETS3 372
30
#define SETS3 373
31
#define EF_ENTRY3 374
32
#define CB_ONOFF3 375
33
#define NBKP_SETS4 376
34
#define SETS4 377
35
#define EF_ENTRY4 378
36
#define CB_ONOFF4 379
37
#define CB_LFN 380
38
#define CB_SOUND 381
39
40
void pm_resize(Screen *this_screen);
41
void pm_clrscr(Screen *tmp);
42
void load_default_font(Screen *font_screen);
43
44
void pm_new_window(Screen *new, Window *win);
45
void pm_seticon(Screen *screen);
46
void wm_process(int param);
47
48
MRESULT EXPENTRY GenericWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
49
MRESULT EXPENTRY FrameWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
50
51
MenuStruct *findmenu(char *menuname);
52
53
#define QWP_USER 0
54
55
/* Not sure how to decide this */
56
#define MMPM 1
57
58
#endif
59
60