Skip to content

Commit

Permalink
Sprite sheet removed from documentation and its related files. Animat…
Browse files Browse the repository at this point in the history
…ions replaced with GIF images.
  • Loading branch information
BlueAndi committed Jun 22, 2024
1 parent 3ec82c3 commit cb4b882
Show file tree
Hide file tree
Showing 34 changed files with 3 additions and 323 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ This is a low level error code. Please have a look into the following table.
| E7 | The update manager didn't start up. |

## How can I use animated icons?
Use animated GIF images to get animated icons. The sprite sheet support was replaced with the GIF images.
Use animated GIF images to get animated icons. The sprite sheet support (< v8.0.0) was replaced with the GIF images.

## How do I know that my sensor is recognized?

Expand Down
4 changes: 0 additions & 4 deletions data/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ <h2 class="mt-1">Files</h2>
name: "png",
lang: null,
type: "image"
}, {
name: "sprite",
lang: "json",
type: "text"
}, {
name: "txt",
lang: "plain_text",
Expand Down
2 changes: 1 addition & 1 deletion doc/ICONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Purpose

In order to use alternative icons for plugins you simply have to replace the respective ```<iconName>.bmp``` or in case of an animation additional the ```<iconName>.sprite``` in the corresponding plugin folder. All plugins can be found in ```/lib/<PLUGIN-NAME>``` and their icons in ```/lib/<PLUGIN-NAME>/web```.
In order to use alternative icons for plugins you simply have to replace the respective ```<iconName>.bmp``` or ```<iconName>.gif``` in the corresponding plugin folder. All plugins can be found in ```/lib/<PLUGIN-NAME>``` and their icons in ```/lib/<PLUGIN-NAME>/web```.

During building the filesystem image they will be automatically grabbed.

Expand Down
1 change: 0 additions & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
* [MQTT](MQTT.md)
* [Home Assistant REST Wrapper](HOMEASSISTANT.md)
* [Websocket API description](WEBSOCKET.md)
* [Sprite sheet](SPRITESHEET.md)
* [Alternative icons](ICONS.md)
* [Configuration examples for GrabViaMqttPlugin and GrabViaRestPlugin.](./grabConfigs/README.md)

Expand Down
63 changes: 0 additions & 63 deletions doc/SPRITESHEET.md

This file was deleted.

Binary file added doc/images/icons/christmas_tree.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/icons/easter_rabbit_and_egg.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/icons/santa.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file added doc/images/icons/santa2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/icons/snowman.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/icons/snowman.xcf
Binary file not shown.
Binary file not shown.
13 changes: 0 additions & 13 deletions doc/images/spritesheets/christmas_tree/christmas_tree.sprite

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file removed doc/images/spritesheets/garage_door/garage_door.bmp
Binary file not shown.
13 changes: 0 additions & 13 deletions doc/images/spritesheets/garage_door/garage_door.sprite

This file was deleted.

Binary file removed doc/images/spritesheets/santa/santa.bmp
Binary file not shown.
Binary file removed doc/images/spritesheets/santa/santa.gif
Binary file not shown.
13 changes: 0 additions & 13 deletions doc/images/spritesheets/santa/santa.sprite

This file was deleted.

Binary file removed doc/images/spritesheets/santa2/santa2.bmp
Binary file not shown.
13 changes: 0 additions & 13 deletions doc/images/spritesheets/santa2/santa2.sprite

This file was deleted.

Binary file removed doc/images/spritesheets/santa2/santa2.xcf
Binary file not shown.
Binary file removed doc/images/spritesheets/snowman/snowman.bmp
Binary file not shown.
13 changes: 0 additions & 13 deletions doc/images/spritesheets/snowman/snowman.sprite

This file was deleted.

158 changes: 0 additions & 158 deletions doc/spritesheet/create_sprite_sheet.py

This file was deleted.

Binary file removed doc/spritesheet/example/fire.bmp
Binary file not shown.
Binary file removed doc/spritesheet/example/fire.jpg
Binary file not shown.
13 changes: 0 additions & 13 deletions doc/spritesheet/example/fire.sprite

This file was deleted.

1 change: 0 additions & 1 deletion doc/spritesheet/requirements.txt

This file was deleted.

2 changes: 0 additions & 2 deletions doc/spritesheet/setup.bat

This file was deleted.

2 changes: 1 addition & 1 deletion lib/YAWidgets/src/BitmapWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class BitmapWidget : public Widget
};

ImgType m_imgType; /**< Current image type. */
YAGfxDynamicBitmap m_bitmap; /**< Bitmap image which is shown if no sprite sheet is loaded. */
YAGfxDynamicBitmap m_bitmap; /**< Bitmap image. */
GifImgPlayer m_gifPlayer; /**< GIF image player. */

/**
Expand Down

0 comments on commit cb4b882

Please sign in to comment.