Removed line and added startup args to jmx

This commit is contained in:
Willem Cazander 2022-10-16 22:44:44 +02:00
parent 584c5fdc64
commit 53748cae84
2 changed files with 8 additions and 2 deletions

View file

@ -66,9 +66,8 @@ public class NotepadDeskApp extends AbstractDeskApp implements DeskAppRenderer {
ImGui.sliderInt(BãßBȍőnConstantsʸᴰ.STR_SPACE, runSpeed.getData(), 0, 60); // empty ID not allowed in ImGui, but whitespace is an ID :)
ImGui.sameLine();
ImCharacter.render("speedId", "RunSpeed", 'ﷲ', v -> unicode4DService.getCharacterForUnicode(v));
ImGui.text(BãßBȍőnConstantsʸᴰ.STR_SPACE);
ImGui.invisibleButton("matrix", ImGui.getWindowWidth(), ImGui.getWindowHeight()-(3*ImGui.getFontSize()));
ImGui.invisibleButton("matrix", ImGui.getWindowWidth(), ImGui.getWindowHeight()-(2*ImGui.getFontSize()));
ImVec2 p0 = ImGui.getItemRectMin();
ImVec2 p1 = ImGui.getItemRectMax();
ImDrawList drawList = ImGui.getWindowDrawList();

View file

@ -3,6 +3,7 @@ package love.distributedrebirth.gdxapp4d.tos4;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.osgi.framework.BundleException;
import org.osgi.framework.launch.Framework;
@ -14,11 +15,13 @@ import com.badlogic.gdx.utils.ScreenUtils;
import love.distributedrebirth.bassboonyd.BãßBȍőn;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnSpiderWire注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnName注;
import love.distributedrebirth.bassboonyd.info.BãßBȍőnPackage注;
import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.AttributeStringᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.CounterGuageᴶᴹˣ;
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxTerminal;
import net.spookygames.gdx.nativefilechooser.NativeFileChooser;
@ -38,11 +41,15 @@ public enum GDXAppTos4 implements DefaultEnumInstanceᴶᴹˣ<GDXAppTos4,BãßB
@BãßBȍőnSpiderWire注(name = "selectScreenCounter")
private CounterGuageᴶᴹˣ selectScreenCounter;
@BãßBȍőnSpiderWire注(name = "startupArgs")
private AttributeStringᴶᴹˣ startupArgs;
private GDXAppTos4() {
BãßBȍőn.Ꝑŕḯṿª.仙ᴵᴺᴵᵀ(this);
}
public void BãßInit(List<String> args, int viewWidth, int viewHeight, NativeFileChooser fileChooser) {
startupArgs.setValueString(args.stream().collect(Collectors.joining(BãßBȍőnConstantsʸᴰ.STR_SPACE)));
screens = new HashMap<>();
systemActivator = new GDXAppTos4Activator();
systemActivator.BãßInit(args, viewWidth, viewHeight, fileChooser, this);