Style active sorting in menu, logic for sorting direction

This commit is contained in:
Reinout Meliesie 2025-01-19 19:03:30 +01:00
commit de24bbcf99
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
4 changed files with 42 additions and 23 deletions

View file

@ -15,6 +15,7 @@ use crate :: { collection :: * , ui :: component :: * } ;
pub enum FilmsSortedBy { Name , ReleaseDate , Runtime }
pub enum SeriesSortedBy { Name , FirstReleaseDate }
pub enum SortingDirection { Ascending , Descending }
pub struct CollatedFilmsGrid {
film_widget_pairs : RefCell < Vec < ( Film , Box ) > > ,