diff --git a/hex-grid/resources/main.glade b/hex-grid/resources/main.glade deleted file mode 100644 index 1b7442b..0000000 --- a/hex-grid/resources/main.glade +++ /dev/null @@ -1,99 +0,0 @@ - - - - diff --git a/hex-grid/resources/resources.gresources.xml b/hex-grid/resources/resources.gresources.xml index 30f14bd..cb89341 100644 --- a/hex-grid/resources/resources.gresources.xml +++ b/hex-grid/resources/resources.gresources.xml @@ -1,7 +1,6 @@ - main.glade terrain.ppm map.txt diff --git a/hex-grid/src/main.rs b/hex-grid/src/main.rs index 7d62cc2..5a55e5a 100644 --- a/hex-grid/src/main.rs +++ b/hex-grid/src/main.rs @@ -110,15 +110,13 @@ fn main() { app.run(); } -#[derive(CompositeTemplate, Default)] -#[template(resource = "/com/luminescent-dreams/hex-grid/main.glade")] +#[derive(Default)] pub struct HexGridWindowPrivate { - #[template_child] - pub drawing_area: TemplateChild, - #[template_child] - pub hex_address: TemplateChild