Updated icons

This commit is contained in:
Willem Cazander 2022-02-23 02:42:52 +01:00
parent e9ad049953
commit 3e3b56fb69
2 changed files with 4 additions and 3 deletions

View file

@ -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());

View file

@ -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)));
}