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
Components can now be modified, with the GpuPage updating accordingly. A bunch of bug fixes too.
Updated lib.rs:
- Updated some links with "<>" brackets to enable for cargo docs
Updated MainWindow class:
- Updated comment headers of "create_gpu_page()" and "close_request()" functions to enable for cargo docs
Updated GpuPage class:
- Removed some old (and now invalid) psuedocode
- Added a "signals()" function for declaring any signals
- Added a signal ("update-views"): this tells the parent GpuPage object to refresh the views stored (and switch back to the correct view if a modification)
- Updated comment headers of "load_views()" and "create_updater()" functions to enable for cargo docs
- Updated some links with "<>" brackets to enable for cargo docs
- Updated ModificationWindow creation to pass a self-reference
- Removed the reload call from the ModificationWindow creation
- Added "none" to the possible properties, giving pretty-label of "None"
- Added check for "none" to "create_updater()" function, to set value to "N/A" rather than attempting a call to the provider
- Added a connect_closure call to self that reloads the views (and switches back to the correct one) when recieving the "update-views" signal
- Added TODO comments next to lists of properties - need to make this a global list, both normal and pretty versions
Updated ModificationWindow class:
- Added a "ParentContainer" struct for holding an optional reference to the parent window: will enable sending a signal to update the parent window when changes are made in this window
- Made "uuid", "old_view_id", "new_view_id", "old_view_title", "new_view_title" all private struct members
- Added "parent_window" public struct member for keeping track of the parent window, stores as reference using "ParentContainer" struct
- Added "dropdowns" public struct member for keeping track of the dynamic drop down menus and their state
- Modified "update_stored_data()" function to check dropdowns (using struct member "dropdowns") for any modified view components: this enables changing components!
- Commented out a lot of debug print statements
- Switched from "None" to "none" nomenclature for empty dropdowns, with "None" becoming the pretty-label
- Updated "view_components_amount_changed()" function, a scrollwheel template callback, to update the new dropdowns struct member
- Updated comment header of "close_request()" function to enable for cargo docs
- Updated constructor to store referenec to parent in "parent_window" struct member
- Added TODO comments next to lists of properties - need to make this a global list, both normal and pretty versions
- Updated "setup_widgets()" function to update "dropdowns" struct member when creating dynamic dropdowns
- Added a signal emission call ("update-views") to the apply and delete buttons: this tells the parent GpuPage object to refresh the views stored (and switch back to the correct view if a modification)
Updated Formatter class:
- Updated comment header of "format()" function to enable for cargo docs
Signed-off-by: Deren Vural <[email protected]>
0 commit comments