diff --git a/.design/README.md b/.design/README.md index 53687235..9b1e5f03 100644 --- a/.design/README.md +++ b/.design/README.md @@ -42,7 +42,7 @@ ## 🚢 How to contribute design ## 🚀 Our Main Product -Sniffnet can be downloaded [here](https://github.com/GyulyVGC/sniffnet/releases) +Sniffnet can be downloaded from [here](https://github.com/GyulyVGC/sniffnet/releases) ### Target audience @@ -58,11 +58,11 @@ ## 💅 Design relevant materials ### Fonts -I'm using `Couries Sans` for everything except for the chart, for which I'm using `notosans`. The fonts I used can be found [here](https://github.com/GyulyVGC/sniffnet/tree/main/fonts). +I'm using `Inconsolata`. The fonts I used can be found [here](https://github.com/GyulyVGC/sniffnet/tree/main/fonts). ### Colors -For info on the used RGB colors, I suggest you to give a look at the file [style.rs](https://github.com/GyulyVGC/sniffnet/blob/main/src/gui/style.rs#L58-L91) +For info on the used RGB colors, I suggest you to give a look at the file [style.rs](https://github.com/GyulyVGC/sniffnet/blob/main/src/utility/style_constants.rs) ### Logos diff --git a/resources/repository_resources/header_repository.png b/resources/repository/header_repository.png similarity index 100% rename from resources/repository_resources/header_repository.png rename to resources/repository/header_repository.png diff --git a/resources/repository_resources/logo_repository.png b/resources/repository/logo_repository.png similarity index 100% rename from resources/repository_resources/logo_repository.png rename to resources/repository/logo_repository.png diff --git a/resources/repository_resources/README_features/initial_page.png b/resources/repository/pages/initial_page.png similarity index 100% rename from resources/repository_resources/README_features/initial_page.png rename to resources/repository/pages/initial_page.png diff --git a/resources/repository_resources/README_features/notifications_page.png b/resources/repository/pages/notifications_page.png similarity index 100% rename from resources/repository_resources/README_features/notifications_page.png rename to resources/repository/pages/notifications_page.png diff --git a/resources/repository_resources/README_features/overview_page.png b/resources/repository/pages/overview_page.png similarity index 100% rename from resources/repository_resources/README_features/overview_page.png rename to resources/repository/pages/overview_page.png diff --git a/resources/repository_resources/README_features/settings_page.png b/resources/repository/pages/settings_page.png similarity index 100% rename from resources/repository_resources/README_features/settings_page.png rename to resources/repository/pages/settings_page.png diff --git a/resources/repository_resources/README_video/sniffnet_run_example.gif b/resources/repository_resources/README_video/sniffnet_run_example.gif deleted file mode 100644 index d0e0e3b5..00000000 Binary files a/resources/repository_resources/README_video/sniffnet_run_example.gif and /dev/null differ diff --git a/resources/repository_resources/README_video/sniffnet_run_example.mp4 b/resources/repository_resources/README_video/sniffnet_run_example.mp4 deleted file mode 100644 index b5d2fe6b..00000000 Binary files a/resources/repository_resources/README_video/sniffnet_run_example.mp4 and /dev/null differ diff --git a/src/main.rs b/src/main.rs index b4a99cbf..515a1e35 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,7 +37,7 @@ /// Entry point of application execution /// -/// It initializes shared variables and gui parameters +/// It initializes shared variables and loads configuration parameters pub fn main() -> iced::Result { let current_capture_id1 = Arc::new(Mutex::new(0)); let current_capture_id2 = current_capture_id1.clone(); @@ -45,7 +45,6 @@ pub fn main() -> iced::Result { let mutex_map1 = Arc::new(Mutex::new(InfoTraffic::new())); let mutex_map2 = mutex_map1.clone(); - //shared tuple containing the application status and the relative condition variable let status_pair1 = Arc::new((Mutex::new(Status::Init), Condvar::new())); let status_pair2 = status_pair1.clone();