src: Add fading label class

Co-Authored-By: Titouan Real <titouan.real@gmail.com>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/657>
This commit is contained in:
Philipp S
2026-02-03 17:11:21 -03:00
committed by Georges Basile Stavracas Neto
co-authored by Titouan Real
parent 32f44b160e
commit bd4d503080
7 changed files with 432 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/*
* Copyright (C) 2021 Purism SPC
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
/* Copied from libadwaita 1.8 and adapted for use in gnome-calendar. */
#pragma once
#include <glib.h>
#include <pango/pango.h>
G_BEGIN_DECLS
PangoDirection gcal_find_base_dir (const gchar *text,
gint length);
G_END_DECLS