16c01cc2586322e840e8412ed962ab3e11a87148
2 * winstuff.h: Windows-specific inter-module stuff.
6 * Global variables. Most modules declare these `extern', but
7 * window.c will do `#define PUTTY_DO_GLOBALS' before including this
8 * module, and so will get them properly defined.
10 #ifdef PUTTY_DO_GLOBALS
16 GLOBAL HINSTANCE hinst
;
19 * Exports from winctrls.c.
32 void ctlposinit(struct ctlpos
*cp
, HWND hwnd
,
33 int leftborder
, int rightborder
, int topborder
);
34 void doctl(struct ctlpos
*cp
, RECT r
,
35 char *wclass
, int wstyle
, int exstyle
, char *wtext
, int wid
);
36 void bartitle(struct ctlpos
*cp
, char *name
, int id
);
37 void beginbox(struct ctlpos
*cp
, char *name
, int idbox
);
38 void endbox(struct ctlpos
*cp
);
39 void multiedit(struct ctlpos
*cp
, ...);
40 void radioline(struct ctlpos
*cp
, char *text
, int id
, int nacross
, ...);
41 void bareradioline(struct ctlpos
*cp
, int nacross
, ...);
42 void radiobig(struct ctlpos
*cp
, char *text
, int id
, ...);
43 void checkbox(struct ctlpos
*cp
, char *text
, int id
);
44 void statictext(struct ctlpos
*cp
, char *text
, int id
);
45 void staticbtn(struct ctlpos
*cp
, char *stext
, int sid
,
46 char *btext
, int bid
);
47 void staticedit(struct ctlpos
*cp
, char *stext
,
48 int sid
, int eid
, int percentedit
);
49 void dropdownlist(struct ctlpos
*cp
, char *text
, int staticid
, int listid
);
50 void staticpassedit(struct ctlpos
*cp
, char *stext
,
51 int sid
, int eid
, int percentedit
);
52 void bigeditctrl(struct ctlpos
*cp
, char *stext
,
53 int sid
, int eid
, int lines
);
54 void ersatztab(struct ctlpos
*cp
, char *stext
, int sid
, int lid
, int s2id
);
55 void editbutton(struct ctlpos
*cp
, char *stext
, int sid
,
56 int eid
, char *btext
, int bid
);
57 void sesssaver(struct ctlpos
*cp
, char *text
,
58 int staticid
, int editid
, int listid
, ...);
59 void envsetter(struct ctlpos
*cp
, char *stext
, int sid
,
60 char *e1stext
, int e1sid
, int e1id
,
61 char *e2stext
, int e2sid
, int e2id
,
62 int listid
, char *b1text
, int b1id
, char *b2text
, int b2id
);
63 void charclass(struct ctlpos
*cp
, char *stext
, int sid
, int listid
,
64 char *btext
, int bid
, int eid
, char *s2text
, int s2id
);
65 void colouredit(struct ctlpos
*cp
, char *stext
, int sid
, int listid
,
66 char *btext
, int bid
, ...);
67 void progressbar(struct ctlpos
*cp
, int id
);
68 void fwdsetter(struct ctlpos
*cp
, int listid
, char *stext
, int sid
,
69 char *e1stext
, int e1sid
, int e1id
,
70 char *e2stext
, int e2sid
, int e2id
,
71 char *btext
, int bid
);