From fee0ee82e91072496003fd439ef256254b2deb96 Mon Sep 17 00:00:00 2001 From: Chris Stayte Date: Mon, 29 Jan 2024 11:33:58 -0600 Subject: [PATCH 1/5] Added audio mute icon --- lib/src/widgets/nes_icon.dart | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/src/widgets/nes_icon.dart b/lib/src/widgets/nes_icon.dart index d402cf8..2b464f7 100644 --- a/lib/src/widgets/nes_icon.dart +++ b/lib/src/widgets/nes_icon.dart @@ -660,6 +660,13 @@ class NesIconCollection { ), ); + /// Audio Muted + late final audio_muted = NesIconData( + MiniSprite.fromDataString( + '8,8;1,0;3,-1;2,0;3,-1;1,0;1,-1;1,0;2,1;1,0;3,-1;1,0;3,1;1,0;1,-1;2,0;1,1;1,0;2,1;1,0;1,-1;2,0;2,1;1,0;1,1;1,0;3,-1;1,0;2,1;2,0;4,-1;1,0;2,1;1,0;5,-1;2,0;1,-1;1,0', + ), + ); + /// Screen late final screen = NesIconData( MiniSprite.fromDataString( From 10fde5de6e66ec20db9ea46f8f7ed637d77ca1e1 Mon Sep 17 00:00:00 2001 From: Chris Stayte Date: Mon, 29 Jan 2024 11:34:07 -0600 Subject: [PATCH 2/5] Updated example with new icon --- example/lib/gallery/sections/icons.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/example/lib/gallery/sections/icons.dart b/example/lib/gallery/sections/icons.dart index c16f431..f80e00f 100644 --- a/example/lib/gallery/sections/icons.dart +++ b/example/lib/gallery/sections/icons.dart @@ -369,6 +369,10 @@ class IconsSection extends StatelessWidget { data: NesIcons.audio, label: 'audio', ), + _IconEntry( + data: NesIcons.audio_muted, + label: 'audioMuted', + ), _IconEntry( data: NesIcons.screen, label: 'screen', From 6dbd292faa6bf54fdcf49e4a65a0c11d9c1871c4 Mon Sep 17 00:00:00 2001 From: Chris Stayte Date: Mon, 29 Jan 2024 11:37:03 -0600 Subject: [PATCH 3/5] renamed to conform to standard --- example/lib/gallery/sections/icons.dart | 2 +- lib/src/widgets/nes_icon.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/lib/gallery/sections/icons.dart b/example/lib/gallery/sections/icons.dart index f80e00f..7a66b05 100644 --- a/example/lib/gallery/sections/icons.dart +++ b/example/lib/gallery/sections/icons.dart @@ -370,7 +370,7 @@ class IconsSection extends StatelessWidget { label: 'audio', ), _IconEntry( - data: NesIcons.audio_muted, + data: NesIcons.audioMuted, label: 'audioMuted', ), _IconEntry( diff --git a/lib/src/widgets/nes_icon.dart b/lib/src/widgets/nes_icon.dart index 2b464f7..d71f8d8 100644 --- a/lib/src/widgets/nes_icon.dart +++ b/lib/src/widgets/nes_icon.dart @@ -661,7 +661,7 @@ class NesIconCollection { ); /// Audio Muted - late final audio_muted = NesIconData( + late final audioMuted = NesIconData( MiniSprite.fromDataString( '8,8;1,0;3,-1;2,0;3,-1;1,0;1,-1;1,0;2,1;1,0;3,-1;1,0;3,1;1,0;1,-1;2,0;1,1;1,0;2,1;1,0;1,-1;2,0;2,1;1,0;1,1;1,0;3,-1;1,0;2,1;2,0;4,-1;1,0;2,1;1,0;5,-1;2,0;1,-1;1,0', ), From 86ba30a2acad8775baf552a73260987431a5e603 Mon Sep 17 00:00:00 2001 From: Chris Stayte Date: Mon, 29 Jan 2024 11:46:15 -0600 Subject: [PATCH 4/5] updated changelog --- .prettierignore | 1 + CHANGELOG.md | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..2e1fa2d --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +*.md \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 648652e..03b6b34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 0.15.0 + - feat: add `NesIcons.audioMuted` + # 0.14.0 - feat: add `NesIcons.audio`. - feat: add `NesIcons.screen`. From dd365e441a01b19699eb1864c40fe9d3f73e018c Mon Sep 17 00:00:00 2001 From: Chris Stayte Date: Mon, 29 Jan 2024 11:47:11 -0600 Subject: [PATCH 5/5] deleted prettier ignore --- .prettierignore | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 2e1fa2d..0000000 --- a/.prettierignore +++ /dev/null @@ -1 +0,0 @@ -*.md \ No newline at end of file