2023-12-20 14:55:11 +00:00
|
|
|
#pragma once
|
2020-09-21 19:05:04 +00:00
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
2024-07-04 16:12:16 +00:00
|
|
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
|
|
|
|
2020-09-21 19:05:04 +00:00
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define GTK_TYPE_SHADER_BIN (gtk_shader_bin_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (GtkShaderBin, gtk_shader_bin, GTK, SHADER_BIN, GtkWidget)
|
|
|
|
|
|
|
|
GtkWidget *gtk_shader_bin_new (void);
|
|
|
|
void gtk_shader_bin_add_shader (GtkShaderBin *self,
|
|
|
|
GskGLShader *shader,
|
|
|
|
GtkStateFlags state,
|
2020-09-30 09:40:37 +00:00
|
|
|
GtkStateFlags state_mask,
|
|
|
|
float extra_border);
|
2020-09-21 19:05:04 +00:00
|
|
|
void gtk_shader_bin_set_child (GtkShaderBin *self,
|
|
|
|
GtkWidget *child);
|
|
|
|
GtkWidget *gtk_shader_bin_get_child (GtkShaderBin *self);
|
|
|
|
|
|
|
|
G_END_DECLS
|
2024-07-04 16:12:16 +00:00
|
|
|
|
|
|
|
G_GNUC_END_IGNORE_DEPRECATIONS
|