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
,
36 char *wtext
, int wid
);
37 void bartitle(struct ctlpos
*cp
, char *name
, int id
);
38 void beginbox(struct ctlpos
*cp
, char *name
, int idbox
);
39 void endbox(struct ctlpos
*cp
);
40 void multiedit(struct ctlpos
*cp
, ...);
41 void radioline(struct ctlpos
*cp
,
42 char *text
, int id
, int nacross
, ...);
43 void radiobig(struct ctlpos
*cp
, char *text
, int id
, ...);
44 void checkbox(struct ctlpos
*cp
, char *text
, int id
);
45 void statictext(struct ctlpos
*cp
, char *text
, int id
);
46 void staticbtn(struct ctlpos
*cp
, char *stext
, int sid
,
47 char *btext
, int bid
);
48 void staticedit(struct ctlpos
*cp
, char *stext
,
49 int sid
, int eid
, int percentedit
);
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
,
56 void editbutton(struct ctlpos
*cp
, char *stext
, int sid
,
57 int eid
, char *btext
, int bid
);
58 void sesssaver(struct ctlpos
*cp
, char *text
,
59 int staticid
, int editid
, int listid
, ...);
60 void envsetter(struct ctlpos
*cp
, char *stext
, int sid
,
61 char *e1stext
, int e1sid
, int e1id
,
62 char *e2stext
, int e2sid
, int e2id
,
64 char *b1text
, int b1id
, char *b2text
, int b2id
);
65 void charclass(struct ctlpos
*cp
, char *stext
, int sid
, int listid
,
66 char *btext
, int bid
, int eid
, char *s2text
, int s2id
);
67 void colouredit(struct ctlpos
*cp
, char *stext
, int sid
, int listid
,
68 char *btext
, int bid
, ...);
69 void progressbar(struct ctlpos
*cp
, int id
);