forked from notsecure/uTox
-
Notifications
You must be signed in to change notification settings - Fork 1
/
svg.h
55 lines (39 loc) · 1.38 KB
/
svg.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
#define BM_SCROLLHALF_WIDTH SCROLL_WIDTH
#define BM_SCROLLHALF_HEIGHT (SCROLL_WIDTH / 2)
#define BM_STATUSAREA_WIDTH (10 * SCALE)
#define BM_STATUSAREA_HEIGHT (20 * SCALE)
#define _BM_ADD_WIDTH 9
#define BM_ADD_WIDTH (9 * SCALE)
#define BM_STATUS_WIDTH (5 * SCALE)
#define BM_STATUS_NOTIFY_WIDTH (7 * SCALE)
#define BM_NMSG_WIDTH (9 * SCALE)
#define BM_LBUTTON_WIDTH (26 * SCALE)
#define BM_LBUTTON_HEIGHT (20 * SCALE)
#define BM_SBUTTON_WIDTH (26 * SCALE)
#define BM_SBUTTON_HEIGHT (10 * SCALE)
#define BM_FT_WIDTH (125 * SCALE)
#define BM_FT_HEIGHT (26 * SCALE)
#define BM_FTM_WIDTH (113 * SCALE)
#define BM_FTB_WIDTH (11 * SCALE)
#define BM_FTB_HEIGHT (12 * SCALE)
#define BM_CONTACT_WIDTH (20 * SCALE)
#define _BM_LBICON_WIDTH 11
#define BM_LBICON_WIDTH (11 * SCALE)
#define _BM_LBICON_HEIGHT 10
#define BM_LBICON_HEIGHT (10 * SCALE)
#define BM_FB_WIDTH (6 * SCALE)
#define BM_FB_HEIGHT (5 * SCALE)
/* Chat button placements */
#define BM_CHAT_BUTTON_WIDTH (15 * SCALE)
#define BM_CHAT_BUTTON_HEIGHT (15 * SCALE)
#define BM_CHAT_SEND_WIDTH (32 * SCALE)
#define BM_CHAT_SEND_HEIGHT (32 * SCALE)
#define _BM_CHAT_SEND_OVERLAY_WIDTH 20
#define BM_CHAT_SEND_OVERLAY_HEIGHT (20 * SCALE)
#define BM_CHAT_SEND_OVERLAY_WIDTH (20 * SCALE)
#define _BM_CHAT_WIDTH 10
#define BM_CHAT_WIDTH (10 * SCALE)
#define _BM_CI_WIDTH 10
#define BM_CI_WIDTH (10 * SCALE)
void *svg_data;
_Bool svg_draw(_Bool needmemory);