Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] wl: Add CogWlPlatform::resized-window signal #620

Commits on Oct 26, 2023

  1. wl: Move cog_wl_platform_resize_window() to View as cog_wl_view_resize()

    The cog_wl_platform_resize_window() is moved to the View class as
    cog_wl_view_resize().
    
    All the cog_wl_view_resize() are triggered inside of
    cog_wl_platform_configure_geometry() since the resize is a reaction to
    a change in the geometry of the Window.
    psaavedra committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    ba245fd View commit details
    Browse the repository at this point in the history
  2. wl: Add CogWlPlatform::resized-window signal

    The `resized-window` signal is emitted when the window is resized.
    
    Handling this signal allows to react to changes in the geometry of
    the window and decouples the CogWlView from the CogWlPlatform internal
    logic.
    
    The view (or the views in the future) is now connected to this signal
    and reacts according.
    
    This change is motivated towards the progress of being able to have more
    than one view.
    psaavedra committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    5b8f78e View commit details
    Browse the repository at this point in the history