REMOVE SEPARATOR, added extra files anticipation for later

This commit is contained in:
2026-04-20 00:00:44 +02:00
parent 1eaf3b06d5
commit a7a052c7af
9 changed files with 32 additions and 14 deletions
Generated
+1 -1
View File
@@ -172,7 +172,7 @@ dependencies = [
[[package]]
name = "anishio"
version = "0.1.0"
version = "0.0.3"
dependencies = [
"anyhow",
"directories",
+2 -2
View File
@@ -1,7 +1,7 @@
[package]
name = "anishio"
author = ["inorishio"]
version = "0.1.0"
authors = ["inorishio"]
version = "0.0.3"
edition = "2024"
[dependencies]
+15 -1
View File
@@ -1,3 +1,17 @@
# anishio
A redesign of the TUI ani-cli as a GUI Rust app cross-platform compatible
A redesign of the TUI ani-cli as a GUI Rust app cross-platform compatible
# Status
What does the code have?
- Window:
- Minimum width/height
- Start width/height
- Background:
- Color
- Transparency or Opacity
- Text:
- Color
- Size
+13 -9
View File
@@ -4,22 +4,26 @@ use eframe::egui;
pub struct AniShio {}
impl AniShio {
pub fn new(_cc: &eframe::CreationContext<'_>) -> Self {
pub fn new(cc: &eframe::CreationContext<'_>) -> Self {
let mut visuals = egui::Visuals::dark(); // or ::light()
visuals.panel_fill = egui::Color32::from_rgba_unmultiplied(163, 136, 219, 80);
visuals.override_text_color = Some(egui::Color32::BLACK);
cc.egui_ctx.set_visuals(visuals);
Self::default()
}
}
impl eframe::App for AniShio {
fn ui(&mut self, ui: &mut egui::Ui, _frame: &mut eframe::Frame) {
egui::CentralPanel::default()
.frame(egui::Frame::NONE.fill(egui::Color32::from_rgba_unmultiplied(163, 136, 219, 80)))
.show_inside(ui, |ui| {
ui.heading(
egui::RichText::new("AniShio")
.color(egui::Color32::BLACK)
.size(28.0),
)
egui::Panel::left("sidebar")
.resizable(false)
.show_separator_line(false)
.show_inside(ui, |ui| ui.label(egui::RichText::new("AniShio").size(28.0)));
egui::CentralPanel::default().show_inside(ui, |ui| {
ui.group(|ui| {
ui.label("Title name");
});
});
}
fn clear_color(&self, _visuals: &egui::Visuals) -> [f32; 4] {
egui::Color32::from_rgba_unmultiplied(163, 136, 219, 80).to_normalized_gamma_f32()
View File
+1 -1
View File
@@ -7,7 +7,7 @@ fn main() -> eframe::Result {
let mut window = eframe::NativeOptions::default();
window.viewport = egui::ViewportBuilder::default()
.with_title("AniShio")
.with_app_id("AniShioID")
.with_app_id("anishio")
.with_inner_size([400.0, 300.0])
.with_min_inner_size([400.0, 300.0])
.with_resizable(true)
View File
View File
View File