-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdrawkblib.h
34 lines (25 loc) · 971 Bytes
/
drawkblib.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
/*
* drawkblib.h
*
* Copyright (C) 2006, Octavio Alvarez Piza.
* License: GNU General Public License v2.
*
* This code provides Superkb with the actual functions to render the
* keyboard onto an X11 drawable.
*
* Multiple different codes may provide the functionality, and are located
* under drawkblibs/ as are drawkblib-xlib and drawkblib-cairo.
*
*/
#ifndef __drawkblib_H
#define __drawkblib_H
#include "drawkblibs/drawkblibs.h"
drawkb_p drawkb_create(Display *dpy, const char *font, IQF_t IQF, painting_mode_t painting_mode, float scale, debug_t *debug, XkbDescPtr kbdesc, int use_gradients);
typedef struct {
const char *code;
drawkblib_init_t initlib;
} drawkblib_compiled_in_t, *drawkblib_compiled_in_p;
void drawkb_draw(drawkb_p this, Drawable d, GC gc, unsigned int width, unsigned int height, XkbDescPtr kbdesc, puticon_t puticon);
int Init_drawkblib(const char *userlib);
void drawkblib_GetValues(char *buf, unsigned long buf_n);
#endif