Style active sorting in menu, logic for sorting direction
This commit is contained in:
parent
6b0be30adc
commit
de24bbcf99
4 changed files with 42 additions and 23 deletions
|
|
@ -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 ) > > ,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue