From 3e3b56fb6907a0d187d114eed7f8c11a6c524f2f Mon Sep 17 00:00:00 2001 From: Willem Date: Wed, 23 Feb 2022 02:42:52 +0100 Subject: [PATCH] Updated icons --- .../distributedrebirth/gdxapp/desktop/DeskTopScreenMenu.java | 2 +- .../gdxapp/desktop/apps/MusicPlayerApp.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/main-gdxapp/src/main/love/distributedrebirth/gdxapp/desktop/DeskTopScreenMenu.java b/main-gdxapp/src/main/love/distributedrebirth/gdxapp/desktop/DeskTopScreenMenu.java index df842e1c..70f5b4b4 100644 --- a/main-gdxapp/src/main/love/distributedrebirth/gdxapp/desktop/DeskTopScreenMenu.java +++ b/main-gdxapp/src/main/love/distributedrebirth/gdxapp/desktop/DeskTopScreenMenu.java @@ -216,7 +216,7 @@ public class DeskTopScreenMenu { GDXAppMain.INSTANCE.selectScreen(ScreenDesktop4.class); } ImGui.separator(); - if (ImGui.beginMenu(FontAwesomeIcons.Plus + " Start App")) { + if (ImGui.beginMenu(FontAwesomeIcons.PlusSquare + " Start App")) { for (GDXAppLauncher launcher: apps) { if (ImGui.menuItem(launcher.getName())) { appScreen.getDeskAppScreen().addDeskApp(launcher.getLauncher().get()); diff --git a/main-gdxapp/src/main/love/distributedrebirth/gdxapp/desktop/apps/MusicPlayerApp.java b/main-gdxapp/src/main/love/distributedrebirth/gdxapp/desktop/apps/MusicPlayerApp.java index 4cf24e16..c3d85d79 100644 --- a/main-gdxapp/src/main/love/distributedrebirth/gdxapp/desktop/apps/MusicPlayerApp.java +++ b/main-gdxapp/src/main/love/distributedrebirth/gdxapp/desktop/apps/MusicPlayerApp.java @@ -10,6 +10,7 @@ import imgui.flag.ImGuiSelectableFlags; import imgui.flag.ImGuiTableColumnFlags; import imgui.flag.ImGuiTableFlags; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; +import love.distributedrebirth.gdxapp.FontAwesomeIcons; import love.distributedrebirth.gdxapp.GDXAppMain; import love.distributedrebirth.gdxapp.desktop.DefaultDeskApp; import love.distributedrebirth.gdxapp.desktop.DeskAppContourSection; @@ -27,13 +28,13 @@ public class MusicPlayerApp extends DefaultDeskApp implements DeskAppRenderer { private final NativeFileChooserConfiguration fileChooserConfig; public MusicPlayerApp() { - setTitle("Music Player"); + setTitle(FontAwesomeIcons.Music + " Music Player"); getContours().registrateContour(DeskAppContourSection.MAIN, this); getContours().registrateContour(DeskAppContourSection.FILE_NEW, new DeskAppRenderer() { @Override public void render() { - if (ImGui.menuItem("Add")) { + if (ImGui.menuItem(FontAwesomeIcons.Plus + " Add")) { GDXAppMain.INSTANCE.fileChooser.chooseFile(fileChooserConfig, NativeFileChooserCallbackAdapter.onFileChosen(v -> GDXAppMain.INSTANCE.music.addBackgroundMusic(v))); }