Added some more images for buttons

master
Joey Pollack 2 years ago
parent cd0170d5ca
commit 70e3610f2e

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

@ -85,7 +85,8 @@ impl eframe::App for JpmmvApp
egui::FontId::new(24.0, eframe::epaint::FontFamily::Proportional),
);
if ui.button("Skip").clicked()
// if ui.button("Skip").clicked()
if ui.add(egui::Button::image_and_text(egui::include_image!("../assets/Next.png"), "")).clicked()
{
player_interface::next_track();
self.force_query = true

@ -36,6 +36,11 @@ pub fn get_song_metadata() -> SongMetadata
let split: Vec<&str> = result.split(',').collect();
if split.len() < 4
{
return sm;
}
sm.name = split[0].to_string();
sm.artist = split[1].to_string();
sm.album = split[2].to_string();

Loading…
Cancel
Save