You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added ResourcePanel resource, which can automatically layout resources, lock display ranges, split windows, and other features.
Removed the reg_render_resource method from RustConstructorResource, replacing it with active and modify_active methods.
Optimized active resource management logic, now you can directly print active resource information through the print_resource_active_info method in App.
Extended a large number of methods for BasicFrontResource.
Renamed x_grid and y_grid to x_location_grid and y_location_grid in all basic front-end resources.
Extended all basic front-end resources with x_size_grid and y_size_grid fields for quickly setting resource sizes.
Extended a series of enumerations to assist with resource calls.
Added an active field to all resources to mark whether the resource should be invoked.
Migrated some fields that were originally passed in add methods of certain resources to inside the structures.
Added panel_name, panel_layout, and allow_scrolling to all basic front-end resources for customizing resource styles in the resource panel.
Extended all basic front-end resources with a clip_rect field to control resource display range, with parts exceeding the range not displayed.
Added text box functionality to Text, where text exceeding specified dimensions will now be truncated and replaced with ... .
Extended Text with actual_size and origin_size fields to get the actual size of the rendered text portion and the original size of the text box.
MouseDetector can now detect mouse scroll amounts.
Extended some resources with fields to adapt to PositionConfig.
Consolidated all add methods into an add_resource method that can automatically perform operations based on resource type and add to the resource list.
Updated the return value of get_resource_mut.
Extended RustConstructorError to accommodate new resources.