/* src/bazaar.p/bz-curated-banner.h
 *
 * Copyright 2026 AUTOGEN
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#pragma once

#include <glib-object.h>
#include <gtk/gtk.h>
#include "bz-curated-image-info.h"

G_BEGIN_DECLS



#define BZ_TYPE_CURATED_BANNER (bz_curated_banner_get_type ())
G_DECLARE_FINAL_TYPE (BzCuratedBanner, bz_curated_banner, BZ, CURATED_BANNER, GObject)

BzCuratedBanner *
bz_curated_banner_new (void);

BzCuratedImageInfo *
bz_curated_banner_get_image (BzCuratedBanner *self);

const char *
bz_curated_banner_get_light_color (BzCuratedBanner *self);

const char *
bz_curated_banner_get_dark_color (BzCuratedBanner *self);

int
bz_curated_banner_get_height (BzCuratedBanner *self);

void
bz_curated_banner_set_image (BzCuratedBanner *self,
    BzCuratedImageInfo *image);

void
bz_curated_banner_set_light_color (BzCuratedBanner *self,
    const char *light_color);

void
bz_curated_banner_set_dark_color (BzCuratedBanner *self,
    const char *dark_color);

void
bz_curated_banner_set_height (BzCuratedBanner *self,
    int height);

void
bz_curated_banner_set_light_color_take (BzCuratedBanner *self,
    char *light_color);

#define bz_curated_banner_set_light_color_take_printf(self, ...) bz_curated_banner_set_light_color_take (self, g_strdup_printf (__VA_ARGS__))

void
bz_curated_banner_set_dark_color_take (BzCuratedBanner *self,
    char *dark_color);

#define bz_curated_banner_set_dark_color_take_printf(self, ...) bz_curated_banner_set_dark_color_take (self, g_strdup_printf (__VA_ARGS__))

G_END_DECLS

/* End of src/bazaar.p/bz-curated-banner.h */
