GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_widget_markup.h
Go to the documentation of this file.
1//SPDX-License-Identifier: LGPL-2.0-or-later
2/*
3
4 Copyright (c) 2014-2024 Cyril Hrubis <metan@ucw.cz>
5
6 */
7
20#ifndef GP_WIDGET_MARKUP_H
21#define GP_WIDGET_MARKUP_H
22
23#include <utils/gp_markup.h>
26
36gp_widget *gp_widget_markup_new(const char *markup, enum gp_markup_fmt fmt, int flags);
37
49 int flags, const char *markup_str);
50
51#endif /* GP_WIDGET_MARKUP_H */
A simple text markup format.
Justifies markup into lines.
A markup parsers.
gp_markup_fmt
Markup format to parse.
gp_widget * gp_widget_markup_new(const char *markup, enum gp_markup_fmt fmt, int flags)
Allocates and initializes a markup widget.
int gp_widget_markup_set(gp_widget *self, enum gp_markup_fmt fmt, int flags, const char *markup_str)
Sets new markup string.
A widget base.
Definition gp_widget.h:28