-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bring back the update spinners script
- Loading branch information
Showing
5 changed files
with
1,295 additions
and
1,270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |
Oops, something went wrong.