GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
widgets
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
>
24
#include <
utils/gp_markup_parser.h
>
25
#include <
utils/gp_markup_justify.h
>
26
36
gp_widget
*
gp_widget_markup_new
(
const
char
*markup,
enum
gp_markup_fmt
fmt,
int
flags);
37
48
int
gp_widget_markup_set
(
gp_widget
*self,
enum
gp_markup_fmt
fmt,
49
int
flags,
const
char
*markup_str);
50
51
#endif
/* GP_WIDGET_MARKUP_H */
gp_markup.h
A simple text markup format.
gp_markup_justify.h
Justifies markup into lines.
gp_markup_parser.h
A markup parsers.
gp_markup_fmt
gp_markup_fmt
Markup format to parse.
Definition
gp_markup_parser.h:19
gp_widget_markup_new
gp_widget * gp_widget_markup_new(const char *markup, enum gp_markup_fmt fmt, int flags)
Allocates and initializes a markup widget.
gp_widget_markup_set
int gp_widget_markup_set(gp_widget *self, enum gp_markup_fmt fmt, int flags, const char *markup_str)
Sets new markup string.
gp_widget
A widget base.
Definition
gp_widget.h:28
Generated by
1.9.8