Various
This commit is contained in:
parent
2243826350
commit
17b1273c6e
@ -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
|
||||||
|
@ -43,4 +43,4 @@ button:hover text {
|
|||||||
|
|
||||||
button:active {
|
button:active {
|
||||||
background: #666;
|
background: #666;
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user