Created UI repository for subnet calculator

This commit is contained in:
Luke Else 2023-06-05 21:39:55 +01:00
parent 3d10599858
commit 0a5061d787
5 changed files with 13 additions and 13 deletions

16
.vscode/launch.json vendored
View File

@ -7,15 +7,15 @@
{ {
"type": "lldb", "type": "lldb",
"request": "launch", "request": "launch",
"name": "Debug executable 'egui-template'", "name": "Debug executable 'subnet_calculator_ui'",
"cargo": { "cargo": {
"args": [ "args": [
"build", "build",
"--bin=egui-template", "--bin=subnet_calculator_ui",
"--package=egui-template" "--package=subnet_calculator_ui"
], ],
"filter": { "filter": {
"name": "egui-template", "name": "subnet_calculator_ui",
"kind": "bin" "kind": "bin"
} }
}, },
@ -25,16 +25,16 @@
{ {
"type": "lldb", "type": "lldb",
"request": "launch", "request": "launch",
"name": "Debug unit tests in executable 'egui-template'", "name": "Debug unit tests in executable 'subnet_calculator_ui'",
"cargo": { "cargo": {
"args": [ "args": [
"test", "test",
"--no-run", "--no-run",
"--bin=egui-template", "--bin=subnet_calculator_ui",
"--package=egui-template" "--package=subnet_calculator_ui"
], ],
"filter": { "filter": {
"name": "egui-template", "name": "subnet_calculator_ui",
"kind": "bin" "kind": "bin"
} }
}, },

View File

@ -1,5 +1,5 @@
[package] [package]
name = "egui-template" name = "subnet_calculator_ui"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) <year> <copyright holders> Copyright (c) <2023> <Luke Else>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View File

@ -1,3 +1,3 @@
# egui-template # Subnet Calculator UI
Template repo for an egui application in rust Front end UI written for my Subnet Calculator in rust's EGUI framework (modelled off of ImGUI)

View File

@ -16,7 +16,7 @@ fn main() -> Result<(), eframe::Error> {
//Start rendering and run the application //Start rendering and run the application
eframe::run_native( eframe::run_native(
"egui-template", "subnet_calculator_ui",
options, options,
Box::new(|_cc| Box::new(App::default())), Box::new(|_cc| Box::new(App::default())),
) )