cake
/
libcasio
Archived
1
1
Fork 0
This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
libcasio/include/libcasio/fontchar.h

44 lines
1.6 KiB
C

/* ****************************************************************************
* libcasio/char.h -- libcasio FONTCHARACTER management.
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of libcasio.
* libcasio is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3.0 of the License,
* or (at your option) any later version.
*
* libcasio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with libcasio; if not, see <http://www.gnu.org/licenses/>.
* ************************************************************************* */
#ifndef LIBCASIO_FONTCHAR_H
# define LIBCASIO_FONTCHAR_H
# include "cdefs.h"
CASIO_BEGIN_NAMESPACE
typedef casio_uint16_t FONTCHARACTER;
/* A multi-character should resolve as a maximum of 16 characters. */
# define CASIO_FONTCHAR_MULTI_MAX 16
CASIO_BEGIN_DECLS
CASIO_EXTERN(int) casio_is_fontchar_lead
OF((int casio__code));
CASIO_EXTERN(int) casio_fontchar_to_uni
OF((casio_uint16_t casio__code, casio_uint32_t *casio__uni));
CASIO_EXTERN(int) casio_uni_to_fontchar
OF((casio_uint32_t const *casio__uni, casio_uint16_t casio__code));
CASIO_END_DECLS
CASIO_END_NAMESPACE
#endif /* LIBCASIO_CHAR_H */