-
-
Notifications
You must be signed in to change notification settings - Fork 140
/
Copy pathkitty_image.h
32 lines (24 loc) · 992 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
28
29
30
31
32
#ifdef MOD_BACKGROUNDIMAGE
#include <stdbool.h>
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 bool 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(Terminal *term, HDC hdc, LONG paint_left, LONG paint_top, LONG paint_right, LONG paint_bottom) ;
void init_dc_blend(void);
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
void MakeScreenShot();
int screenCaptureClientRect( HWND hwnd, LPCSTR fname, int quality ) ;