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 -cp src
-lib heaps -lib heaps
-lib hlsdl -lib hlsdl
-hl hello.hl -hl rewild.hl
-main Main -main Main
-lib domkit -lib domkit

View File

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

View File

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