Skip to content

Commit

Permalink
Adding testcase for language support
Browse files Browse the repository at this point in the history
  • Loading branch information
ZILtoid1991 committed Feb 1, 2024
1 parent c347ce8 commit 169b20a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test3/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import pixelperfectengine.system.systemutility;
import pixelperfectengine.system.file;
import pixelperfectengine.system.common;
import pixelperfectengine.system.timer;
import pixelperfectengine.system.lang.textparser;

import core.thread;
import std.conv;
Expand All @@ -32,6 +33,7 @@ public class TestElements : InputListener, SystemEventListener {
WindowHandler wh;
InputHandler ih;
bool isRunning, flipScreen;
TextParser txtParser;

public this() {
sprtL = new SpriteLayer(RenderingMode.Copy);
Expand Down Expand Up @@ -98,7 +100,7 @@ public class TestWindow : Window {
VertScrollBar vScrollBarTest;
Label singleLineLabel;
Label multiLineLabel;
public this() {
public this(Text[string] lang) {
super(Box.bySize(0, 0, 848, 480), "Test");
panelTest = new Panel("Selections", "", Box(5, 20, 200, 200));
addElement(panelTest);
Expand Down

0 comments on commit 169b20a

Please sign in to comment.