-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwinpriv.h
58 lines (37 loc) · 1.13 KB
/
winpriv.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef WINPRIV_H
#define WINPRIV_H
#include "win.h"
#include "winids.h"
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <imm.h>
extern HINSTANCE inst; // The all-important instance handle
extern HWND wnd; // the main terminal window
extern HIMC imc; // the input method context
extern HWND config_wnd; // the options window
extern COLORREF colours[COLOUR_NUM];
extern LOGFONT lfont;
extern int font_width, font_height;
enum { PADDING = 1 };
void win_paint(void);
void win_init_fonts(int size);
void win_adapt_term_size(void);
void win_open_config(void);
void win_show_tip(int x, int y, int cols, int rows);
void win_destroy_tip(void);
void win_init_menus(void);
void win_update_menus(void);
void win_show_mouse(void);
void win_mouse_click(mouse_button, LPARAM);
void win_mouse_release(mouse_button, LPARAM);
void win_mouse_wheel(WPARAM, LPARAM);
void win_mouse_move(bool nc, LPARAM);
bool win_key_down(WPARAM, LPARAM);
bool win_key_up(WPARAM, LPARAM);
void win_init_drop_target(void);
void win_copy_title(void);
void win_switch(bool back);
void win_set_ime_open(bool);
bool win_is_fullscreen;
#endif