-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitty_image.h
27 lines (22 loc) · 871 Bytes
/
kitty_image.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
#ifdef IMAGEPORT
extern HDC textdc;
extern HBITMAP textbm;
extern HBITMAP backgroundbm;
extern HDC backgroundblenddc;
extern HBITMAP backgroundblendbm;
extern COLORREF colorinpixel;
extern HDC colorinpixeldc;
extern HBITMAP colorinpixelbm;
extern HDC backgrounddc;
extern BOOL bBgRelToTerm;
extern int resizing;
extern RECT size_before;
void color_blend(HDC destDc, int x, int y, int width, int height, COLORREF alphacolor, int opacity) ;
void paint_term_edges(HDC hdc, LONG paint_left, LONG paint_top, LONG paint_right, LONG paint_bottom) ;
void init_dc_blend(void);
void MakeScreenShot();
int screenCapturePart(int x, int y, int w, int h, LPCSTR fname,int quality) ;
int screenCaptureClientRect( HWND hwnd, LPCSTR fname, int quality ) ;
int screenCaptureWinRect( HWND hwnd, LPCSTR fname, int quality ) ;
int screenCaptureAll( LPCSTR fname, int quality ) ;
#endif