Skip to content

Commit

Permalink
Fixed path issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ZILtoid1991 committed Mar 31, 2024
1 parent 295cb7a commit 105d11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windowmakerforconcrete/src/editor.d
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@ public class Editor : SystemEventListener, InputListener{
typeSel = ElementType.NULL;

ewh = new WindowHandler(1696,960,848,480,sprtL);
mainRaster.loadPalette(loadPaletteFromFile("../system/concreteGUIE1.tga"));
mainRaster.loadPalette(loadPaletteFromFile(getPathToAsset("../system/concreteGUIE1.tga")));
INIT_CONCRETE();
inputH = new InputHandler();
inputH.systemEventListener = this;
inputH.inputListener = this;
inputH.mouseListener = ewh;

//ewh.setBaseWindow(new TopLevelWindow(848, 480, this));
config = new ConfigurationProfile("config_wmfc.sdl", "../system/config_wmfc.sdl");
config = new ConfigurationProfile("config_wmfc.sdl", getPathToAsset("../system/config_wmfc.sdl"));
{
import pixelperfectengine.system.input.scancode;
inputH.addBinding(BindingCode(ScanCode.ESCAPE, 0, Devicetype.Keyboard, 0, KeyModifier.LockKeys), InputBinding("sysesc"));
Expand Down

0 comments on commit 105d11b

Please sign in to comment.