This commit is contained in:
3wc 2023-07-30 23:08:39 +01:00
parent 2243826350
commit 17b1273c6e
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
-cp src
-lib heaps
-lib hlsdl
-hl hello.hl
-hl rewild.hl
-main Main
-lib domkit

View File

@ -43,4 +43,4 @@ button:hover text {
button:active {
background: #666;
}
}

View File

@ -6,7 +6,7 @@ class ViewComp extends h2d.Flow implements h2d.domkit.Object {
static var SRC =
<view class="mybox" min-width="200" content-halign={align}>
<text text={"Hello World"}/>
<text text={"Rewild"}/>
for( i in icons )
<bitmap src={i} id="icons[]"/>
</view>;
@ -100,6 +100,7 @@ class Main extends hxd.App {
style = new h2d.domkit.Style();
style.load(hxd.Res.style);
style.allowInspect = true;
style.addObject(root);
}