libxputty  0.1
A damn tiny abstraction Layer to create X11 window/widgets with cairo surfaces
xvaluedisplay_private.h
Go to the documentation of this file.
1 /*
2  * 0BSD
3  *
4  * BSD Zero Clause License
5  *
6  * Copyright (c) 2019 Hermann Meyer
7  *
8  * Permission to use, copy, modify, and/or distribute this software for any
9  * purpose with or without fee is hereby granted.
10 
11  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
12  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13  * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
14  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
16  * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17  * PERFORMANCE OF THIS SOFTWARE.
18  *
19  */
20 
21 #pragma once
22 
23 #ifndef XVALUEDISPLAY_PRIVATE_H_
24 #define XVALUEDISPLAY_PRIVATE_H_
25 
26 #include "xvaluedisplay.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 /**
33  * @brief _draw_valuedisplay - draw a valuedisplay on expose call
34  * @param *w_ - The Widget_t contain the valuedisplay
35  * @param *user_data - attached user_data
36  * @return void
37  */
38 
39 void _draw_valuedisplay(void *w_, void* user_data);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif //XVALUEDISPLAY_PRIVATE_H_
_draw_valuedisplay
void _draw_valuedisplay(void *w_, void *user_data)
_draw_valuedisplay - draw a valuedisplay on expose call
Definition: xvaluedisplay_private.c:25
xvaluedisplay.h