[][src]Crate gled

Macros

clone

gtk-rs examples are licensed on MIT License.

Structs

AnimationConfig
Color
Palette
Preset
Renderer
STATE
Size

Enums

AnimationSetting

Functions

add_renderer

Add a new renderer to the current state

add_to_timer

Ask for a Receiver for updates on the current frames per second and render progress. Returns an id and a Receiver

create_state

Create a new/empty state

has_ui_changes

Check whether the current state has changes which are not yet display in the user interface. Saves the current hash, as it assumes it is used to update the user interface.

has_unsaved_changes

Check whether the current state has unsaved changes

init

Initialize the library by spawing timer and artnet threads

load_state

Load state from a file and save its path

path

Get saved path

save_state

Save state at the saved path

save_state_at

Save state at given path

set_has_ui_changes

Triggers a user interface change when asked the next time in has_ui_changes()

set_path

Save path

start_renderers

Start all renderers defined in the currently loaded state