mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
tag: add a refresh_in() interface function
E.g. particles may use this to force a refresh after a certain amount of time. Note that it can only be used with 'realtime' tags.
This commit is contained in:
parent
5008008079
commit
20b3299afd
2 changed files with 25 additions and 0 deletions
2
tag.h
2
tag.h
|
@ -25,6 +25,8 @@ struct tag {
|
|||
long (*min)(const struct tag *tag);
|
||||
long (*max)(const struct tag *tag);
|
||||
enum tag_realtime_unit (*realtime)(const struct tag *tag);
|
||||
|
||||
bool (*refresh_in)(const struct tag *tag, long milli_seconds);
|
||||
};
|
||||
|
||||
struct tag_set {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue