Show a list of games in the library #64

Merged
savanni merged 9 commits from kifu/game-library into main 2023-08-20 17:02:14 +00:00
2 changed files with 0 additions and 21 deletions
Showing only changes of commit aa64bf4c7e - Show all commits

View File

@ -1,18 +0,0 @@
use crate::ui::{home, library_view, HomeView, LibraryView};
use serde::{Deserialize, Serialize};
use typeshare::typeshare;
#[typeshare]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct LaunchScreenView {
home: HomeView,
library: LibraryView,
}
// This will be called when the Kifu application starts.
pub fn launch_screen_view() -> LaunchScreenView {
LaunchScreenView {
home: home(vec![].into_iter()),
library: library_view(),
}
}

View File

@ -4,9 +4,6 @@ pub use elements::{action::Action, game_preview::GamePreviewElement, menu::Menu}
mod playing_field;
pub use playing_field::{playing_field, PlayingFieldView};
mod launch_screen;
pub use launch_screen::{launch_screen_view, LaunchScreenView};
mod home;
pub use home::{home, HomeView, HotseatPlayerElement, PlayerElement};