From 9a843cd7538332e1cd0ba0c54e4bdaef2335d144 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 30 Sep 2020 15:54:32 +0200 Subject: sync Gtk4 fake package with gtk4-3.99.2 --- NEWS | 3 ++ fake_packages/Gtk4.pm | 90 +++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 76 insertions(+), 17 deletions(-) diff --git a/NEWS b/NEWS index 7b65426..99b9b37 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- fake packages: + o sync Gtk4 fake package with gtk4-3.99.2 + Version 1.2.40 - 4 September 2020, by Thierry Vignaud - fake packages: diff --git a/fake_packages/Gtk4.pm b/fake_packages/Gtk4.pm index a71b47b..ca46ac5 100644 --- a/fake_packages/Gtk4.pm +++ b/fake_packages/Gtk4.pm @@ -81,6 +81,39 @@ package Gsk4::GLRenderer; our @ISA = qw(Gsk4::Renderer); sub new { } +package Gsk4::GLShader; +our @ISA = qw(GObject::Object); +sub compile { } +sub find_uniform_by_name { } +sub get_arg_bool { } +sub get_arg_float { } +sub get_arg_int { } +sub get_arg_uint { } +sub get_arg_vec2 { } +sub get_arg_vec3 { } +sub get_arg_vec4 { } +sub get_args_size { } +sub get_n_textures { } +sub get_n_uniforms { } +sub get_resource { } +sub get_source { } +sub get_uniform_name { } +sub get_uniform_offset { } +sub get_uniform_type { } +sub new_from_bytes { } +sub new_from_resource { } + +package Gsk4::GLShaderClass; +sub parent_class { } + +package Gsk4::GLShaderNode; +our @ISA = qw(Gsk4::RenderNode); +sub get_args { } +sub get_child { } +sub get_n_children { } +sub get_shader { } +sub new { } + package Gsk4::InsetShadowNode; our @ISA = qw(Gsk4::RenderNode); sub get_blur_radius { } @@ -115,6 +148,17 @@ sub new { } sub peek_color { } sub peek_outline { } +package Gsk4::RadialGradientNode; +our @ISA = qw(Gsk4::RenderNode); +sub get_end { } +sub get_hradius { } +sub get_n_color_stops { } +sub get_start { } +sub get_vradius { } +sub new { } +sub peek_center { } +sub peek_color_stops { } + package Gsk4::RenderNode; sub draw { } sub get_bounds { } @@ -144,6 +188,10 @@ package Gsk4::RepeatingLinearGradientNode; our @ISA = qw(Gsk4::RenderNode); sub new { } +package Gsk4::RepeatingRadialGradientNode; +our @ISA = qw(Gsk4::RenderNode); +sub new { } + package Gsk4::RoundedClipNode; our @ISA = qw(Gsk4::RenderNode); sub get_child { } @@ -167,6 +215,20 @@ sub shrink { } package Gsk4::SerializationError; sub quark { } +package Gsk4::ShaderArgsBuilder; +sub free_to_args { } +sub new { } +sub ref { } +sub set_bool { } +sub set_float { } +sub set_int { } +sub set_uint { } +sub set_vec2 { } +sub set_vec3 { } +sub set_vec4 { } +sub to_args { } +sub unref { } + package Gsk4::Shadow; sub color { } sub dx { } @@ -347,7 +409,6 @@ sub render_insertion_cursor { } sub render_layout { } sub render_line { } sub render_option { } -sub render_slider { } sub rgb_to_hsv { } sub set_debug_flags { } sub show_uri { } @@ -725,16 +786,7 @@ package Gtk4::BoxLayoutClass; sub parent_class { } package Gtk4::Buildable; -sub add_child { } -sub construct_child { } -sub custom_finished { } -sub custom_tag_end { } -sub custom_tag_start { } -sub get_internal_child { } -sub get_name { } -sub parser_finished { } -sub set_buildable_property { } -sub set_name { } +sub get_buildable_id { } package Gtk4::BuildableIface; sub add_child { } @@ -743,11 +795,11 @@ sub custom_finished { } sub custom_tag_end { } sub custom_tag_start { } sub g_iface { } +sub get_id { } sub get_internal_child { } -sub get_name { } sub parser_finished { } sub set_buildable_property { } -sub set_name { } +sub set_id { } package Gtk4::BuildableParseContext; sub get_element { } @@ -1212,7 +1264,6 @@ sub get_sorter { } sub get_title { } sub get_visible { } sub new { } -sub new_with_factory { } sub set_expand { } sub set_factory { } sub set_fixed_width { } @@ -4328,7 +4379,6 @@ sub cairo_region { } sub cairo_region_create_from_surface { } sub cairo_set_source_pixbuf { } sub cairo_set_source_rgba { } -sub cairo_surface_upload_to_gl { } sub content_deserialize_async { } sub content_deserialize_finish { } sub content_register_deserializer { } @@ -4642,6 +4692,7 @@ our @ISA = qw(GObject::Object); sub begin_updating { } sub end_updating { } sub get_current_timings { } +sub get_fps { } sub get_frame_counter { } sub get_frame_time { } sub get_history_start { } @@ -6503,7 +6554,6 @@ sub set_adjustment { } package Gtk4::ScrolledWindow; our @ISA = qw(Gtk4::Widget); -sub get_capture_button_press { } sub get_child { } sub get_hadjustment { } sub get_has_frame { } @@ -6521,7 +6571,6 @@ sub get_propagate_natural_width { } sub get_vadjustment { } sub get_vscrollbar { } sub new { } -sub set_capture_button_press { } sub set_child { } sub set_hadjustment { } sub set_has_frame { } @@ -6718,8 +6767,11 @@ sub append_layout { } sub append_linear_gradient { } sub append_node { } sub append_outset_shadow { } +sub append_radial_gradient { } sub append_repeating_linear_gradient { } +sub append_repeating_radial_gradient { } sub append_texture { } +sub gl_shader_pop_texture { } sub new { } sub perspective { } sub pop { } @@ -6728,6 +6780,7 @@ sub push_blur { } sub push_clip { } sub push_color_matrix { } sub push_cross_fade { } +sub push_gl_shader { } sub push_opacity { } sub push_repeat { } sub push_rounded_clip { } @@ -6812,6 +6865,7 @@ sub stop { } package Gtk4::Stack; our @ISA = qw(Gtk4::Widget); +sub add_child { } sub add_named { } sub add_titled { } sub get_child_by_name { } @@ -8166,6 +8220,7 @@ sub itemize { } sub itemize_with_base_dir { } sub language_from_string { } sub language_get_default { } +sub language_get_preferred { } sub log2vis_get_embedding_levels { } sub markup_parser_finish { } sub markup_parser_new { } @@ -8618,6 +8673,7 @@ sub split { } package Pango::Language; sub from_string { } sub get_default { } +sub get_preferred { } sub get_sample_string { } sub get_scripts { } sub includes_script { } -- cgit v1.2.1