changed author email
[guish.git] / src / widgets / label.h
blobb930ae0729147ef60d7abc86c548978b042c3e4e
1 /*************************************************************************
2 * Copyright (C) 2024 Francesco Palumbo <phranz.dev@gmail.com>, Naples (Italy)
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 *************************************************************************/
18 #ifndef LABEL_H
19 #define LABEL_H
21 #include "../widget.h"
23 typedef struct label_t {
24 widget_t w;
25 void (*free)(struct label_t*);
26 } label_t;
28 label_t* label_t_init(label_t*, int, int);
29 void label_t_free(label_t*);
31 #endif