Skip to content

Commit

Permalink
fix: bring back the update spinners script
Browse files Browse the repository at this point in the history
  • Loading branch information
FGRibreau committed Feb 23, 2022
1 parent 3e3f71d commit b06d64a
Show file tree
Hide file tree
Showing 5 changed files with 1,295 additions and 1,270 deletions.
1 change: 1 addition & 0 deletions src/utils/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pub mod spinner_names;
pub mod spinners_data;
pub mod spinner_data;
6 changes: 6 additions & 0 deletions src/utils/spinner_data.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#[derive(Debug, Clone)]
pub struct SpinnerData {
pub frames: Vec<&'static str>,
pub interval: u16,
}

174 changes: 87 additions & 87 deletions src/utils/spinner_names.rs
Original file line number Diff line number Diff line change
@@ -1,87 +1,87 @@
use strum::{Display, EnumIter, EnumString};

#[derive(Debug, Clone, EnumIter, Display, EnumString)]
pub enum SpinnerNames {
Dots,
Dots2,
Dots3,
Dots4,
Dots5,
Dots6,
Dots7,
Dots8,
Dots9,
Dots10,
Dots11,
Dots12,
Dots8Bit,
Line,
Line2,
Pipe,
SimpleDots,
SimpleDotsScrolling,
Star,
Star2,
Flip,
Hamburger,
GrowVertical,
GrowHorizontal,
Balloon,
Balloon2,
Noise,
Bounce,
BoxBounce,
BoxBounce2,
Triangle,
Arc,
Circle,
SquareCorners,
CircleQuarters,
CircleHalves,
Squish,
Toggle,
Toggle2,
Toggle3,
Toggle4,
Toggle5,
Toggle6,
Toggle7,
Toggle8,
Toggle9,
Toggle10,
Toggle11,
Toggle12,
Toggle13,
Arrow,
Arrow2,
Arrow3,
BouncingBar,
BouncingBall,
Smiley,
Monkey,
Hearts,
Clock,
Earth,
Material,
Moon,
Runner,
Pong,
Shark,
Dqpb,
Weather,
Christmas,
Grenade,
Point,
Layer,
BetaWave,
FingerDance,
FistBump,
SoccerHeader,
Mindblown,
Speaker,
OrangePulse,
BluePulse,
OrangeBluePulse,
TimeTravel,
Aesthetic,
}
use strum::{Display, EnumIter, EnumString};

#[derive(Debug, Clone, EnumIter, Display, EnumString)]
pub enum SpinnerNames {
Dots,
Dots2,
Dots3,
Dots4,
Dots5,
Dots6,
Dots7,
Dots8,
Dots9,
Dots10,
Dots11,
Dots12,
Dots8Bit,
Line,
Line2,
Pipe,
SimpleDots,
SimpleDotsScrolling,
Star,
Star2,
Flip,
Hamburger,
GrowVertical,
GrowHorizontal,
Balloon,
Balloon2,
Noise,
Bounce,
BoxBounce,
BoxBounce2,
Triangle,
Arc,
Circle,
SquareCorners,
CircleQuarters,
CircleHalves,
Squish,
Toggle,
Toggle2,
Toggle3,
Toggle4,
Toggle5,
Toggle6,
Toggle7,
Toggle8,
Toggle9,
Toggle10,
Toggle11,
Toggle12,
Toggle13,
Arrow,
Arrow2,
Arrow3,
BouncingBar,
BouncingBall,
Smiley,
Monkey,
Hearts,
Clock,
Earth,
Material,
Moon,
Runner,
Pong,
Shark,
Dqpb,
Weather,
Christmas,
Grenade,
Point,
Layer,
BetaWave,
FingerDance,
FistBump,
SoccerHeader,
Mindblown,
Speaker,
OrangePulse,
BluePulse,
OrangeBluePulse,
TimeTravel,
Aesthetic,
}
Loading

0 comments on commit b06d64a

Please sign in to comment.