GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_widget_types.h
Go to the documentation of this file.
1//SPDX-License-Identifier: LGPL-2.0-or-later
2
3/*
4
5 Copyright (c) 2014-2024 Cyril Hrubis <metan@ucw.cz>
6
7 */
8
13#ifndef GP_WIDGET_TYPES_H
14#define GP_WIDGET_TYPES_H
15
16#include <stdint.h>
17
18typedef struct gp_widget_event gp_widget_event;
19typedef struct gp_widget gp_widget;
20typedef struct gp_dialog gp_dialog;
21typedef struct gp_widget_size gp_widget_size;
25
26typedef uint32_t gp_widget_tattr;
27
56
57#endif /* GP_WIDGET_TYPES_H */
gp_widget_tattr
Text attribute flags.
gp_widget_border
Describes borders.
@ GP_WIDGET_BORDER_BOTTOM
Bottom border selected.
@ GP_WIDGET_BORDER_TOP
Top border selected.
@ GP_WIDGET_BORDER_CLEAR
Clear borders not selected in bitmask.
@ GP_WIDGET_BORDER_HORIZ
Horizontal borders selected.
@ GP_WIDGET_BORDER_LEFT
Left border selected.
@ GP_WIDGET_BORDER_RIGHT
Right border selected.
@ GP_WIDGET_BORDER_VERT
Vertical borders selected.
@ GP_WIDGET_BORDER_ALL
All borders selected.
@ GP_WIDGET_BORDER_NONE
No border selected.
A dialog.
Definition gp_dialog.h:26
Event structure passed to widget event handler.
Structure to pass callbacks to the JSON loader.
A context to propagate values top down and bottom up.
Global widget (rendering) context.
A compound size.
A widget base.
Definition gp_widget.h:28