This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added additional documentation and comments.
Added example code that should have been in the previous commit. Fixed clippy lints. Ran rust fmt to ensure the formatting was correct.
- Loading branch information
Showing
7 changed files
with
130 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[gd_resource type="NativeScript" load_steps=2 format=2] | ||
|
||
[ext_resource path="res://godot_egui.gdnlib" type="GDNativeLibrary" id=1] | ||
|
||
[resource] | ||
resource_name = "GodotEguiWindowExample" | ||
class_name = "GodotEguiWindowExample" | ||
library = ExtResource( 1 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[gd_scene load_steps=3 format=2] | ||
|
||
[ext_resource path="res://GodotEgui.gdns" type="Script" id=1] | ||
[ext_resource path="res://GodotEguiWindowExample.gdns" type="Script" id=2] | ||
|
||
[node name="GodotEguiWindowExample" type="Control"] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
script = ExtResource( 2 ) | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="GodotEgui" type="Control" parent="."] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
mouse_filter = 1 | ||
script = ExtResource( 1 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[gd_scene load_steps=3 format=2] | ||
|
||
[ext_resource path="res://GodotEguiExample.tscn" type="PackedScene" id=1] | ||
[ext_resource path="res://GodotEguiWindowExample.tscn" type="PackedScene" id=2] | ||
|
||
[node name="multi-demo-example" type="Node2D"] | ||
|
||
[node name="GodotEguiExample" parent="." instance=ExtResource( 1 )] | ||
margin_right = 1024.0 | ||
margin_bottom = 600.0 | ||
mouse_filter = 1 | ||
|
||
[node name="GodotEguiWindowExample" parent="GodotEguiExample" instance=ExtResource( 2 )] | ||
margin_right = 1024.0 | ||
margin_bottom = 600.0 | ||
mouse_filter = 1 | ||
|
||
[node name="GodotEguiWindowExample2" parent="GodotEguiExample/GodotEguiWindowExample" instance=ExtResource( 2 )] | ||
margin_right = 1024.0 | ||
margin_bottom = 600.0 | ||
mouse_filter = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters