Class OutputFilter

Class Documentation

class OutputFilter

Allows for the configuration of the output filter at runtime.

Remark

Since MirAL 5.3

Public Functions

explicit OutputFilter()
explicit OutputFilter(live_config::Store &config_store)

Constructor registering with a configuration store.

Available options:

  • {output_filter}: Output filter to use [{none,grayscale,invert}],

Remark

Since Miral 5.5

explicit OutputFilter(MirOutputFilter default_filter)
~OutputFilter()
void filter(MirOutputFilter new_filter) const

Applies the new filter. (Either immediately or when the server starts)

void operator()(mir::Server &server) const