Class CursorScale

Class Documentation

class CursorScale

Allows for the configuration of the cursor’s scale at runtime.

Remark

Since MirAL 5.3

Public Functions

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

Construct registering with a configuration store.

Remark

Since Miral 5.5

explicit CursorScale(float default_scale)
~CursorScale()
void scale(float new_scale) const

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

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