Raxol.Core.Accessibility.PreferenceManager (Raxol Core v2.4.0)

Copy Markdown View Source

Preference sync helpers for AccessibilityServer. Handles merging, setting, and syncing preferences to UserPreferences.

Summary

Functions

Notifies ColorSystem.Server when high_contrast preference changes.

Merges option keyword list into the current preferences map.

Syncs all accessibility preferences to the UserPreferences process.

Syncs a single preference key/value to the UserPreferences process.

Functions

maybe_notify_color_system(arg1, value)

Notifies ColorSystem.Server when high_contrast preference changes.

merge(current, options)

Merges option keyword list into the current preferences map.

sync_all(preferences, user_preferences_pid)

Syncs all accessibility preferences to the UserPreferences process.

sync_one(key, value, user_preferences_pid)

Syncs a single preference key/value to the UserPreferences process.