libxputty 0.1
Loading...
Searching...
No Matches
xlistbox_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 XLISTBOX_PRIVATE_H_
24#define XLISTBOX_PRIVATE_H_
25
26#include "xlistbox.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32
39void _draw_listbox(void *w_, void* user_data);
40
47void _draw_listbox_item(void *w_, void* user_data);
48
56void _draw_listbox_viewslider(void *w_, void* user_data);
57
65void _reconfigure_listbox_viewport(void *w_, void* user_data);
66
73void _configure_listbox(void *w_, void* user_data);
74
81void _set_listbox_viewpoint(void *w_, void* user_data);
82
90void _listbox_entry_released(void *w_, void* button_, void* user_data);
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif //XLISTBOX_PRIVATE_H_
void _draw_listbox_viewslider(void *w_, void *user_data)
_draw_listbox_viewslider - draw a slider on the viewport to indicate the view point
void _reconfigure_listbox_viewport(void *w_, void *user_data)
_reconfigure_listbox_viewport - reconfigure the viewport adjustment on size changes
void _draw_listbox_item(void *w_, void *user_data)
_draw_listbox_item - draw item on expose call
void _listbox_entry_released(void *w_, void *button_, void *user_data)
_listbox_entry_released - redraw the slider when buttob released
void _draw_listbox(void *w_, void *user_data)
_draw_listbox - draw listbox on expose call
void _configure_listbox(void *w_, void *user_data)
_configure_listbox - configure the viewport on mapping
void _set_listbox_viewpoint(void *w_, void *user_data)
_set_listbox_viewpoint - move the view_port to position