Add basic app interface
- Add pool struct for data pools
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ main_scene = Scene.new
|
||||
|
||||
default_font = Font.new "assets/DejaVuSans.ttf", 24, italic: true
|
||||
|
||||
text = ElementText.new "Click me!", font: default_font, position: {x: 50, y: 50}, z: 1
|
||||
text = ElementText.new "Click me!", font: default_font, position: {x: 50, y: 50}, z: 1, click_through: true
|
||||
|
||||
rect = ElementRect.new {x: 50, y: 50, w: 100, h: 25}, color: 0xFF0000, z: 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user